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.001094/0.001094, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0009568/0.0009568, allocations: 173 kB / 23.02 MB, free: 1.551 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.9651/0.9651, allocations: 177.1 MB / 203.4 MB, free: 5.633 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-535:34: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-535:42: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.8364/0.8364, allocations: 154.9 MB / 414.8 MB, free: 436 kB / 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.533e-06/1.533e-06, allocations: 0 / 0.5206 GB, free: 0.7773 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.347e-05/2.501e-05, allocations: 7.859 kB / 0.5206 GB, free: 0.7695 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.002724/0.002749, allocations: 1.512 MB / 0.5221 GB, free: 15.27 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008887/0.003638, allocations: 472.6 kB / 0.5226 GB, free: 14.81 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.439e-05/0.003682, allocations: 1.031 kB / 0.5226 GB, free: 14.81 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 3.756e-05/0.00372, allocations: 7.922 kB / 0.5226 GB, free: 14.8 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 8.494e-05/0.003805, allocations: 9.094 kB / 0.5226 GB, free: 14.79 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001619/0.003967, allocations: 23.97 kB / 0.5226 GB, free: 14.77 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 9.541e-05/0.004062, allocations: 51.84 kB / 0.5227 GB, free: 14.72 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.004171, allocations: 11.98 kB / 0.5227 GB, free: 14.71 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.942e-05/0.00425, allocations: 32.47 kB / 0.5227 GB, free: 14.68 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.858e-05/0.004329, allocations: 21.59 kB / 0.5227 GB, free: 14.66 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.582e-05/0.004355, allocations: 4 kB / 0.5227 GB, free: 14.65 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.234e-05/0.004367, allocations: 4 kB / 0.5227 GB, free: 14.65 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 2.195e-05/0.004389, allocations: 7.938 kB / 0.5227 GB, free: 14.64 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 4.539e-05/0.004435, allocations: 19.97 kB / 0.5227 GB, free: 14.62 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000114/0.004549, allocations: 32.97 kB / 0.5228 GB, free: 14.59 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.004551, allocations: 0 / 0.5228 GB, free: 14.59 MB / 458.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.004552, allocations: 0 / 0.5228 GB, free: 14.59 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.004556, allocations: 0.8125 kB / 0.5228 GB, free: 14.59 MB / 458.7 MB 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.0005136/0.00507, allocations: 389.8 kB / 0.5232 GB, free: 14.18 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.005115, allocations: 8.031 kB / 0.5232 GB, free: 14.17 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.036e-05/0.005165, allocations: 4.938 kB / 0.5232 GB, free: 14.16 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.005293, allocations: 117.2 kB / 0.5233 GB, free: 14.02 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.005311, allocations: 8.375 kB / 0.5233 GB, free: 14.02 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.506e-05/0.005326, allocations: 8.984 kB / 0.5233 GB, free: 14.01 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001099/0.005436, allocations: 50.19 kB / 0.5233 GB, free: 13.95 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.005447, allocations: 5.141 kB / 0.5233 GB, free: 13.95 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.005462, allocations: 4.375 kB / 0.5234 GB, free: 13.95 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.005473, allocations: 4.438 kB / 0.5234 GB, free: 13.94 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.998e-05/0.005523, allocations: 19.92 kB / 0.5234 GB, free: 13.92 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005137/0.006036, allocations: 285.1 kB / 0.5236 GB, free: 13.61 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000123/0.006159, allocations: 54.98 kB / 0.5237 GB, free: 13.54 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.335e-05/0.006213, allocations: 34.89 kB / 0.5237 GB, free: 13.51 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.055e-05/0.006223, allocations: 0 / 0.5237 GB, free: 13.51 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001779/0.006401, allocations: 73 kB / 0.5238 GB, free: 13.42 MB / 458.7 MB Notification: Performance of pre-optimization done (n=9): time 2.154e-06/0.006403, allocations: 0 / 0.5238 GB, free: 13.42 MB / 458.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002731/0.006676, allocations: 89.61 kB / 0.5239 GB, free: 13.33 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.968e-05/0.006736, allocations: 59.41 kB / 0.5239 GB, free: 13.26 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.006857, allocations: 165.9 kB / 0.5241 GB, free: 13.08 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/0.00688, allocations: 30.64 kB / 0.5241 GB, free: 13.04 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.006999, allocations: 134.9 kB / 0.5243 GB, free: 12.91 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.312e-05/0.007032, allocations: 23.8 kB / 0.5243 GB, free: 12.88 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.314e-05/0.007085, allocations: 35.86 kB / 0.5243 GB, free: 12.84 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.00724, allocations: 496.6 kB / 0.5248 GB, free: 12.34 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.298e-05/0.007273, allocations: 19.92 kB / 0.5248 GB, free: 12.32 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.281e-05/0.007326, allocations: 51.39 kB / 0.5249 GB, free: 12.26 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.861e-05/0.007415, allocations: 68.28 kB / 0.5249 GB, free: 12.18 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.007419, allocations: 4 kB / 0.5249 GB, free: 12.18 MB / 458.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001488/0.007567, allocations: 93.5 kB / 0.525 GB, free: 12.08 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.007584, allocations: 6.5 kB / 0.525 GB, free: 12.07 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.007591, allocations: 0.9688 kB / 0.525 GB, free: 12.07 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.007609, allocations: 4 kB / 0.525 GB, free: 12.07 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.678e-05/0.007706, allocations: 18.02 kB / 0.525 GB, free: 12.05 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.007713, allocations: 4 kB / 0.525 GB, free: 12.05 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.859e-05/0.007761, allocations: 8 kB / 0.5251 GB, free: 12.04 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.387e-05/0.007845, allocations: 4 kB / 0.5251 GB, free: 12.04 MB / 458.7 MB 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 9.216e-05/0.007937, allocations: 160.9 kB / 0.5252 GB, free: 11.87 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.932e-05/0.007957, allocations: 16.62 kB / 0.5252 GB, free: 11.86 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.019e-05/0.007987, allocations: 12.11 kB / 0.5252 GB, free: 11.84 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.00799, allocations: 4.656 kB / 0.5252 GB, free: 11.84 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.007996, allocations: 4 kB / 0.5252 GB, free: 11.84 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.008, allocations: 0.5 kB / 0.5252 GB, free: 11.84 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003405/0.00834, allocations: 346 kB / 0.5256 GB, free: 11.46 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.008343, allocations: 0 / 0.5256 GB, free: 11.46 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.177e-05/0.008364, allocations: 9.375 kB / 0.5256 GB, free: 11.45 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.008367, allocations: 0 / 0.5256 GB, free: 11.45 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.188e-06/0.008377, allocations: 4 kB / 0.5256 GB, free: 11.45 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.008379, allocations: 0 / 0.5256 GB, free: 11.45 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.00838, allocations: 1.5 kB / 0.5256 GB, free: 11.45 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001667/0.008547, allocations: 235.8 kB / 0.5258 GB, free: 11.2 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.506e-06/0.008555, allocations: 4.062 kB / 0.5258 GB, free: 11.19 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.923e-05/0.008574, allocations: 11.98 kB / 0.5258 GB, free: 11.18 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.654e-05/0.008631, allocations: 2.75 kB / 0.5258 GB, free: 11.18 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.851e-05/0.008679, allocations: 7.984 kB / 0.5258 GB, free: 11.17 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.00869, allocations: 8 kB / 0.5259 GB, free: 11.16 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.469e-05/0.008734, allocations: 123.2 kB / 0.526 GB, free: 11.04 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008735, allocations: 0 / 0.526 GB, free: 11.04 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002525/0.008987, allocations: 11.98 kB / 0.526 GB, free: 11.03 MB / 458.7 MB 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 9.427e-05/0.009081, allocations: 103.7 kB / 0.5261 GB, free: 10.93 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001504/0.009232, allocations: 51.59 kB / 0.5261 GB, free: 10.87 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.009234, allocations: 0 / 0.5261 GB, free: 10.87 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 5.235e-05/0.009286, allocations: 31.62 kB / 0.5262 GB, free: 10.84 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002835/0.00957, allocations: 13.58 kB / 0.5262 GB, free: 10.82 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000377/0.009947, allocations: 154.9 kB / 0.5263 GB, free: 10.64 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.626e-05/0.01, allocations: 63.86 kB / 0.5264 GB, free: 10.56 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.996e-05/0.01003, allocations: 8.641 kB / 0.5264 GB, free: 10.55 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.832e-05/0.01007, allocations: 16.44 kB / 0.5264 GB, free: 10.54 MB / 458.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01007, allocations: 7.375 kB / 0.5264 GB, free: 10.53 MB / 458.7 MB Notification: Performance of Templates: time 0.00326/0.01333, allocations: 0.8672 MB / 0.5273 GB, free: 9.715 MB / 458.7 MB " [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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7863490278832614]