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.0005612/0.0005612, allocations: 96.38 kB / 19.7 MB, free: 448 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.0006846/0.0006846, allocations: 211.2 kB / 23 MB, free: 2.977 MB / 13.93 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.8304/0.8304, allocations: 230.6 MB / 256.8 MB, free: 9.586 MB / 202.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.7101/0.7101, allocations: 203.8 MB / 0.5049 GB, free: 10.4 MB / 410.7 MB " [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: 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.0008863/0.0008863, allocations: 73.7 kB / 0.7194 GB, free: 3.559 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4197/0.4206, allocations: 102 MB / 0.819 GB, free: 1.336 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.001757/0.4223, allocations: 1.481 MB / 0.8204 GB, free: 324 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005268/0.4229, allocations: 465 kB / 0.8209 GB, free: 12 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.273e-05/0.4229, allocations: 4 kB / 0.8209 GB, free: 8 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.053e-05/0.4229, allocations: 5.109 kB / 0.8209 GB, free: 4 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.114e-05/0.423, allocations: 6.594 kB / 0.8209 GB, free: 0 / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001623/0.4232, allocations: 18.05 kB / 0.8209 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.96e-05/0.4232, allocations: 50.2 kB / 0.8209 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.4234, allocations: 22.72 kB / 0.821 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.028e-05/0.4234, allocations: 24.09 kB / 0.821 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.625e-05/0.4235, allocations: 13.58 kB / 0.821 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.4235, allocations: 3.688 kB / 0.821 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.227e-06/0.4235, allocations: 5.156 kB / 0.821 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.252e-05/0.4235, allocations: 15.81 kB / 0.821 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.804e-05/0.4235, allocations: 26.36 kB / 0.8211 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.754e-05/0.4236, allocations: 39.3 kB / 0.8211 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.4236, allocations: 0 / 0.8211 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.553e-06/0.4236, allocations: 0 / 0.8211 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.4236, allocations: 1.219 kB / 0.8211 GB, free: 15.9 MB / 0.6198 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.0004046/0.4241, allocations: 289.1 kB / 0.8214 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.4241, allocations: 7.312 kB / 0.8214 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.976e-05/0.4241, allocations: 6.047 kB / 0.8214 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.422e-05/0.4242, allocations: 115.5 kB / 0.8215 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.4242, allocations: 7.875 kB / 0.8215 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.512e-05/0.4242, allocations: 6.391 kB / 0.8215 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.376e-05/0.4243, allocations: 66.66 kB / 0.8216 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.4243, allocations: 0 / 0.8216 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.4243, allocations: 1.812 kB / 0.8216 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.4243, allocations: 1.156 kB / 0.8216 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.953e-05/0.4244, allocations: 22.84 kB / 0.8216 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003329/0.4247, allocations: 240 kB / 0.8218 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.476e-05/0.4248, allocations: 50.83 kB / 0.8219 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.315e-05/0.4248, allocations: 27.81 kB / 0.8219 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.326e-06/0.4249, allocations: 0 / 0.8219 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001308/0.425, allocations: 87.73 kB / 0.822 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.022e-06/0.425, allocations: 0 / 0.822 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0001698/0.4252, allocations: 94.92 kB / 0.8221 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.569e-05/0.4252, allocations: 58.86 kB / 0.8221 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.274e-05/0.4253, allocations: 108.3 kB / 0.8222 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/0.4253, allocations: 28.67 kB / 0.8223 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.323e-05/0.4253, allocations: 84.94 kB / 0.8223 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.004e-05/0.4253, allocations: 21.28 kB / 0.8224 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.006e-05/0.4253, allocations: 33.28 kB / 0.8224 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.258e-05/0.4254, allocations: 319.8 kB / 0.8227 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.727e-05/0.4254, allocations: 18.75 kB / 0.8227 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.941e-05/0.4255, allocations: 41.38 kB / 0.8228 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.442e-05/0.4256, allocations: 72.16 kB / 0.8228 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.4256, allocations: 0 / 0.8228 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.901e-05/0.4257, allocations: 104.5 kB / 0.8229 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.4257, allocations: 6.156 kB / 0.8229 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.4257, allocations: 0.875 kB / 0.8229 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.4257, allocations: 5.797 kB / 0.8229 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.743e-05/0.4257, allocations: 10.22 kB / 0.8229 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.4257, allocations: 7.438 kB / 0.823 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.984e-05/0.4258, allocations: 8.656 kB / 0.823 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.4258, allocations: 8.25 kB / 0.823 GB, free: 14.21 MB / 0.6198 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 6.127e-05/0.4259, allocations: 123.7 kB / 0.8231 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.011e-06/0.4259, allocations: 4.625 kB / 0.8231 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.005e-05/0.4259, allocations: 8.766 kB / 0.8231 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.4259, allocations: 0 / 0.8231 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.4259, allocations: 0.5625 kB / 0.8231 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.4259, allocations: 4.797 kB / 0.8231 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002541/0.4261, allocations: 304 kB / 0.8234 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.4261, allocations: 96 / 0.8234 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.57e-05/0.4262, allocations: 6.219 kB / 0.8234 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.4262, allocations: 0.5625 kB / 0.8234 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.697e-06/0.4262, allocations: 8.453 kB / 0.8234 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.4262, allocations: 0 / 0.8234 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4262, allocations: 0 / 0.8234 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001012/0.4263, allocations: 188.2 kB / 0.8236 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.624e-06/0.4263, allocations: 2.156 kB / 0.8236 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.257e-06/0.4263, allocations: 4.797 kB / 0.8236 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.301e-05/0.4263, allocations: 10.62 kB / 0.8236 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.611e-05/0.4264, allocations: 11.14 kB / 0.8236 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-06/0.4264, allocations: 8.031 kB / 0.8236 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.577e-05/0.4264, allocations: 79.47 kB / 0.8237 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.1e-08/0.4264, allocations: 0 / 0.8237 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001466/0.4266, allocations: 16.06 kB / 0.8237 GB, free: 13.55 MB / 0.6198 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.252e-05/0.4266, allocations: 102.9 kB / 0.8238 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001029/0.4267, allocations: 54.95 kB / 0.8239 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.4267, allocations: 0 / 0.8239 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.72e-05/0.4268, allocations: 27.33 kB / 0.8239 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001824/0.4269, allocations: 14.31 kB / 0.8239 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003035/0.4272, allocations: 193.8 kB / 0.8241 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.489e-05/0.4273, allocations: 69.86 kB / 0.8242 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.473e-05/0.4273, allocations: 11.81 kB / 0.8242 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of SimCode: time 3.41e-07/0.4273, allocations: 4.062 kB / 0.8242 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of Templates: time 0.001678/0.429, allocations: 0.8791 MB / 0.825 GB, free: 13.11 MB / 0.6198 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.2346994881518185] Failed to read output from testmodel.py, exit status != 0: 0.4340985519811511 0.443700434 0.018288683 Calling exit ...