Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001943/0.001943, allocations: 85.48 kB / 19.44 MB, free: 336 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.00238/0.00238, allocations: 173.2 kB / 22.76 MB, free: 1.656 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.635/1.635, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.348/1.348, allocations: 154.8 MB / 414.4 MB, free: 456 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating") translateModel(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.5198 GB, free: 2.223 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.139e-05/3.286e-05, allocations: 3.094 kB / 0.5198 GB, free: 2.219 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating): time 0.003984/0.004017, allocations: 2.051 MB / 0.5218 GB, free: 180 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001229/0.005247, allocations: 0.5754 MB / 0.5224 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.899e-05/0.005346, allocations: 4.562 kB / 0.5224 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001361/0.005482, allocations: 19.73 kB / 0.5224 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001216/0.005603, allocations: 49 kB / 0.5224 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000292/0.005895, allocations: 73.38 kB / 0.5225 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002674/0.006163, allocations: 195.1 kB / 0.5227 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001665/0.006329, allocations: 50.44 kB / 0.5228 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002685/0.006598, allocations: 108.8 kB / 0.5229 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001398/0.006738, allocations: 63.8 kB / 0.5229 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.861e-05/0.006776, allocations: 17.41 kB / 0.5229 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.696e-05/0.006843, allocations: 16 kB / 0.5229 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.832e-05/0.006892, allocations: 39.83 kB / 0.523 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 7.916e-05/0.006971, allocations: 51.91 kB / 0.523 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003119/0.007283, allocations: 192.4 kB / 0.5232 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.007287, allocations: 0 / 0.5232 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.262e-06/0.007288, allocations: 0 / 0.5232 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.191e-06/0.007295, allocations: 4.688 kB / 0.5232 GB, free: 14.73 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.001289/0.008583, allocations: 0.5007 MB / 0.5237 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.008627, allocations: 9.375 kB / 0.5237 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002049/0.008832, allocations: 44.78 kB / 0.5238 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002697/0.009101, allocations: 156.3 kB / 0.5239 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001069/0.009208, allocations: 64.66 kB / 0.524 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.819e-05/0.009246, allocations: 16.38 kB / 0.524 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003563/0.009603, allocations: 132 kB / 0.5241 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.009617, allocations: 192 / 0.5241 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.065e-05/0.009638, allocations: 12.12 kB / 0.5241 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.009645, allocations: 4 kB / 0.5241 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003776/0.01002, allocations: 117.8 kB / 0.5242 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008808/0.0109, allocations: 468.5 kB / 0.5247 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000413/0.01132, allocations: 119.7 kB / 0.5248 GB, free: 13 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001855/0.0115, allocations: 64.69 kB / 0.5249 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.845e-05/0.01153, allocations: 9.156 kB / 0.5249 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/0.01156, allocations: 37.38 kB / 0.5249 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=12): time 1.082e-06/0.01157, allocations: 0 / 0.5249 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12): time 0.0006079/0.01217, allocations: 190.2 kB / 0.5251 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.065e-05/0.01222, allocations: 55.41 kB / 0.5251 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002235/0.01245, allocations: 232.4 kB / 0.5254 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.992e-05/0.01248, allocations: 29.7 kB / 0.5254 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000141/0.01262, allocations: 185.4 kB / 0.5256 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.861e-05/0.01267, allocations: 43.64 kB / 0.5256 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.428e-05/0.01274, allocations: 39.31 kB / 0.5257 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002808/0.01302, allocations: 0.5001 MB / 0.5261 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001528/0.01317, allocations: 47.97 kB / 0.5262 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001888/0.01336, allocations: 91.41 kB / 0.5263 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002978/0.01366, allocations: 115 kB / 0.5264 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.01366, allocations: 4 kB / 0.5264 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004002/0.01406, allocations: 167.5 kB / 0.5265 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.01408, allocations: 11.94 kB / 0.5266 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.01409, allocations: 0 / 0.5266 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.01411, allocations: 7.031 kB / 0.5266 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001712/0.01428, allocations: 31.97 kB / 0.5266 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.01429, allocations: 7.938 kB / 0.5266 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001044/0.01439, allocations: 15.98 kB / 0.5266 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.719e-05/0.01441, allocations: 8 kB / 0.5266 GB, free: 11.04 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.0001566/0.01456, allocations: 176.5 kB / 0.5268 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.437e-05/0.01461, allocations: 22.66 kB / 0.5268 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.056e-05/0.01466, allocations: 17.41 kB / 0.5268 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.01466, allocations: 7.984 kB / 0.5268 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.01467, allocations: 0 / 0.5268 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.01467, allocations: 0 / 0.5268 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002667/0.01494, allocations: 188.5 kB / 0.527 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.01494, allocations: 0 / 0.527 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001609/0.0151, allocations: 29.55 kB / 0.527 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.0151, allocations: 0 / 0.527 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.01512, allocations: 4 kB / 0.5271 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.01512, allocations: 3.938 kB / 0.5271 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.01512, allocations: 1.281 kB / 0.5271 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006575/0.01578, allocations: 356.3 kB / 0.5274 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.633e-05/0.01581, allocations: 11.91 kB / 0.5274 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.772e-05/0.01583, allocations: 8.828 kB / 0.5274 GB, free: 10.17 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/0.01595, allocations: 11.94 kB / 0.5274 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.684e-05/0.01602, allocations: 17.16 kB / 0.5274 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.928e-06/0.01603, allocations: 4 kB / 0.5274 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.000139/0.01617, allocations: 164.8 kB / 0.5276 GB, free: 9.98 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01617, allocations: 1.375 kB / 0.5276 GB, free: 9.98 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000253/0.01642, allocations: 39.89 kB / 0.5276 GB, free: 9.941 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.0001364/0.01656, allocations: 104 kB / 0.5277 GB, free: 9.828 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003821/0.01694, allocations: 124.4 kB / 0.5279 GB, free: 9.707 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.01694, allocations: 4 kB / 0.5279 GB, free: 9.703 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001929/0.01713, allocations: 72.53 kB / 0.5279 GB, free: 9.629 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003115/0.01745, allocations: 20.89 kB / 0.528 GB, free: 9.609 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008091/0.01826, allocations: 372.3 kB / 0.5283 GB, free: 9.234 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001192/0.01837, allocations: 110.3 kB / 0.5284 GB, free: 9.105 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.951e-05/0.01843, allocations: 6 kB / 0.5284 GB, free: 9.102 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.181e-05/0.0185, allocations: 22.02 kB / 0.5284 GB, free: 9.082 MB / 0.4948 GB Notification: Performance of SimCode: time 6.81e-07/0.0185, allocations: 0 / 0.5284 GB, free: 9.082 MB / 0.4948 GB Notification: Performance of Templates: time 0.005631/0.02413, allocations: 1.605 MB / 0.53 GB, free: 7.566 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.sim & ./IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.3423872030107304]