Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.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.00234/0.00234, allocations: 85.48 kB / 19.44 MB, free: 344 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.002819/0.002819, 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.63/1.63, allocations: 177.1 MB / 203.1 MB, free: 5.637 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.367/1.367, allocations: 154.8 MB / 414.3 MB, free: 472 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_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling") translateModel(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 0.5198 GB, free: 2.352 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.259e-05/3.435e-05, allocations: 4 kB / 0.5198 GB, free: 2.348 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling): time 0.004023/0.004057, allocations: 2.042 MB / 0.5218 GB, free: 320 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00151/0.005567, allocations: 0.5722 MB / 0.5224 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.005669, allocations: 4 kB / 0.5224 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001426/0.005811, allocations: 23.73 kB / 0.5224 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001126/0.005924, allocations: 49.69 kB / 0.5224 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002825/0.006207, allocations: 71.78 kB / 0.5225 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002592/0.006466, allocations: 195.7 kB / 0.5227 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001769/0.006643, allocations: 51.48 kB / 0.5227 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002747/0.006917, allocations: 111.7 kB / 0.5229 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000137/0.007054, allocations: 64.66 kB / 0.5229 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.045e-05/0.007095, allocations: 16 kB / 0.5229 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.367e-05/0.007159, allocations: 16 kB / 0.5229 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.948e-05/0.007208, allocations: 37.59 kB / 0.523 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 7.765e-05/0.007286, allocations: 51.84 kB / 0.523 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003121/0.007598, allocations: 187.3 kB / 0.5232 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.007604, allocations: 4 kB / 0.5232 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.433e-06/0.007606, allocations: 1.719 kB / 0.5232 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.007612, allocations: 4 kB / 0.5232 GB, free: 14.87 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.0008836/0.008496, allocations: 0.4963 MB / 0.5237 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.008538, allocations: 8.031 kB / 0.5237 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002104/0.008748, allocations: 50.03 kB / 0.5238 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002619/0.00901, allocations: 156.4 kB / 0.5239 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001021/0.009112, allocations: 61.22 kB / 0.524 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.11e-05/0.009153, allocations: 20.31 kB / 0.524 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003409/0.009494, allocations: 134.2 kB / 0.5241 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.009507, allocations: 2.375 kB / 0.5241 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.033e-05/0.009527, allocations: 12.12 kB / 0.5241 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.009534, allocations: 4 kB / 0.5241 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003837/0.009918, allocations: 113.7 kB / 0.5242 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008768/0.01079, allocations: 471.2 kB / 0.5247 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004156/0.01121, allocations: 124.7 kB / 0.5248 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001702/0.01138, allocations: 60.66 kB / 0.5249 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.441e-05/0.01141, allocations: 4 kB / 0.5249 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.704e-05/0.01144, allocations: 37.39 kB / 0.5249 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=12): time 1.082e-06/0.01144, allocations: 0.875 kB / 0.5249 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12): time 0.0006043/0.01205, allocations: 193.9 kB / 0.5251 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.316e-05/0.0121, allocations: 56.88 kB / 0.5251 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002285/0.01233, allocations: 232.4 kB / 0.5254 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.722e-05/0.01236, allocations: 25.7 kB / 0.5254 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000164/0.01252, allocations: 183 kB / 0.5256 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.244e-05/0.01257, allocations: 44.78 kB / 0.5256 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.453e-05/0.01266, allocations: 43.31 kB / 0.5256 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003021/0.01296, allocations: 0.504 MB / 0.5261 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000151/0.01311, allocations: 46.95 kB / 0.5262 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00018/0.01329, allocations: 80.42 kB / 0.5263 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003239/0.01361, allocations: 126.9 kB / 0.5264 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.01362, allocations: 7.031 kB / 0.5264 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004031/0.01402, allocations: 168.8 kB / 0.5266 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.698e-05/0.01405, allocations: 15.92 kB / 0.5266 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.01405, allocations: 0 / 0.5266 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.01407, allocations: 0 / 0.5266 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001639/0.01423, allocations: 33.42 kB / 0.5266 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.01424, allocations: 4 kB / 0.5266 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.01435, allocations: 11.98 kB / 0.5266 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.811e-05/0.01436, allocations: 8.5 kB / 0.5266 GB, free: 11.17 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.0001657/0.01453, allocations: 171.6 kB / 0.5268 GB, free: 11 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.264e-05/0.01457, allocations: 15.91 kB / 0.5268 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.077e-05/0.01462, allocations: 21.39 kB / 0.5268 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.01462, allocations: 7.938 kB / 0.5268 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.01463, allocations: 0 / 0.5268 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.01463, allocations: 0 / 0.5268 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002729/0.0149, allocations: 196.5 kB / 0.527 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.01491, allocations: 0 / 0.527 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001555/0.01506, allocations: 30.42 kB / 0.527 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.01506, allocations: 0 / 0.527 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.617e-05/0.01508, allocations: 3.984 kB / 0.527 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.686e-06/0.01508, allocations: 3.938 kB / 0.5271 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.01508, allocations: 0 / 0.5271 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00065/0.01573, allocations: 357 kB / 0.5274 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.857e-05/0.01576, allocations: 15.89 kB / 0.5274 GB, free: 10.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.288e-05/0.01579, allocations: 0.9062 kB / 0.5274 GB, free: 10.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/0.01591, allocations: 15.94 kB / 0.5274 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.716e-05/0.01597, allocations: 17.12 kB / 0.5274 GB, free: 10.28 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-05/0.01599, allocations: 7.984 kB / 0.5274 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001245/0.01611, allocations: 160.8 kB / 0.5276 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01611, allocations: 1.719 kB / 0.5276 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002661/0.01638, allocations: 39.89 kB / 0.5276 GB, free: 10.08 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.0001341/0.01651, allocations: 103.2 kB / 0.5277 GB, free: 9.965 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004006/0.01691, allocations: 126 kB / 0.5279 GB, free: 9.84 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.01691, allocations: 7.938 kB / 0.5279 GB, free: 9.832 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001758/0.01709, allocations: 71.59 kB / 0.5279 GB, free: 9.758 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000338/0.01743, allocations: 26.03 kB / 0.528 GB, free: 9.734 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008814/0.01831, allocations: 353.5 kB / 0.5283 GB, free: 9.375 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001335/0.01844, allocations: 109.9 kB / 0.5284 GB, free: 9.246 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.786e-05/0.01851, allocations: 15.48 kB / 0.5284 GB, free: 9.234 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.053e-05/0.01857, allocations: 16.5 kB / 0.5284 GB, free: 9.219 MB / 0.4948 GB Notification: Performance of SimCode: time 5.81e-07/0.01857, allocations: 0 / 0.5284 GB, free: 9.219 MB / 0.4948 GB Notification: Performance of Templates: time 0.005985/0.02456, allocations: 1.615 MB / 0.53 GB, free: 7.695 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.sim & ./IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.316635263967328]