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.001926/0.001926, allocations: 89.48 kB / 19.44 MB, free: 332 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.002037/0.002037, allocations: 169.2 kB / 22.76 MB, free: 1.66 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 1.636/1.636, allocations: 177.1 MB / 203.1 MB, free: 5.625 MB / 186.7 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-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 1.29/1.29, allocations: 154.8 MB / 414.4 MB, free: 472 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 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 2.134e-06/2.134e-06, allocations: 1.094 kB / 0.5198 GB, free: 2.348 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.44e-05/3.653e-05, allocations: 3.156 kB / 0.5198 GB, free: 2.344 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.003191/0.003228, allocations: 1.497 MB / 0.5213 GB, free: 0.8555 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009582/0.004186, allocations: 454.5 kB / 0.5217 GB, free: 420 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.385e-05/0.00423, allocations: 4 kB / 0.5217 GB, free: 416 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.91e-05/0.004259, allocations: 3.984 kB / 0.5217 GB, free: 412 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000117/0.004376, allocations: 15.86 kB / 0.5217 GB, free: 396 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001617/0.004538, allocations: 17.33 kB / 0.5217 GB, free: 380 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001058/0.004644, allocations: 55.83 kB / 0.5218 GB, free: 324 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.004761, allocations: 15.92 kB / 0.5218 GB, free: 308 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.12e-05/0.004843, allocations: 30.52 kB / 0.5218 GB, free: 280 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.567e-05/0.004918, allocations: 19.95 kB / 0.5219 GB, free: 260 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.671e-05/0.004945, allocations: 4 kB / 0.5219 GB, free: 256 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.434e-05/0.004959, allocations: 4 kB / 0.5219 GB, free: 252 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.523e-05/0.004985, allocations: 11.94 kB / 0.5219 GB, free: 240 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.385e-05/0.005028, allocations: 11.98 kB / 0.5219 GB, free: 228 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001236/0.005152, allocations: 47.86 kB / 0.5219 GB, free: 180 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.005155, allocations: 4.562 kB / 0.5219 GB, free: 176 kB / 490.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.005155, allocations: 0 / 0.5219 GB, free: 176 kB / 490.7 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.005161, allocations: 0.5 kB / 0.5219 GB, free: 176 kB / 490.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.0006664/0.005827, allocations: 385.1 kB / 0.5223 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.005874, allocations: 12.03 kB / 0.5223 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.979e-05/0.005924, allocations: 6.469 kB / 0.5223 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000168/0.006092, allocations: 120.6 kB / 0.5224 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.006108, allocations: 384 / 0.5224 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.541e-05/0.006123, allocations: 4.375 kB / 0.5224 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.00627, allocations: 59.12 kB / 0.5225 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.006281, allocations: 192 / 0.5225 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/0.006298, allocations: 8.359 kB / 0.5225 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/0.006307, allocations: 9.344 kB / 0.5225 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.31e-05/0.00638, allocations: 19.98 kB / 0.5225 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005847/0.006965, allocations: 296.8 kB / 0.5228 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001584/0.007123, allocations: 71.02 kB / 0.5229 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.472e-05/0.007188, allocations: 28.41 kB / 0.5229 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/0.007204, allocations: 0 / 0.5229 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001739/0.007378, allocations: 82.31 kB / 0.523 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=9): time 1.082e-06/0.007379, allocations: 0 / 0.523 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9): time 0.0002956/0.007675, allocations: 101.6 kB / 0.5231 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.495e-05/0.00774, allocations: 60.41 kB / 0.5231 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001631/0.007903, allocations: 173.9 kB / 0.5233 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.7e-05/0.00794, allocations: 29.7 kB / 0.5233 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.008054, allocations: 131.4 kB / 0.5235 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.21e-05/0.008106, allocations: 21.77 kB / 0.5235 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.821e-05/0.008174, allocations: 39.36 kB / 0.5235 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002582/0.008433, allocations: 496.1 kB / 0.524 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.809e-05/0.008481, allocations: 23.98 kB / 0.524 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.253e-05/0.008553, allocations: 57.14 kB / 0.5241 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001126/0.008666, allocations: 80.2 kB / 0.5242 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.008668, allocations: 0 / 0.5242 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001717/0.00884, allocations: 109.7 kB / 0.5243 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.008857, allocations: 9.5 kB / 0.5243 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.008863, allocations: 3.938 kB / 0.5243 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.008878, allocations: 0 / 0.5243 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.266e-05/0.008971, allocations: 15.98 kB / 0.5243 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.008979, allocations: 4.5 kB / 0.5243 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.688e-05/0.009036, allocations: 1.031 kB / 0.5243 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.009045, allocations: 8 kB / 0.5243 GB, free: 13.54 MB / 0.4948 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.0001355/0.00918, allocations: 173.6 kB / 0.5245 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.009e-05/0.0092, allocations: 11.89 kB / 0.5245 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.137e-05/0.009232, allocations: 8.125 kB / 0.5245 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.009234, allocations: 4.531 kB / 0.5245 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.009238, allocations: 0 / 0.5245 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.009243, allocations: 4.5 kB / 0.5245 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004283/0.009672, allocations: 359.5 kB / 0.5248 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.009673, allocations: 0 / 0.5248 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.702e-05/0.0097, allocations: 4 kB / 0.5248 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.009704, allocations: 3.984 kB / 0.5248 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.216e-06/0.009712, allocations: 0 / 0.5248 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.009714, allocations: 4 kB / 0.5248 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.009715, allocations: 2.438 kB / 0.5248 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002448/0.00996, allocations: 244.2 kB / 0.5251 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.084e-05/0.00997, allocations: 4 kB / 0.5251 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.009985, allocations: 0 / 0.5251 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.301e-05/0.01006, allocations: 8 kB / 0.5251 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.505e-05/0.01011, allocations: 7.984 kB / 0.5251 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.621e-06/0.01012, allocations: 2.031 kB / 0.5251 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.503e-05/0.01019, allocations: 131.2 kB / 0.5252 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01019, allocations: 0 / 0.5252 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002173/0.01041, allocations: 15.95 kB / 0.5252 GB, free: 12.51 MB / 0.4948 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.0001337/0.01054, allocations: 104.2 kB / 0.5253 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001662/0.01071, allocations: 63.69 kB / 0.5254 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.01071, allocations: 0 / 0.5254 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.412e-05/0.01079, allocations: 40.55 kB / 0.5254 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002822/0.01107, allocations: 13.02 kB / 0.5255 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004447/0.01151, allocations: 177.8 kB / 0.5256 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.631e-05/0.0116, allocations: 67.34 kB / 0.5257 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.963e-05/0.01163, allocations: 7.984 kB / 0.5257 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.764e-05/0.01167, allocations: 12.5 kB / 0.5257 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of SimCode: time 6.31e-07/0.01167, allocations: 0 / 0.5257 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of Templates: time 0.004219/0.01589, allocations: 0.8121 MB / 0.5265 GB, free: 11.2 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.366089735995047]