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.0008537/0.0008537, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009053/0.0009053, allocations: 173.3 kB / 23.03 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.8942/0.8942, allocations: 177.2 MB / 203.4 MB, free: 5.641 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.7901/0.7901, allocations: 154.6 MB / 414.5 MB, free: 0.6797 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.483e-06/1.483e-06, allocations: 0 / 0.5203 GB, free: 1.168 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.867e-05/2.015e-05, allocations: 4.141 kB / 0.5203 GB, free: 1.164 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.002336/0.002356, allocations: 1.513 MB / 0.5218 GB, free: 15.66 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007263/0.003083, allocations: 473.3 kB / 0.5222 GB, free: 15.2 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.004e-05/0.003123, allocations: 0.7656 kB / 0.5222 GB, free: 15.2 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 3.499e-05/0.003158, allocations: 3.938 kB / 0.5222 GB, free: 15.2 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 8.737e-05/0.003245, allocations: 13.5 kB / 0.5222 GB, free: 15.18 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001497/0.003395, allocations: 17.64 kB / 0.5222 GB, free: 15.17 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 8.927e-05/0.003484, allocations: 55.77 kB / 0.5223 GB, free: 15.11 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.003589, allocations: 8 kB / 0.5223 GB, free: 15.11 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.798e-05/0.003667, allocations: 31.97 kB / 0.5223 GB, free: 15.07 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.645e-05/0.003733, allocations: 16.66 kB / 0.5224 GB, free: 15.06 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.584e-05/0.003759, allocations: 4 kB / 0.5224 GB, free: 15.05 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.325e-05/0.003772, allocations: 9.406 kB / 0.5224 GB, free: 15.05 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 2.212e-05/0.003794, allocations: 7.984 kB / 0.5224 GB, free: 15.04 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 4.14e-05/0.003836, allocations: 19.92 kB / 0.5224 GB, free: 15.02 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001043/0.00394, allocations: 31.89 kB / 0.5224 GB, free: 14.99 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.003943, allocations: 5.281 kB / 0.5224 GB, free: 14.98 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.003944, allocations: 0 / 0.5224 GB, free: 14.98 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.003949, allocations: 0 / 0.5224 GB, free: 14.98 MB / 458.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.000463/0.004412, allocations: 389.7 kB / 0.5228 GB, free: 14.57 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.004452, allocations: 12.02 kB / 0.5228 GB, free: 14.56 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.63e-05/0.004499, allocations: 4.938 kB / 0.5228 GB, free: 14.55 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/0.004601, allocations: 119.3 kB / 0.5229 GB, free: 14.41 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.004614, allocations: 4.375 kB / 0.5229 GB, free: 14.41 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.343e-05/0.004628, allocations: 8.375 kB / 0.5229 GB, free: 14.4 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.671e-05/0.004725, allocations: 50.23 kB / 0.523 GB, free: 14.35 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.004733, allocations: 192 / 0.523 GB, free: 14.35 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.004746, allocations: 4.359 kB / 0.523 GB, free: 14.34 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.004755, allocations: 3.938 kB / 0.523 GB, free: 14.34 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.866e-05/0.004804, allocations: 27.86 kB / 0.523 GB, free: 14.31 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003752/0.005179, allocations: 280.8 kB / 0.5233 GB, free: 14 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.705e-05/0.005276, allocations: 64.14 kB / 0.5234 GB, free: 13.93 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.802e-05/0.005314, allocations: 23.61 kB / 0.5234 GB, free: 13.9 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.064e-06/0.005321, allocations: 1.625 kB / 0.5234 GB, free: 13.9 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001111/0.005432, allocations: 73 kB / 0.5234 GB, free: 13.82 MB / 458.7 MB Notification: Performance of pre-optimization done (n=9): time 1.563e-06/0.005434, allocations: 0 / 0.5234 GB, free: 13.82 MB / 458.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002041/0.005638, allocations: 93.61 kB / 0.5235 GB, free: 13.72 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.942e-05/0.005677, allocations: 52.34 kB / 0.5236 GB, free: 13.66 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.827e-05/0.005766, allocations: 169.9 kB / 0.5237 GB, free: 13.47 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.00578, allocations: 31.11 kB / 0.5238 GB, free: 13.44 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.755e-05/0.005827, allocations: 134.8 kB / 0.5239 GB, free: 13.3 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.974e-05/0.005857, allocations: 27.78 kB / 0.5239 GB, free: 13.27 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.31e-05/0.0059, allocations: 31.38 kB / 0.524 GB, free: 13.23 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.006029, allocations: 0.4895 MB / 0.5244 GB, free: 12.73 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.727e-05/0.006056, allocations: 8 kB / 0.5244 GB, free: 12.73 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.283e-05/0.006109, allocations: 57.52 kB / 0.5245 GB, free: 12.66 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.007e-05/0.006189, allocations: 71.36 kB / 0.5246 GB, free: 12.57 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.006191, allocations: 1.281 kB / 0.5246 GB, free: 12.57 MB / 458.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001222/0.006313, allocations: 93.5 kB / 0.5247 GB, free: 12.47 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.00633, allocations: 8 kB / 0.5247 GB, free: 12.46 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.006335, allocations: 3.156 kB / 0.5247 GB, free: 12.46 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.006348, allocations: 0 / 0.5247 GB, free: 12.46 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.356e-05/0.006432, allocations: 15.94 kB / 0.5247 GB, free: 12.45 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.006438, allocations: 4 kB / 0.5247 GB, free: 12.45 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.262e-05/0.00648, allocations: 7.984 kB / 0.5247 GB, free: 12.44 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.006487, allocations: 0 / 0.5247 GB, free: 12.44 MB / 458.7 MB 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 7.674e-05/0.006564, allocations: 164.9 kB / 0.5249 GB, free: 12.27 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.511e-05/0.006579, allocations: 15.89 kB / 0.5249 GB, free: 12.25 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.497e-05/0.006604, allocations: 14.89 kB / 0.5249 GB, free: 12.24 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.006606, allocations: 0 / 0.5249 GB, free: 12.24 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.006609, allocations: 0 / 0.5249 GB, free: 12.24 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.006613, allocations: 3.984 kB / 0.5249 GB, free: 12.23 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002904/0.006904, allocations: 349.2 kB / 0.5252 GB, free: 11.85 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.006906, allocations: 4 kB / 0.5252 GB, free: 11.85 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.871e-05/0.006925, allocations: 0 / 0.5252 GB, free: 11.85 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.006928, allocations: 5.312 kB / 0.5252 GB, free: 11.84 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.006936, allocations: 64 / 0.5252 GB, free: 11.84 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.006938, allocations: 4 kB / 0.5252 GB, free: 11.84 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.006939, allocations: 0.5 kB / 0.5252 GB, free: 11.84 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001438/0.007083, allocations: 239.8 kB / 0.5255 GB, free: 11.59 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.093e-06/0.00709, allocations: 2 kB / 0.5255 GB, free: 11.59 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.061e-05/0.0071, allocations: 0 / 0.5255 GB, free: 11.59 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.787e-05/0.007158, allocations: 11.98 kB / 0.5255 GB, free: 11.57 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.96e-05/0.007198, allocations: 7.984 kB / 0.5255 GB, free: 11.57 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/0.007204, allocations: 0 / 0.5255 GB, free: 11.57 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.182e-05/0.007245, allocations: 125.6 kB / 0.5256 GB, free: 11.45 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007245, allocations: 0 / 0.5256 GB, free: 11.45 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002378/0.007483, allocations: 19.95 kB / 0.5256 GB, free: 11.43 MB / 458.7 MB 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 7.422e-05/0.007558, allocations: 101.3 kB / 0.5257 GB, free: 11.32 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001257/0.007683, allocations: 61.73 kB / 0.5258 GB, free: 11.26 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.007685, allocations: 0 / 0.5258 GB, free: 11.26 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 4.19e-05/0.007727, allocations: 23.67 kB / 0.5258 GB, free: 11.23 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002656/0.007992, allocations: 26.72 kB / 0.5258 GB, free: 11.21 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003091/0.008301, allocations: 154.2 kB / 0.526 GB, free: 11.03 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.915e-05/0.00834, allocations: 60.38 kB / 0.526 GB, free: 10.95 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.409e-05/0.008365, allocations: 4 kB / 0.526 GB, free: 10.95 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.632e-05/0.008401, allocations: 13.44 kB / 0.526 GB, free: 10.93 MB / 458.7 MB Notification: Performance of SimCode: time 8.12e-07/0.008402, allocations: 0 / 0.526 GB, free: 10.93 MB / 458.7 MB Notification: Performance of Templates: time 0.002871/0.01127, allocations: 0.8569 MB / 0.5269 GB, free: 10.12 MB / 458.7 MB " [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.5069967517629266]