Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.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.001791/0.001791, allocations: 80.3 kB / 19.18 MB, free: 2.52 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.002422/0.002422, allocations: 161.4 kB / 22.45 MB, free: 5.375 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.613/1.613, allocations: 177.2 MB / 202.8 MB, free: 9.156 MB / 190.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.244/1.244, allocations: 154.6 MB / 413.7 MB, free: 5.297 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer") translateModel(IDEAS.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.6185 GB, free: 4.684 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.125e-05/3.285e-05, allocations: 6.219 kB / 0.6185 GB, free: 4.676 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.003007/0.003039, allocations: 1.478 MB / 0.6199 GB, free: 3.203 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.000951/0.00399, allocations: 454.8 kB / 0.6204 GB, free: 2.754 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.01e-05/0.004041, allocations: 0.625 kB / 0.6204 GB, free: 2.754 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.88e-05/0.004079, allocations: 3.938 kB / 0.6204 GB, free: 2.75 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.162e-05/0.004161, allocations: 8.922 kB / 0.6204 GB, free: 2.742 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001748/0.004336, allocations: 27.84 kB / 0.6204 GB, free: 2.715 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001158/0.004452, allocations: 53.44 kB / 0.6205 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001554/0.004607, allocations: 11.98 kB / 0.6205 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.832e-05/0.004685, allocations: 23.97 kB / 0.6205 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.289e-05/0.004758, allocations: 19.92 kB / 0.6205 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.196e-05/0.00479, allocations: 11.94 kB / 0.6205 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.273e-05/0.004803, allocations: 4 kB / 0.6205 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.691e-05/0.00483, allocations: 11.97 kB / 0.6205 GB, free: 2.582 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.313e-05/0.004883, allocations: 19.92 kB / 0.6205 GB, free: 2.562 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001274/0.00501, allocations: 43.88 kB / 0.6206 GB, free: 2.52 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.005013, allocations: 0 / 0.6206 GB, free: 2.52 MB / 0.5294 GB Notification: Performance of FrontEnd: time 4.41e-07/0.005014, allocations: 0 / 0.6206 GB, free: 2.52 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.248e-05/0.005026, allocations: 0 / 0.6206 GB, free: 2.52 MB / 0.5294 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.0006358/0.005662, allocations: 286.2 kB / 0.6209 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.005705, allocations: 13.41 kB / 0.6209 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.425e-05/0.00575, allocations: 12.92 kB / 0.6209 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001759/0.005926, allocations: 113.7 kB / 0.621 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.005939, allocations: 4.375 kB / 0.621 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.896e-05/0.005958, allocations: 4.375 kB / 0.621 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.006104, allocations: 62.17 kB / 0.6211 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.006115, allocations: 192 / 0.6211 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.006127, allocations: 384 / 0.6211 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.006135, allocations: 3.938 kB / 0.6211 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.006e-05/0.006205, allocations: 27.98 kB / 0.6211 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005673/0.006772, allocations: 228.5 kB / 0.6213 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001296/0.006902, allocations: 54.59 kB / 0.6214 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.106e-05/0.006953, allocations: 28.84 kB / 0.6214 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 8.987e-06/0.006962, allocations: 0 / 0.6214 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002056/0.007168, allocations: 83.31 kB / 0.6215 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/0.007169, allocations: 0 / 0.6215 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9): time 0.0002631/0.007432, allocations: 97.61 kB / 0.6216 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.091e-05/0.007493, allocations: 55.41 kB / 0.6216 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.007608, allocations: 109.8 kB / 0.6217 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.272e-05/0.00764, allocations: 37.7 kB / 0.6218 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.191e-05/0.007702, allocations: 84.12 kB / 0.6218 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.396e-05/0.007736, allocations: 27.78 kB / 0.6219 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.557e-05/0.007782, allocations: 25.72 kB / 0.6219 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.007947, allocations: 322.8 kB / 0.6222 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.874e-05/0.007986, allocations: 15.98 kB / 0.6222 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.534e-05/0.008051, allocations: 43.44 kB / 0.6223 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001025/0.008153, allocations: 67.36 kB / 0.6223 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.008156, allocations: 0 / 0.6223 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001623/0.008318, allocations: 105.4 kB / 0.6224 GB, free: 460 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.008334, allocations: 8.031 kB / 0.6224 GB, free: 452 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.008344, allocations: 8 kB / 0.6224 GB, free: 444 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.008361, allocations: 0 / 0.6224 GB, free: 444 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.897e-05/0.00845, allocations: 8 kB / 0.6224 GB, free: 436 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/0.008462, allocations: 4 kB / 0.6224 GB, free: 432 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.737e-05/0.008529, allocations: 11.98 kB / 0.6225 GB, free: 420 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.008538, allocations: 3.984 kB / 0.6225 GB, free: 416 kB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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 0.0001117/0.00865, allocations: 122.8 kB / 0.6226 GB, free: 284 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.56e-05/0.008665, allocations: 7.891 kB / 0.6226 GB, free: 276 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.945e-05/0.008715, allocations: 20.11 kB / 0.6226 GB, free: 248 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.185e-06/0.008717, allocations: 0 / 0.6226 GB, free: 248 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.008721, allocations: 0 / 0.6226 GB, free: 248 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.008724, allocations: 0 / 0.6226 GB, free: 248 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004238/0.009148, allocations: 302.4 kB / 0.6229 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.009149, allocations: 96 / 0.6229 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.853e-05/0.009178, allocations: 11.92 kB / 0.6229 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.00918, allocations: 0 / 0.6229 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.009192, allocations: 4 kB / 0.6229 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.009193, allocations: 0 / 0.6229 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.009194, allocations: 0 / 0.6229 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001977/0.009391, allocations: 191.4 kB / 0.6231 GB, free: 15.69 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.526e-05/0.009407, allocations: 8 kB / 0.6231 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.41e-05/0.009421, allocations: 0 / 0.6231 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.308e-05/0.009504, allocations: 7.984 kB / 0.6231 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.871e-05/0.009552, allocations: 11.98 kB / 0.6231 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.009557, allocations: 0 / 0.6231 GB, free: 15.66 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.65e-05/0.009614, allocations: 87.55 kB / 0.6232 GB, free: 15.58 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.009614, allocations: 0 / 0.6232 GB, free: 15.58 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002269/0.009841, allocations: 12 kB / 0.6232 GB, free: 15.57 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * 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.0001886/0.01003, allocations: 109.9 kB / 0.6233 GB, free: 15.45 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001497/0.01018, allocations: 47.91 kB / 0.6234 GB, free: 15.41 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.01018, allocations: 4 kB / 0.6234 GB, free: 15.4 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.353e-05/0.01024, allocations: 19.94 kB / 0.6234 GB, free: 15.38 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002898/0.01053, allocations: 23.31 kB / 0.6234 GB, free: 15.36 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004781/0.011, allocations: 164.7 kB / 0.6236 GB, free: 15.18 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.892e-05/0.01108, allocations: 75.33 kB / 0.6236 GB, free: 15.08 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.917e-05/0.01111, allocations: 11.95 kB / 0.6236 GB, free: 15.07 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.815e-05/0.01115, allocations: 12.5 kB / 0.6237 GB, free: 15.05 MB / 0.545 GB Notification: Performance of SimCode: time 4.01e-07/0.01115, allocations: 288 / 0.6237 GB, free: 15.05 MB / 0.545 GB Notification: Performance of Templates: time 0.003764/0.01491, allocations: 0.794 MB / 0.6244 GB, free: 14.28 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.sim & ./IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.588965557515621] Failed to read output from testmodel.py, exit status != 0: 0.02419586479663849 0.040121463 0.031736577 Calling exit ...