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.000821/0.000821, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007364/0.0007364, allocations: 177.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.832/0.832, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6957/0.6957, allocations: 154.5 MB / 414.5 MB, free: 0.8477 MB / 378.7 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 179] 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.463e-06/1.463e-06, allocations: 0 / 0.6192 GB, free: 12.16 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.606e-05/1.752e-05, allocations: 6.109 kB / 0.6192 GB, free: 12.16 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.001501/0.001518, allocations: 1.476 MB / 0.6207 GB, free: 10.67 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.0004902/0.002008, allocations: 454.8 kB / 0.6211 GB, free: 10.22 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.031e-05/0.002039, allocations: 0 / 0.6211 GB, free: 10.22 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 2.725e-05/0.002066, allocations: 7.922 kB / 0.6211 GB, free: 10.21 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 6.754e-05/0.002134, allocations: 7.938 kB / 0.6211 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001286/0.002262, allocations: 27.91 kB / 0.6211 GB, free: 10.18 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 6.951e-05/0.002332, allocations: 51.84 kB / 0.6212 GB, free: 10.12 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 9.007e-05/0.002422, allocations: 11.98 kB / 0.6212 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 5.514e-05/0.002477, allocations: 27.91 kB / 0.6212 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 5.215e-05/0.002529, allocations: 23.91 kB / 0.6213 GB, free: 10.06 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 2.327e-05/0.002552, allocations: 4 kB / 0.6213 GB, free: 10.06 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 7.504e-06/0.00256, allocations: 4 kB / 0.6213 GB, free: 10.05 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 1.73e-05/0.002577, allocations: 4 kB / 0.6213 GB, free: 10.05 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 3.279e-05/0.00261, allocations: 23.91 kB / 0.6213 GB, free: 10.03 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 9.02e-05/0.0027, allocations: 43.88 kB / 0.6213 GB, free: 9.984 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.002702, allocations: 4 kB / 0.6213 GB, free: 9.98 MB / 0.5417 GB Notification: Performance of FrontEnd: time 6.61e-07/0.002702, allocations: 0 / 0.6213 GB, free: 9.98 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 3.236e-06/0.002706, allocations: 0 / 0.6213 GB, free: 9.98 MB / 0.5417 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.0003596/0.003065, allocations: 286.2 kB / 0.6216 GB, free: 9.672 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.003097, allocations: 9.469 kB / 0.6216 GB, free: 9.664 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.754e-05/0.003125, allocations: 4.938 kB / 0.6216 GB, free: 9.66 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.447e-05/0.003209, allocations: 121.6 kB / 0.6217 GB, free: 9.516 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.00322, allocations: 4.375 kB / 0.6217 GB, free: 9.512 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.069e-05/0.003231, allocations: 4.375 kB / 0.6217 GB, free: 9.508 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.45e-05/0.003316, allocations: 62.23 kB / 0.6218 GB, free: 9.441 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.003323, allocations: 8.125 kB / 0.6218 GB, free: 9.434 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.003333, allocations: 384 / 0.6218 GB, free: 9.434 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.003338, allocations: 3.938 kB / 0.6218 GB, free: 9.43 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.038e-05/0.003388, allocations: 35.86 kB / 0.6219 GB, free: 9.395 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003065/0.003695, allocations: 220.5 kB / 0.6221 GB, free: 9.148 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 8.022e-05/0.003775, allocations: 54.69 kB / 0.6221 GB, free: 9.086 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.069e-05/0.003806, allocations: 28.78 kB / 0.6221 GB, free: 9.055 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 9.678e-06/0.003815, allocations: 4 kB / 0.6221 GB, free: 9.051 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.997e-05/0.003915, allocations: 83.33 kB / 0.6222 GB, free: 8.957 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=9): time 9.72e-07/0.003916, allocations: 0 / 0.6222 GB, free: 8.957 MB / 0.5417 GB Notification: Performance of matching and sorting (n=9): time 0.0001643/0.004081, allocations: 93.62 kB / 0.6223 GB, free: 8.859 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/0.004113, allocations: 59.39 kB / 0.6224 GB, free: 8.789 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.174e-05/0.004164, allocations: 105.8 kB / 0.6225 GB, free: 8.676 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.004177, allocations: 33.7 kB / 0.6225 GB, free: 8.637 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.424e-05/0.004211, allocations: 84.12 kB / 0.6226 GB, free: 8.551 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.125e-05/0.004232, allocations: 27.78 kB / 0.6226 GB, free: 8.523 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.927e-05/0.004261, allocations: 29.7 kB / 0.6226 GB, free: 8.488 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 6.766e-05/0.004329, allocations: 318.8 kB / 0.6229 GB, free: 8.168 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.558e-05/0.004355, allocations: 23.92 kB / 0.623 GB, free: 8.145 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.61e-05/0.004391, allocations: 51.42 kB / 0.623 GB, free: 8.082 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.967e-05/0.00445, allocations: 63.38 kB / 0.6231 GB, free: 8.008 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.004452, allocations: 0 / 0.6231 GB, free: 8.008 MB / 0.5417 GB Notification: Performance of matching and sorting (n=12) (initialization): time 8.509e-05/0.004537, allocations: 97.5 kB / 0.6232 GB, free: 7.906 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 9.598e-06/0.004547, allocations: 4 kB / 0.6232 GB, free: 7.902 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.004552, allocations: 4 kB / 0.6232 GB, free: 7.898 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.989e-06/0.004562, allocations: 0 / 0.6232 GB, free: 7.898 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.414e-05/0.004616, allocations: 8 kB / 0.6232 GB, free: 7.891 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.004623, allocations: 7.922 kB / 0.6232 GB, free: 7.883 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.606e-05/0.004659, allocations: 19.97 kB / 0.6232 GB, free: 7.863 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.004664, allocations: 0 / 0.6232 GB, free: 7.863 MB / 0.5417 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 5.296e-05/0.004717, allocations: 118.8 kB / 0.6233 GB, free: 7.738 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.573e-06/0.004724, allocations: 8.266 kB / 0.6233 GB, free: 7.73 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.209e-05/0.004746, allocations: 16.11 kB / 0.6233 GB, free: 7.707 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.004747, allocations: 0 / 0.6233 GB, free: 7.707 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.004751, allocations: 0 / 0.6233 GB, free: 7.707 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.004754, allocations: 3.938 kB / 0.6233 GB, free: 7.703 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002185/0.004972, allocations: 298.1 kB / 0.6236 GB, free: 7.375 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.004974, allocations: 7.984 kB / 0.6236 GB, free: 7.367 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.322e-05/0.004987, allocations: 7.938 kB / 0.6236 GB, free: 7.359 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.62e-07/0.004988, allocations: 0 / 0.6236 GB, free: 7.359 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.074e-06/0.004995, allocations: 4 kB / 0.6237 GB, free: 7.355 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.004996, allocations: 0 / 0.6237 GB, free: 7.355 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.004997, allocations: 0 / 0.6237 GB, free: 7.355 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.24e-05/0.00509, allocations: 187.4 kB / 0.6238 GB, free: 7.156 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.572e-06/0.005096, allocations: 8.344 kB / 0.6238 GB, free: 7.148 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.808e-06/0.005106, allocations: 4 kB / 0.6238 GB, free: 7.145 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.841e-05/0.005145, allocations: 7.984 kB / 0.6239 GB, free: 7.137 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.541e-05/0.00518, allocations: 11.98 kB / 0.6239 GB, free: 7.125 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.558e-06/0.005185, allocations: 7.984 kB / 0.6239 GB, free: 7.117 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 2.474e-05/0.005209, allocations: 83.28 kB / 0.6239 GB, free: 7.035 MB / 0.5417 GB Notification: Performance of sort global known variables: time 6e-08/0.005209, allocations: 0 / 0.6239 GB, free: 7.035 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001437/0.005353, allocations: 12 kB / 0.624 GB, free: 7.023 MB / 0.5417 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 6.492e-05/0.005418, allocations: 103.2 kB / 0.6241 GB, free: 6.914 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 9.418e-05/0.005512, allocations: 43.92 kB / 0.6241 GB, free: 6.871 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.005514, allocations: 4 kB / 0.6241 GB, free: 6.867 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.333e-05/0.005548, allocations: 23.92 kB / 0.6241 GB, free: 6.844 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001747/0.005722, allocations: 23.19 kB / 0.6241 GB, free: 6.824 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002605/0.005983, allocations: 194.3 kB / 0.6243 GB, free: 6.602 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.126e-05/0.006024, allocations: 71.33 kB / 0.6244 GB, free: 6.512 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.496e-05/0.006049, allocations: 12.5 kB / 0.6244 GB, free: 6.496 MB / 0.5417 GB Notification: Performance of SimCode: time 3.71e-07/0.006049, allocations: 0 / 0.6244 GB, free: 6.496 MB / 0.5417 GB Notification: Performance of Templates: time 0.001466/0.007516, allocations: 0.8836 MB / 0.6253 GB, free: 5.613 MB / 0.5417 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: 5.046530041843653] Failed to read output from testmodel.py, exit status != 0: 0.011933606117963791 0.018898689 0.014668085 Calling exit ...