Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001488/0.001488, allocations: 79.86 kB / 19.18 MB, free: 2.527 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.001831/0.001831, allocations: 163.1 kB / 22.46 MB, free: 5.359 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.468/1.468, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.209/1.209, allocations: 154.6 MB / 413.8 MB, free: 5.219 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS.Controls.Continuous.Examples.OffTimer") translateModel(IDEAS.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.375e-06/2.375e-06, allocations: 0 / 0.6185 GB, free: 4.625 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.046e-05/4.283e-05, allocations: 6.922 kB / 0.6185 GB, free: 4.621 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.003814/0.003857, allocations: 1.477 MB / 0.62 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001211/0.005067, allocations: 450.8 kB / 0.6204 GB, free: 2.703 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.582e-05/0.005133, allocations: 4 kB / 0.6204 GB, free: 2.699 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.258e-05/0.005176, allocations: 3.938 kB / 0.6204 GB, free: 2.695 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001155/0.005291, allocations: 11.88 kB / 0.6204 GB, free: 2.684 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002027/0.005494, allocations: 27.89 kB / 0.6205 GB, free: 2.656 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001295/0.005623, allocations: 47.86 kB / 0.6205 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.005759, allocations: 19.97 kB / 0.6205 GB, free: 2.59 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000115/0.005874, allocations: 35.84 kB / 0.6206 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.311e-05/0.005957, allocations: 11.98 kB / 0.6206 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.147e-05/0.005989, allocations: 4 kB / 0.6206 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.581e-05/0.006005, allocations: 4 kB / 0.6206 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.746e-05/0.006042, allocations: 19.91 kB / 0.6206 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.876e-05/0.006091, allocations: 8 kB / 0.6206 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001691/0.00626, allocations: 51.8 kB / 0.6206 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.006264, allocations: 8 kB / 0.6207 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.433e-06/0.006265, allocations: 0 / 0.6207 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.006272, allocations: 0 / 0.6207 GB, free: 2.449 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.0007039/0.006976, allocations: 286.1 kB / 0.6209 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/0.007029, allocations: 12.03 kB / 0.6209 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.24e-05/0.007081, allocations: 0.9375 kB / 0.6209 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001734/0.007254, allocations: 117.6 kB / 0.6211 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.517e-05/0.00729, allocations: 12.36 kB / 0.6211 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.994e-05/0.007309, allocations: 4.375 kB / 0.6211 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001524/0.007462, allocations: 50.25 kB / 0.6211 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.007477, allocations: 8.172 kB / 0.6211 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.904e-05/0.007496, allocations: 4.375 kB / 0.6211 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.285e-05/0.007509, allocations: 7.938 kB / 0.6211 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.036e-05/0.007589, allocations: 31.91 kB / 0.6212 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000594/0.008183, allocations: 224.5 kB / 0.6214 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001555/0.008339, allocations: 54.59 kB / 0.6214 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.48e-05/0.008393, allocations: 24.89 kB / 0.6215 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.008415, allocations: 3.984 kB / 0.6215 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002596/0.008674, allocations: 75.34 kB / 0.6215 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.723e-06/0.008676, allocations: 0 / 0.6215 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9): time 0.0002962/0.008972, allocations: 113.5 kB / 0.6216 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.813e-05/0.00904, allocations: 51.41 kB / 0.6217 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.009164, allocations: 109.8 kB / 0.6218 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.918e-05/0.009193, allocations: 29.7 kB / 0.6218 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.354e-05/0.009277, allocations: 88.12 kB / 0.6219 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.867e-05/0.009315, allocations: 23.8 kB / 0.6219 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.864e-05/0.009374, allocations: 29.7 kB / 0.622 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001833/0.009557, allocations: 318.8 kB / 0.6223 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.41e-05/0.009601, allocations: 23.94 kB / 0.6223 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.896e-05/0.00968, allocations: 43.42 kB / 0.6223 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001086/0.009789, allocations: 67.36 kB / 0.6224 GB, free: 492 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.009791, allocations: 0 / 0.6224 GB, free: 492 kB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001951/0.009986, allocations: 97.52 kB / 0.6225 GB, free: 388 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.01, allocations: 4 kB / 0.6225 GB, free: 384 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.01002, allocations: 3.984 kB / 0.6225 GB, free: 380 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.307e-05/0.01004, allocations: 4 kB / 0.6225 GB, free: 376 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.592e-05/0.01012, allocations: 8 kB / 0.6225 GB, free: 368 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.01013, allocations: 3.938 kB / 0.6225 GB, free: 364 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.367e-05/0.01022, allocations: 16.02 kB / 0.6225 GB, free: 348 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.01023, allocations: 4 kB / 0.6225 GB, free: 344 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.0001244/0.01035, allocations: 116 kB / 0.6226 GB, free: 220 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.362e-05/0.01037, allocations: 11.89 kB / 0.6226 GB, free: 208 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.631e-05/0.01043, allocations: 12.11 kB / 0.6227 GB, free: 192 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.441e-06/0.01044, allocations: 4 kB / 0.6227 GB, free: 188 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.01044, allocations: 0 / 0.6227 GB, free: 188 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.01045, allocations: 0 / 0.6227 GB, free: 188 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005059/0.01095, allocations: 306.1 kB / 0.623 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.695e-06/0.01096, allocations: 8 kB / 0.623 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.509e-05/0.011, allocations: 7.938 kB / 0.623 GB, free: 15.83 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.011, allocations: 3.938 kB / 0.623 GB, free: 15.83 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.01101, allocations: 0 / 0.623 GB, free: 15.83 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.01101, allocations: 480 / 0.623 GB, free: 15.83 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.01101, allocations: 0 / 0.623 GB, free: 15.83 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002387/0.01125, allocations: 195.3 kB / 0.6232 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.005e-05/0.01126, allocations: 0 / 0.6232 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.251e-05/0.01128, allocations: 7.984 kB / 0.6232 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.484e-05/0.01137, allocations: 4 kB / 0.6232 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.868e-05/0.01143, allocations: 11.98 kB / 0.6232 GB, free: 15.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.01143, allocations: 4 kB / 0.6232 GB, free: 15.59 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.835e-05/0.01149, allocations: 83.27 kB / 0.6233 GB, free: 15.51 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.01149, allocations: 0 / 0.6233 GB, free: 15.51 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002598/0.01175, allocations: 16 kB / 0.6233 GB, free: 15.5 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.0001471/0.0119, allocations: 91.25 kB / 0.6234 GB, free: 15.4 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000159/0.01206, allocations: 51.92 kB / 0.6234 GB, free: 15.35 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01206, allocations: 0 / 0.6234 GB, free: 15.35 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.267e-05/0.01212, allocations: 27.92 kB / 0.6234 GB, free: 15.32 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003173/0.01244, allocations: 19.98 kB / 0.6235 GB, free: 15.3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004847/0.01292, allocations: 160.7 kB / 0.6236 GB, free: 15.12 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.578e-05/0.013, allocations: 67.34 kB / 0.6237 GB, free: 15.03 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.043e-05/0.01303, allocations: 11.92 kB / 0.6237 GB, free: 15.02 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.197e-05/0.01307, allocations: 12.5 kB / 0.6237 GB, free: 15 MB / 0.545 GB Notification: Performance of SimCode: time 4.51e-07/0.01307, allocations: 0 / 0.6237 GB, free: 15 MB / 0.545 GB Notification: Performance of Templates: time 0.004153/0.01723, allocations: 0.8185 MB / 0.6245 GB, free: 14.21 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.sim & ./IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.879024386405945] Failed to read output from testmodel.py, exit status != 0: 0.027679886668920517 0.044946143 0.034935967000000005 Calling exit ...