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.002678/0.002678, allocations: 85.48 kB / 19.44 MB, free: 340 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.003179/0.003179, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.731/1.731, allocations: 177.1 MB / 203.1 MB, free: 5.578 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.391/1.391, allocations: 154.6 MB / 414.1 MB, free: 0.6367 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 2.184e-06/2.184e-06, allocations: 0 / 0.5196 GB, free: 2.613 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.23e-05/4.448e-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.003227/0.003272, allocations: 1.488 MB / 0.521 GB, free: 1.133 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00114/0.004412, allocations: 464.7 kB / 0.5215 GB, free: 0.6758 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.323e-05/0.004475, allocations: 0 / 0.5215 GB, free: 0.6758 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.039e-05/0.004516, allocations: 8.953 kB / 0.5215 GB, free: 0.668 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001342/0.00465, allocations: 3.938 kB / 0.5215 GB, free: 0.6641 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002341/0.004884, allocations: 23.91 kB / 0.5215 GB, free: 0.6406 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001414/0.005026, allocations: 53.38 kB / 0.5216 GB, free: 0.5898 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001419/0.005167, allocations: 15.92 kB / 0.5216 GB, free: 0.5742 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.005268, allocations: 27.97 kB / 0.5216 GB, free: 0.5469 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.183e-05/0.00535, allocations: 19.91 kB / 0.5216 GB, free: 0.5273 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.591e-05/0.005376, allocations: 5.031 kB / 0.5216 GB, free: 0.5234 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.736e-05/0.005393, allocations: 8 kB / 0.5216 GB, free: 0.5156 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.386e-05/0.005417, allocations: 4.688 kB / 0.5216 GB, free: 0.5117 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 7.646e-05/0.005494, allocations: 23.91 kB / 0.5217 GB, free: 500 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001421/0.005636, allocations: 45.2 kB / 0.5217 GB, free: 456 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.005641, allocations: 0 / 0.5217 GB, free: 456 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.005643, allocations: 7.875 kB / 0.5217 GB, free: 448 kB / 490.7 MB Notification: Performance of Transformations before backend: time 7.204e-06/0.00565, allocations: 0 / 0.5217 GB, free: 448 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.0007211/0.006371, allocations: 381 kB / 0.5221 GB, free: 32 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.00642, allocations: 12.81 kB / 0.5221 GB, free: 20 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.859e-05/0.006479, allocations: 4.938 kB / 0.5221 GB, free: 16 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001939/0.006673, allocations: 121.3 kB / 0.5222 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.006688, allocations: 384 / 0.5222 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.247e-05/0.0067, allocations: 5.219 kB / 0.5222 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001464/0.006847, allocations: 62.12 kB / 0.5223 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.006858, allocations: 2.438 kB / 0.5223 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.006872, allocations: 4.359 kB / 0.5223 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.242e-05/0.006884, allocations: 7.938 kB / 0.5223 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.623e-05/0.00696, allocations: 23.98 kB / 0.5223 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007538/0.007714, allocations: 291.8 kB / 0.5226 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001627/0.007877, allocations: 68.05 kB / 0.5226 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.672e-05/0.007933, allocations: 27.66 kB / 0.5227 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.577e-05/0.007949, allocations: 1.375 kB / 0.5227 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001862/0.008135, allocations: 84.97 kB / 0.5228 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=9): time 1.292e-06/0.008137, allocations: 0 / 0.5228 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9): time 0.0003116/0.008448, allocations: 102.3 kB / 0.5229 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.97e-05/0.008518, allocations: 55.41 kB / 0.5229 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001678/0.008686, allocations: 174.7 kB / 0.5231 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.483e-05/0.008711, allocations: 25.7 kB / 0.5231 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.00883, allocations: 135.5 kB / 0.5232 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.492e-05/0.008865, allocations: 23.84 kB / 0.5232 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.73e-05/0.008932, allocations: 40.27 kB / 0.5233 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003121/0.009244, allocations: 496.1 kB / 0.5238 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.591e-05/0.00929, allocations: 20.55 kB / 0.5238 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.384e-05/0.009384, allocations: 62.67 kB / 0.5238 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/0.009509, allocations: 83.52 kB / 0.5239 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.009511, allocations: 0.625 kB / 0.5239 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001906/0.009702, allocations: 110.2 kB / 0.524 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.009725, allocations: 8 kB / 0.524 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.00973, allocations: 1.031 kB / 0.524 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.122e-05/0.009752, allocations: 0 / 0.524 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.009854, allocations: 15.98 kB / 0.524 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.858e-06/0.009864, allocations: 5.75 kB / 0.5241 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.974e-05/0.009914, allocations: 4 kB / 0.5241 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.009921, allocations: 0 / 0.5241 GB, free: 13.8 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.0001718/0.01009, allocations: 178.2 kB / 0.5242 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.064e-05/0.01011, allocations: 11.89 kB / 0.5242 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.848e-05/0.01015, allocations: 8.125 kB / 0.5242 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.01015, allocations: 0 / 0.5242 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.01016, allocations: 4 kB / 0.5243 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.01017, allocations: 0.75 kB / 0.5243 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004925/0.01066, allocations: 353.3 kB / 0.5246 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.01066, allocations: 1.031 kB / 0.5246 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.736e-05/0.01069, allocations: 4 kB / 0.5246 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.663e-06/0.01069, allocations: 5.141 kB / 0.5246 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.01071, allocations: 4 kB / 0.5246 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.01071, allocations: 0 / 0.5246 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.01071, allocations: 0 / 0.5246 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002709/0.01098, allocations: 246.9 kB / 0.5248 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.192e-05/0.01099, allocations: 4 kB / 0.5248 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.507e-05/0.01101, allocations: 0 / 0.5248 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.856e-05/0.01108, allocations: 4.062 kB / 0.5248 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.54e-05/0.01114, allocations: 15.98 kB / 0.5249 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.01115, allocations: 0 / 0.5249 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.268e-05/0.01123, allocations: 131.2 kB / 0.525 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.01123, allocations: 4 kB / 0.525 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002154/0.01144, allocations: 14.98 kB / 0.525 GB, free: 12.77 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.0001632/0.01161, allocations: 103.2 kB / 0.5251 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001864/0.01179, allocations: 59.92 kB / 0.5252 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.0118, allocations: 3.938 kB / 0.5252 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 8.3e-05/0.01188, allocations: 43.61 kB / 0.5252 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002971/0.01218, allocations: 14.27 kB / 0.5252 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005162/0.01269, allocations: 173.9 kB / 0.5254 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.106e-05/0.01278, allocations: 68.75 kB / 0.5255 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.346e-05/0.01282, allocations: 7.984 kB / 0.5255 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.546e-05/0.01286, allocations: 12.5 kB / 0.5255 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of SimCode: time 5.11e-07/0.01286, allocations: 0 / 0.5255 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of Templates: time 0.004491/0.01735, allocations: 0.8151 MB / 0.5263 GB, free: 11.46 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: 6.743810342042707]