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.001665/0.001665, allocations: 88.83 kB / 19.44 MB, free: 352 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.002384/0.002384, allocations: 157.3 kB / 22.75 MB, free: 1.688 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.62/1.62, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 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-545:108: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-545:116: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.319/1.319, allocations: 154.6 MB / 414.1 MB, free: 0.6484 MB / 378.7 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 1.583e-06/1.583e-06, allocations: 0 / 0.5196 GB, free: 2.613 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.442e-05/3.601e-05, allocations: 2.312 kB / 0.5196 GB, free: 2.609 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.003371/0.003407, allocations: 1.471 MB / 0.521 GB, free: 1.145 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001032/0.004439, allocations: 456.6 kB / 0.5214 GB, free: 0.6953 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.054e-05/0.0045, allocations: 4.969 kB / 0.5215 GB, free: 0.6914 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.517e-05/0.004535, allocations: 0 / 0.5215 GB, free: 0.6914 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001118/0.004647, allocations: 8.891 kB / 0.5215 GB, free: 0.6836 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000199/0.004846, allocations: 23.91 kB / 0.5215 GB, free: 0.6602 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001242/0.00497, allocations: 51.84 kB / 0.5215 GB, free: 0.6094 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.005094, allocations: 16.7 kB / 0.5215 GB, free: 0.5938 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001042/0.005198, allocations: 31.97 kB / 0.5216 GB, free: 0.5625 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.9e-05/0.005287, allocations: 12.89 kB / 0.5216 GB, free: 0.5508 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.72e-05/0.005314, allocations: 4 kB / 0.5216 GB, free: 0.5469 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.518e-05/0.005329, allocations: 4 kB / 0.5216 GB, free: 0.543 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.853e-05/0.005368, allocations: 21.72 kB / 0.5216 GB, free: 0.5234 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 5.537e-05/0.005423, allocations: 15.92 kB / 0.5216 GB, free: 0.5078 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001431/0.005566, allocations: 35.94 kB / 0.5217 GB, free: 484 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.005571, allocations: 4 kB / 0.5217 GB, free: 480 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.005573, allocations: 0.5625 kB / 0.5217 GB, free: 480 kB / 490.7 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.00558, allocations: 0 / 0.5217 GB, free: 480 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.0007208/0.0063, allocations: 287.2 kB / 0.5219 GB, free: 164 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/0.006353, allocations: 13.25 kB / 0.522 GB, free: 152 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.065e-05/0.006423, allocations: 8.938 kB / 0.522 GB, free: 144 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001792/0.006603, allocations: 113.7 kB / 0.5221 GB, free: 4 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.00662, allocations: 384 / 0.5221 GB, free: 4 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.774e-05/0.006657, allocations: 9.078 kB / 0.5221 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001581/0.006815, allocations: 67.8 kB / 0.5222 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.006828, allocations: 4.125 kB / 0.5222 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.006839, allocations: 384 / 0.5222 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.006847, allocations: 3.938 kB / 0.5222 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.402e-05/0.006931, allocations: 27.98 kB / 0.5222 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005908/0.007522, allocations: 233.6 kB / 0.5224 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001458/0.007668, allocations: 55.41 kB / 0.5225 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.983e-05/0.007728, allocations: 24.88 kB / 0.5225 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.007746, allocations: 5.219 kB / 0.5225 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002162/0.007962, allocations: 67.39 kB / 0.5226 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=9): time 1.133e-06/0.007963, allocations: 0.7188 kB / 0.5226 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9): time 0.0003274/0.008291, allocations: 105.6 kB / 0.5227 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.498e-05/0.008356, allocations: 55.97 kB / 0.5227 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.008477, allocations: 109.8 kB / 0.5228 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.925e-05/0.008506, allocations: 30.7 kB / 0.5228 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.792e-05/0.008574, allocations: 84.14 kB / 0.5229 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.263e-05/0.008617, allocations: 27.75 kB / 0.5229 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.502e-05/0.008682, allocations: 26.34 kB / 0.523 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001863/0.008868, allocations: 323.6 kB / 0.5233 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.212e-05/0.00891, allocations: 16 kB / 0.5233 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.798e-05/0.008978, allocations: 46.61 kB / 0.5233 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001229/0.009101, allocations: 67.36 kB / 0.5234 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.009103, allocations: 4 kB / 0.5234 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000186/0.009289, allocations: 105.7 kB / 0.5235 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.009304, allocations: 8 kB / 0.5235 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.00931, allocations: 0 / 0.5235 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.16e-05/0.009331, allocations: 7.938 kB / 0.5235 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.841e-05/0.00941, allocations: 8.906 kB / 0.5235 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.009416, allocations: 3.938 kB / 0.5235 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.029e-05/0.009486, allocations: 8.516 kB / 0.5235 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.009497, allocations: 4 kB / 0.5236 GB, free: 14.36 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.0001238/0.009621, allocations: 118.8 kB / 0.5237 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.413e-05/0.009645, allocations: 17.42 kB / 0.5237 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.89e-05/0.009684, allocations: 16.11 kB / 0.5237 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.009686, allocations: 0 / 0.5237 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.009692, allocations: 0 / 0.5237 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.009696, allocations: 0 / 0.5237 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004724/0.01017, allocations: 296.2 kB / 0.524 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.01017, allocations: 0 / 0.524 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.139e-05/0.0102, allocations: 7.984 kB / 0.524 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.01021, allocations: 0 / 0.524 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/0.01022, allocations: 9.5 kB / 0.524 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.01022, allocations: 0 / 0.524 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.01023, allocations: 3.984 kB / 0.524 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002468/0.01047, allocations: 195.4 kB / 0.5242 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.027e-05/0.01048, allocations: 2.75 kB / 0.5242 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.068e-05/0.0105, allocations: 8.062 kB / 0.5242 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.613e-05/0.01059, allocations: 3.984 kB / 0.5242 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.524e-05/0.01066, allocations: 11.98 kB / 0.5242 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.857e-06/0.01067, allocations: 4 kB / 0.5242 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.2e-05/0.01073, allocations: 79.28 kB / 0.5243 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01073, allocations: 0 / 0.5243 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002607/0.01099, allocations: 22.11 kB / 0.5243 GB, free: 13.53 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.0001392/0.01113, allocations: 96.73 kB / 0.5244 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001676/0.01129, allocations: 55.91 kB / 0.5245 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.0113, allocations: 0 / 0.5245 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.699e-05/0.01135, allocations: 20.91 kB / 0.5245 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003042/0.01166, allocations: 20.17 kB / 0.5245 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008203/0.01248, allocations: 176.8 kB / 0.5247 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.353e-05/0.01257, allocations: 74.7 kB / 0.5247 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.138e-05/0.0126, allocations: 4 kB / 0.5247 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.277e-05/0.01265, allocations: 12.5 kB / 0.5248 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of SimCode: time 4.11e-07/0.01265, allocations: 0 / 0.5248 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of Templates: time 0.003958/0.0166, allocations: 0.8048 MB / 0.5255 GB, free: 12.27 MB / 0.4948 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: 6.310817793942988]