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.0007541/0.0007541, allocations: 93.06 kB / 19.65 MB, free: 276 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.0009447/0.0009447, allocations: 165 kB / 23.02 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 1.003/1.003, allocations: 177.1 MB / 203.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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 0.8001/0.8001, allocations: 154.8 MB / 414.7 MB, free: 488 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 179] 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 2.495e-06/2.495e-06, allocations: 0 / 0.5205 GB, free: 2 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.969e-05/3.218e-05, allocations: 4.234 kB / 0.5205 GB, free: 1.996 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating): time 0.002757/0.002789, allocations: 2.08 MB / 0.5225 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.001007/0.003796, allocations: 0.5881 MB / 0.5231 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001129/0.003909, allocations: 0 / 0.5231 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001482/0.004057, allocations: 23.73 kB / 0.5231 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 9.459e-05/0.004151, allocations: 40.67 kB / 0.5232 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003442/0.004496, allocations: 72.78 kB / 0.5233 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002326/0.004728, allocations: 195.1 kB / 0.5234 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001686/0.004897, allocations: 51.06 kB / 0.5235 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002572/0.005154, allocations: 121 kB / 0.5236 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001261/0.00528, allocations: 55.81 kB / 0.5237 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.245e-05/0.005312, allocations: 16 kB / 0.5237 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.971e-05/0.005372, allocations: 24.86 kB / 0.5237 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.157e-05/0.005404, allocations: 31.91 kB / 0.5237 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.296e-05/0.005457, allocations: 59.83 kB / 0.5238 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001935/0.00565, allocations: 125.1 kB / 0.5239 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.005653, allocations: 0 / 0.5239 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.212e-06/0.005654, allocations: 0 / 0.5239 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.129e-06/0.005659, allocations: 0 / 0.5239 GB, free: 14.54 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.0007573/0.006416, allocations: 0.4937 MB / 0.5244 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.006466, allocations: 13.31 kB / 0.5244 GB, free: 14 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001736/0.006639, allocations: 40.73 kB / 0.5244 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002348/0.006874, allocations: 160.4 kB / 0.5246 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.317e-05/0.006967, allocations: 68.58 kB / 0.5247 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.61e-05/0.007003, allocations: 17.28 kB / 0.5247 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002488/0.007252, allocations: 122.9 kB / 0.5248 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.007266, allocations: 0.7188 kB / 0.5248 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.884e-05/0.007285, allocations: 12.94 kB / 0.5248 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.007295, allocations: 0 / 0.5248 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001185/0.007414, allocations: 54.02 kB / 0.5249 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005879/0.008002, allocations: 439.1 kB / 0.5253 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002406/0.008242, allocations: 88.25 kB / 0.5254 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.577e-05/0.008298, allocations: 35.67 kB / 0.5254 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.008319, allocations: 1.5 kB / 0.5254 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/0.008343, allocations: 37.39 kB / 0.5254 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=12): time 1.412e-06/0.008345, allocations: 0 / 0.5254 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12): time 0.0002541/0.008599, allocations: 117.5 kB / 0.5255 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.293e-05/0.008632, allocations: 55.84 kB / 0.5256 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.008746, allocations: 212.5 kB / 0.5258 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.008763, allocations: 30.73 kB / 0.5258 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.706e-05/0.00884, allocations: 171 kB / 0.526 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.986e-05/0.00887, allocations: 44.45 kB / 0.526 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-05/0.008919, allocations: 35.36 kB / 0.5261 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.00904, allocations: 0.4962 MB / 0.5265 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.202e-05/0.009082, allocations: 12.62 kB / 0.5266 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.921e-05/0.009141, allocations: 51.53 kB / 0.5266 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.502e-05/0.009236, allocations: 73.66 kB / 0.5267 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.009239, allocations: 0 / 0.5267 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000157/0.009396, allocations: 117.5 kB / 0.5268 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.009413, allocations: 11.94 kB / 0.5268 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.009418, allocations: 0 / 0.5268 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.009435, allocations: 2.438 kB / 0.5268 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.009544, allocations: 35.91 kB / 0.5268 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.327e-05/0.009557, allocations: 7.984 kB / 0.5268 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.387e-05/0.009611, allocations: 15.94 kB / 0.5269 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.009623, allocations: 7.984 kB / 0.5269 GB, free: 11.28 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 8.618e-05/0.009709, allocations: 158.2 kB / 0.527 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.041e-05/0.009739, allocations: 23.91 kB / 0.527 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.636e-05/0.009776, allocations: 21.39 kB / 0.5271 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.009778, allocations: 7.938 kB / 0.5271 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.009785, allocations: 1.031 kB / 0.5271 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.00979, allocations: 3.984 kB / 0.5271 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000165/0.009955, allocations: 172.5 kB / 0.5272 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.009957, allocations: 1 kB / 0.5272 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.608e-05/0.01004, allocations: 23.98 kB / 0.5273 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.01005, allocations: 3.25 kB / 0.5273 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.01006, allocations: 4 kB / 0.5273 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.01006, allocations: 7.875 kB / 0.5273 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.552e-06/0.01006, allocations: 0 / 0.5273 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000239/0.0103, allocations: 266.8 kB / 0.5275 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.638e-05/0.01032, allocations: 15.84 kB / 0.5275 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.721e-05/0.01034, allocations: 4 kB / 0.5275 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.993e-05/0.0104, allocations: 15.92 kB / 0.5276 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.199e-05/0.01045, allocations: 19 kB / 0.5276 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-06/0.01045, allocations: 4 kB / 0.5276 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.347e-05/0.01052, allocations: 156.8 kB / 0.5277 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01052, allocations: 0 / 0.5277 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000176/0.01069, allocations: 35.95 kB / 0.5278 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 8.411e-05/0.01078, allocations: 95.25 kB / 0.5279 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001492/0.01093, allocations: 76.19 kB / 0.5279 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.01093, allocations: 0 / 0.5279 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.482e-05/0.01098, allocations: 43.61 kB / 0.528 GB, free: 10.08 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002252/0.01121, allocations: 25.27 kB / 0.528 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008225/0.01203, allocations: 363.6 kB / 0.5283 GB, free: 9.688 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.428e-05/0.01207, allocations: 73.8 kB / 0.5284 GB, free: 9.598 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.357e-05/0.01212, allocations: 12.47 kB / 0.5284 GB, free: 9.582 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.678e-05/0.01217, allocations: 21.28 kB / 0.5284 GB, free: 9.562 MB / 0.4948 GB Notification: Performance of SimCode: time 8.92e-07/0.01217, allocations: 0 / 0.5284 GB, free: 9.562 MB / 0.4948 GB Notification: Performance of Templates: time 0.003646/0.01581, allocations: 1.612 MB / 0.53 GB, free: 8.043 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: 3.8677358482964337]