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.0009404/0.0009404, allocations: 93.06 kB / 19.65 MB, free: 276 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.0009749/0.0009749, allocations: 165 kB / 23.02 MB, free: 1.547 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.9689/0.9689, allocations: 177.1 MB / 203.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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 0.787/0.787, allocations: 154.6 MB / 414.5 MB, free: 0.6641 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 179] 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.733e-06/1.733e-06, allocations: 0 / 0.5203 GB, free: 2.266 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.712e-05/2.885e-05, allocations: 4.766 kB / 0.5203 GB, free: 2.262 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.002733/0.002762, allocations: 1.507 MB / 0.5217 GB, free: 0.7617 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007987/0.003561, allocations: 466.6 kB / 0.5222 GB, free: 312 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.908e-05/0.0036, allocations: 0 / 0.5222 GB, free: 312 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.111e-05/0.003631, allocations: 7.938 kB / 0.5222 GB, free: 304 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.48e-05/0.003716, allocations: 8.438 kB / 0.5222 GB, free: 296 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001725/0.003888, allocations: 23.86 kB / 0.5222 GB, free: 272 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.659e-05/0.003965, allocations: 52.36 kB / 0.5223 GB, free: 220 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.468e-05/0.004059, allocations: 12.7 kB / 0.5223 GB, free: 208 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.317e-05/0.004122, allocations: 31.92 kB / 0.5223 GB, free: 176 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.735e-05/0.00418, allocations: 16.52 kB / 0.5223 GB, free: 160 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.929e-05/0.004199, allocations: 4 kB / 0.5223 GB, free: 156 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.039e-05/0.004209, allocations: 5.438 kB / 0.5224 GB, free: 152 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.23e-05/0.004232, allocations: 15.92 kB / 0.5224 GB, free: 136 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.458e-05/0.004266, allocations: 8 kB / 0.5224 GB, free: 128 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 9.862e-05/0.004365, allocations: 35.89 kB / 0.5224 GB, free: 92 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.004367, allocations: 0.7812 kB / 0.5224 GB, free: 92 kB / 490.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.004368, allocations: 0 / 0.5224 GB, free: 92 kB / 490.7 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.004373, allocations: 4.859 kB / 0.5224 GB, free: 88 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.0004419/0.004815, allocations: 387.5 kB / 0.5228 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.004856, allocations: 12.03 kB / 0.5228 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.079e-05/0.004897, allocations: 8.891 kB / 0.5228 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.795e-05/0.004995, allocations: 112.6 kB / 0.5229 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.005008, allocations: 8.359 kB / 0.5229 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.474e-05/0.005023, allocations: 4.375 kB / 0.5229 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002092/0.005232, allocations: 46.25 kB / 0.523 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.005242, allocations: 192 / 0.523 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.005252, allocations: 0.9062 kB / 0.523 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.637e-06/0.00526, allocations: 7.938 kB / 0.523 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.61e-05/0.005306, allocations: 25.09 kB / 0.523 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000368/0.005674, allocations: 288.6 kB / 0.5233 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.852e-05/0.005763, allocations: 59.08 kB / 0.5233 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.002e-05/0.005803, allocations: 23.64 kB / 0.5234 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.486e-06/0.005811, allocations: 4.938 kB / 0.5234 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001142/0.005926, allocations: 77.09 kB / 0.5234 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=9): time 1.683e-06/0.005927, allocations: 4.656 kB / 0.5234 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9): time 0.0001989/0.006126, allocations: 86.5 kB / 0.5235 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.824e-05/0.006164, allocations: 59.39 kB / 0.5236 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.049e-05/0.006245, allocations: 173.8 kB / 0.5237 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.00626, allocations: 30.92 kB / 0.5238 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.801e-05/0.006308, allocations: 130.9 kB / 0.5239 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.407e-05/0.006333, allocations: 19.86 kB / 0.5239 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.235e-05/0.006375, allocations: 35.98 kB / 0.5239 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.006494, allocations: 0.4884 MB / 0.5244 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.873e-05/0.006523, allocations: 13.8 kB / 0.5244 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.007e-05/0.006573, allocations: 54.12 kB / 0.5245 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.908e-05/0.006652, allocations: 66.69 kB / 0.5246 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.006654, allocations: 0 / 0.5246 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001428/0.006797, allocations: 94.91 kB / 0.5246 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.006814, allocations: 5.875 kB / 0.5246 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.006821, allocations: 4 kB / 0.5247 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.006837, allocations: 0.5938 kB / 0.5247 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.365e-05/0.006931, allocations: 23.02 kB / 0.5247 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.006938, allocations: 0 / 0.5247 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.047e-05/0.006989, allocations: 7.938 kB / 0.5247 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.709e-06/0.006998, allocations: 8 kB / 0.5247 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 9.108e-05/0.007089, allocations: 160.6 kB / 0.5248 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.136e-05/0.007111, allocations: 15.88 kB / 0.5249 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.234e-05/0.007143, allocations: 12.12 kB / 0.5249 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.007146, allocations: 0 / 0.5249 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.00715, allocations: 3.125 kB / 0.5249 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.007154, allocations: 0 / 0.5249 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003487/0.007502, allocations: 345.3 kB / 0.5252 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.007505, allocations: 0 / 0.5252 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.551e-05/0.00753, allocations: 7.938 kB / 0.5252 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.007533, allocations: 0 / 0.5252 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.007545, allocations: 8.047 kB / 0.5252 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.007547, allocations: 4 kB / 0.5252 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.007549, allocations: 1.812 kB / 0.5252 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001786/0.007727, allocations: 231.8 kB / 0.5254 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.611e-05/0.007743, allocations: 11.94 kB / 0.5255 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/0.007756, allocations: 0 / 0.5255 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.815e-05/0.007824, allocations: 8 kB / 0.5255 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.566e-05/0.00787, allocations: 5.766 kB / 0.5255 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.007878, allocations: 4 kB / 0.5255 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.224e-05/0.00793, allocations: 135.4 kB / 0.5256 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.00793, allocations: 0 / 0.5256 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002759/0.008206, allocations: 12 kB / 0.5256 GB, free: 12.52 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 9.68e-05/0.008303, allocations: 99.97 kB / 0.5257 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001393/0.008442, allocations: 55.53 kB / 0.5258 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.008444, allocations: 0 / 0.5258 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.832e-05/0.008492, allocations: 23.69 kB / 0.5258 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003075/0.0088, allocations: 21.78 kB / 0.5258 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003688/0.009169, allocations: 173.9 kB / 0.526 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.313e-05/0.009212, allocations: 55.36 kB / 0.526 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.997e-05/0.009242, allocations: 11.58 kB / 0.526 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.554e-05/0.009277, allocations: 14.91 kB / 0.526 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of SimCode: time 6.81e-07/0.009278, allocations: 0 / 0.526 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of Templates: time 0.002971/0.01225, allocations: 0.8035 MB / 0.5268 GB, free: 11.26 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=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9293639762327075]