Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.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.002192/0.002192, allocations: 81.5 kB / 19.44 MB, free: 332 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.002405/0.002405, allocations: 173.2 kB / 22.76 MB, free: 1.652 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.664/1.664, allocations: 177.1 MB / 203.1 MB, free: 5.629 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.406/1.406, allocations: 154.6 MB / 414.2 MB, free: 0.625 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.Discrete.Examples.HysteresisRelease_Heating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating") translateModel(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.255e-06/2.255e-06, allocations: 0 / 0.5196 GB, free: 2.582 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.221e-05/3.447e-05, allocations: 6 kB / 0.5196 GB, free: 2.578 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating): time 0.004072/0.004107, allocations: 2.049 MB / 0.5216 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001307/0.005414, allocations: 0.572 MB / 0.5221 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001184/0.005533, allocations: 4 kB / 0.5221 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001497/0.005682, allocations: 24.98 kB / 0.5222 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001208/0.005803, allocations: 44.14 kB / 0.5222 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003234/0.006126, allocations: 72.75 kB / 0.5223 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002864/0.006413, allocations: 191.1 kB / 0.5225 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001814/0.006594, allocations: 57.3 kB / 0.5225 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002857/0.00688, allocations: 111.8 kB / 0.5226 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001452/0.007025, allocations: 59.8 kB / 0.5227 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.353e-05/0.007069, allocations: 12 kB / 0.5227 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.23e-05/0.007141, allocations: 21.03 kB / 0.5227 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 5.393e-05/0.007195, allocations: 39.83 kB / 0.5228 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 9.011e-05/0.007285, allocations: 59.83 kB / 0.5228 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003405/0.007626, allocations: 180.2 kB / 0.523 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.00763, allocations: 0 / 0.523 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.603e-06/0.007631, allocations: 1.188 kB / 0.523 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.007638, allocations: 0 / 0.523 GB, free: 15.1 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0009567/0.008595, allocations: 0.5009 MB / 0.5235 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.008636, allocations: 12.03 kB / 0.5235 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002227/0.008858, allocations: 41.58 kB / 0.5235 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002914/0.00915, allocations: 161.1 kB / 0.5237 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001195/0.009269, allocations: 67.95 kB / 0.5237 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.797e-05/0.009307, allocations: 15.25 kB / 0.5238 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003605/0.009668, allocations: 142.1 kB / 0.5239 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.009682, allocations: 192 / 0.5239 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.516e-05/0.009707, allocations: 8.125 kB / 0.5239 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.009716, allocations: 4 kB / 0.5239 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006133/0.01033, allocations: 112.4 kB / 0.524 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009643/0.01129, allocations: 468.9 kB / 0.5245 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004377/0.01173, allocations: 128.8 kB / 0.5246 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001817/0.01191, allocations: 63.66 kB / 0.5246 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.166e-05/0.01194, allocations: 0.5 kB / 0.5246 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.835e-05/0.01198, allocations: 42.36 kB / 0.5247 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=12): time 1.182e-06/0.01198, allocations: 0 / 0.5247 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12): time 0.0006315/0.01262, allocations: 193.8 kB / 0.5249 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.588e-05/0.01267, allocations: 55.39 kB / 0.5249 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002325/0.0129, allocations: 228 kB / 0.5251 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.376e-05/0.01294, allocations: 34.36 kB / 0.5252 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000153/0.01309, allocations: 175 kB / 0.5253 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.461e-05/0.01315, allocations: 47.09 kB / 0.5254 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.237e-05/0.01323, allocations: 43.3 kB / 0.5254 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003094/0.01354, allocations: 0.5001 MB / 0.5259 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001565/0.01369, allocations: 43.97 kB / 0.526 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002096/0.0139, allocations: 87.03 kB / 0.526 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003233/0.01423, allocations: 132 kB / 0.5262 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.01423, allocations: 0 / 0.5262 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004194/0.01465, allocations: 169.5 kB / 0.5263 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.01467, allocations: 7.938 kB / 0.5263 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.01468, allocations: 0.6875 kB / 0.5263 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.0147, allocations: 5.344 kB / 0.5263 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001876/0.01488, allocations: 35.92 kB / 0.5264 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.01489, allocations: 3.984 kB / 0.5264 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.015, allocations: 8.688 kB / 0.5264 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.497e-05/0.01502, allocations: 4 kB / 0.5264 GB, free: 11.4 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 (con.y_boolean,$PRE.con.y_boolean) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.0001631/0.01518, allocations: 177.6 kB / 0.5266 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.656e-05/0.01523, allocations: 15.91 kB / 0.5266 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.711e-05/0.01528, allocations: 24.16 kB / 0.5266 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.01529, allocations: 0 / 0.5266 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.01529, allocations: 0 / 0.5266 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.01529, allocations: 0 / 0.5266 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002845/0.01558, allocations: 196.5 kB / 0.5268 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.01558, allocations: 4 kB / 0.5268 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001812/0.01576, allocations: 31.92 kB / 0.5268 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.01576, allocations: 2.594 kB / 0.5268 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.01578, allocations: 0 / 0.5268 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.045e-06/0.01578, allocations: 7.938 kB / 0.5268 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01579, allocations: 0 / 0.5268 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006751/0.01646, allocations: 349.7 kB / 0.5272 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.227e-05/0.01649, allocations: 15.91 kB / 0.5272 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.698e-05/0.01652, allocations: 4 kB / 0.5272 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/0.01664, allocations: 11.92 kB / 0.5272 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.101e-05/0.01672, allocations: 15.97 kB / 0.5272 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/0.01674, allocations: 8.781 kB / 0.5272 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001449/0.01688, allocations: 170.1 kB / 0.5274 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.01688, allocations: 0.6562 kB / 0.5274 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002738/0.01716, allocations: 35.89 kB / 0.5274 GB, free: 10.3 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (cap.T) * Number of discrete variables: 1 (con.y_boolean) * Number of discrete states: 1 (con.y_boolean) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.000148/0.0173, allocations: 97.41 kB / 0.5275 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004294/0.01773, allocations: 132.6 kB / 0.5276 GB, free: 10.06 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01773, allocations: 0 / 0.5276 GB, free: 10.06 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001935/0.01793, allocations: 76.36 kB / 0.5277 GB, free: 9.984 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/0.01826, allocations: 32.56 kB / 0.5277 GB, free: 9.953 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008989/0.01916, allocations: 358.1 kB / 0.5281 GB, free: 9.594 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000129/0.01929, allocations: 103 kB / 0.5282 GB, free: 9.469 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.547e-05/0.01936, allocations: 17.58 kB / 0.5282 GB, free: 9.453 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.04e-05/0.01942, allocations: 13.41 kB / 0.5282 GB, free: 9.441 MB / 0.4948 GB Notification: Performance of SimCode: time 6.11e-07/0.01942, allocations: 0 / 0.5282 GB, free: 9.441 MB / 0.4948 GB Notification: Performance of Templates: time 0.005848/0.02526, allocations: 1.627 MB / 0.5298 GB, free: 7.914 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe ; mkfifo IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe >> ../files/IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.sim & ./IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.549349984969012]