Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 110.4 kB / 18.94 MB, free: 2.793 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001556/0.001556, allocations: 220.7 kB / 22.25 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.525/1.525, allocations: 230.6 MB / 256 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.265/1.265, allocations: 203.8 MB / 0.5041 GB, free: 4.949 MB / 414.1 MB " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") translateModel(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002176/0.002176, allocations: 63.91 kB / 0.7187 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6078/0.61, allocations: 102 MB / 0.8183 GB, free: 29.2 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.002507/0.6125, allocations: 0.7552 MB / 0.819 GB, free: 28.73 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.002118/0.6146, allocations: 1.206 MB / 0.8202 GB, free: 27.85 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.154e-05/0.6147, allocations: 1.406 kB / 0.8202 GB, free: 27.85 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 4.85e-05/0.6147, allocations: 4.688 kB / 0.8202 GB, free: 27.85 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0001147/0.6148, allocations: 23.73 kB / 0.8203 GB, free: 27.83 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006664/0.6155, allocations: 143.3 kB / 0.8204 GB, free: 27.76 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.000253/0.6158, allocations: 122.5 kB / 0.8205 GB, free: 27.71 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001351/0.6159, allocations: 21.98 kB / 0.8205 GB, free: 27.69 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001361/0.616, allocations: 48.86 kB / 0.8206 GB, free: 27.67 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001262/0.6162, allocations: 52.3 kB / 0.8206 GB, free: 27.65 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 3.648e-05/0.6162, allocations: 14.86 kB / 0.8206 GB, free: 27.64 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 9.729e-05/0.6163, allocations: 27.86 kB / 0.8207 GB, free: 27.64 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 2.833e-05/0.6163, allocations: 14.25 kB / 0.8207 GB, free: 27.63 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 8.791e-05/0.6164, allocations: 44.5 kB / 0.8207 GB, free: 27.61 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.000268/0.6167, allocations: 129.7 kB / 0.8208 GB, free: 27.57 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.585e-06/0.6167, allocations: 0.7188 kB / 0.8208 GB, free: 27.57 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.054e-06/0.6167, allocations: 1.062 kB / 0.8208 GB, free: 27.57 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.935e-06/0.6167, allocations: 1.344 kB / 0.8208 GB, free: 27.57 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006599/0.6174, allocations: 351.7 kB / 0.8212 GB, free: 27.24 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.6174, allocations: 10.94 kB / 0.8212 GB, free: 27.24 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001327/0.6175, allocations: 17.39 kB / 0.8212 GB, free: 27.23 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.6176, allocations: 112.3 kB / 0.8213 GB, free: 27.11 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.454e-05/0.6177, allocations: 5.656 kB / 0.8213 GB, free: 27.11 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.525e-05/0.6177, allocations: 12.28 kB / 0.8213 GB, free: 27.1 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002424/0.6179, allocations: 73.17 kB / 0.8214 GB, free: 27.06 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.618, allocations: 8.812 kB / 0.8214 GB, free: 27.05 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.618, allocations: 5.25 kB / 0.8214 GB, free: 27.05 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.618, allocations: 1.844 kB / 0.8214 GB, free: 27.05 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002043/0.6182, allocations: 46.86 kB / 0.8215 GB, free: 27.04 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005177/0.6187, allocations: 313.4 kB / 0.8218 GB, free: 26.77 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001839/0.6189, allocations: 67.56 kB / 0.8218 GB, free: 26.73 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.619, allocations: 30.2 kB / 0.8219 GB, free: 26.71 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.311e-05/0.619, allocations: 0 / 0.8219 GB, free: 26.71 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002461/0.6193, allocations: 96.55 kB / 0.8219 GB, free: 26.65 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=8): time 1.313e-06/0.6193, allocations: 0.625 kB / 0.822 GB, free: 26.65 MB / 0.6387 GB Notification: Performance of matching and sorting (n=8): time 0.0005099/0.6198, allocations: 146 kB / 0.8221 GB, free: 26.59 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.364e-05/0.6198, allocations: 54.14 kB / 0.8221 GB, free: 26.53 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.577e-05/0.6199, allocations: 121.4 kB / 0.8223 GB, free: 26.42 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.345e-05/0.6199, allocations: 36.34 kB / 0.8223 GB, free: 26.39 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 4.707e-05/0.62, allocations: 93.25 kB / 0.8224 GB, free: 26.3 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.15e-05/0.62, allocations: 20.42 kB / 0.8224 GB, free: 26.28 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.849e-05/0.6201, allocations: 38.84 kB / 0.8224 GB, free: 26.26 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 5.4e-05/0.6201, allocations: 323.5 kB / 0.8227 GB, free: 25.94 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000179/0.6203, allocations: 52.86 kB / 0.8228 GB, free: 25.93 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001692/0.6205, allocations: 88.64 kB / 0.8229 GB, free: 25.86 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002528/0.6207, allocations: 151.7 kB / 0.823 GB, free: 25.75 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.6207, allocations: 4.562 kB / 0.823 GB, free: 25.75 MB / 0.6387 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004173/0.6211, allocations: 216.3 kB / 0.8232 GB, free: 25.64 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.745e-05/0.6212, allocations: 39.97 kB / 0.8233 GB, free: 25.61 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.6212, allocations: 1.719 kB / 0.8233 GB, free: 25.61 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.6212, allocations: 1.469 kB / 0.8233 GB, free: 25.61 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.6213, allocations: 14.52 kB / 0.8233 GB, free: 25.61 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.6213, allocations: 2.438 kB / 0.8233 GB, free: 25.61 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002086/0.6215, allocations: 42.88 kB / 0.8233 GB, free: 25.59 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.324e-05/0.6216, allocations: 8.484 kB / 0.8233 GB, free: 25.59 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (triSam1.y,$PRE.triSam1.y,triSam.y,$PRE.triSam.y,booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.993e-05/0.6216, allocations: 132.1 kB / 0.8235 GB, free: 25.46 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.514e-05/0.6216, allocations: 4.484 kB / 0.8235 GB, free: 25.46 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000296/0.6219, allocations: 122.5 kB / 0.8236 GB, free: 25.41 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.6219, allocations: 1.344 kB / 0.8236 GB, free: 25.41 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.6219, allocations: 0.6094 kB / 0.8236 GB, free: 25.41 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.622, allocations: 4.453 kB / 0.8236 GB, free: 25.4 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003667/0.6223, allocations: 355.3 kB / 0.8239 GB, free: 25.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.6223, allocations: 4 kB / 0.8239 GB, free: 25.09 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.983e-05/0.6224, allocations: 10.02 kB / 0.8239 GB, free: 25.09 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.6224, allocations: 0.9375 kB / 0.8239 GB, free: 25.09 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.938e-06/0.6224, allocations: 5.859 kB / 0.824 GB, free: 25.09 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.6224, allocations: 0 / 0.824 GB, free: 25.09 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.6224, allocations: 5.625 kB / 0.824 GB, free: 25.09 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002816/0.6227, allocations: 209 kB / 0.8242 GB, free: 24.93 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.18e-05/0.6227, allocations: 12.08 kB / 0.8242 GB, free: 24.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.896e-05/0.6227, allocations: 2.75 kB / 0.8242 GB, free: 24.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.677e-05/0.6228, allocations: 13.42 kB / 0.8242 GB, free: 24.92 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.875e-05/0.6229, allocations: 10.47 kB / 0.8242 GB, free: 24.91 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.628e-06/0.6229, allocations: 3.172 kB / 0.8242 GB, free: 24.91 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 4.798e-05/0.6229, allocations: 90.25 kB / 0.8243 GB, free: 24.84 MB / 0.6387 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6229, allocations: 0 / 0.8243 GB, free: 24.84 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002764/0.6232, allocations: 29.59 kB / 0.8243 GB, free: 24.83 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triSam.y,triSam1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001117/0.6233, allocations: 102.4 kB / 0.8244 GB, free: 24.74 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0003746/0.6237, allocations: 176.2 kB / 0.8246 GB, free: 24.64 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.6237, allocations: 0 / 0.8246 GB, free: 24.64 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001253/0.6238, allocations: 41.3 kB / 0.8246 GB, free: 24.62 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002811/0.6241, allocations: 12.14 kB / 0.8246 GB, free: 24.62 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003645/0.6245, allocations: 191.1 kB / 0.8248 GB, free: 24.46 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001195/0.6246, allocations: 0.6896 MB / 0.8255 GB, free: 23.77 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 3.143e-05/0.6246, allocations: 9.047 kB / 0.8255 GB, free: 23.77 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.76e-05/0.6246, allocations: 11.72 kB / 0.8255 GB, free: 23.76 MB / 0.6387 GB Notification: Performance of SimCode: time 3.2e-07/0.6246, allocations: 0 / 0.8255 GB, free: 23.76 MB / 0.6387 GB Notification: Performance of Templates: time 0.00483/0.6295, allocations: 1.466 MB / 0.8269 GB, free: 23.62 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.772223480045795] Failed to read output from testmodel.py, exit status != 0: 0.6383911371231079 0.6508422070000001 0.031429651 Calling exit ...