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.0006956/0.0006956, allocations: 100.4 kB / 19.7 MB, free: 452 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.0007102/0.0007102, allocations: 212.2 kB / 23 MB, free: 2.977 MB / 13.93 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.8103/0.8103, allocations: 230.6 MB / 256.8 MB, free: 9.602 MB / 202.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-531:190: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-531:198: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.7073/0.7073, allocations: 203.8 MB / 0.5049 GB, free: 10.43 MB / 410.7 MB " [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_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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008849/0.0008849, allocations: 68.02 kB / 0.7194 GB, free: 3.609 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3937/0.3945, allocations: 102 MB / 0.819 GB, free: 1.336 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling): time 0.001908/0.3964, allocations: 1.99 MB / 0.8209 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0006495/0.3971, allocations: 0.5751 MB / 0.8215 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.546e-05/0.3972, allocations: 3.938 kB / 0.8215 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001027/0.3973, allocations: 19.16 kB / 0.8215 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.799e-05/0.3973, allocations: 41.88 kB / 0.8216 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002195/0.3976, allocations: 72.61 kB / 0.8216 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000168/0.3977, allocations: 194 kB / 0.8218 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.3979, allocations: 56.38 kB / 0.8219 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000133/0.398, allocations: 76.16 kB / 0.8219 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.037e-05/0.3981, allocations: 76.53 kB / 0.822 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.3981, allocations: 14.69 kB / 0.822 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.24e-05/0.3981, allocations: 16.91 kB / 0.822 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.925e-05/0.3982, allocations: 35.03 kB / 0.8221 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.901e-05/0.3982, allocations: 66.91 kB / 0.8221 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001877/0.3984, allocations: 179.4 kB / 0.8223 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3984, allocations: 0.5625 kB / 0.8223 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.332e-06/0.3984, allocations: 4 kB / 0.8223 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.3984, allocations: 4.656 kB / 0.8223 GB, free: 15.17 MB / 0.6198 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.0004876/0.3989, allocations: 420.2 kB / 0.8227 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.155e-05/0.3989, allocations: 8.688 kB / 0.8227 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001041/0.399, allocations: 31.81 kB / 0.8228 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001727/0.3992, allocations: 164.8 kB / 0.8229 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.537e-05/0.3993, allocations: 67.39 kB / 0.823 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.363e-05/0.3993, allocations: 16.84 kB / 0.823 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002519/0.3996, allocations: 160.2 kB / 0.8231 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.3996, allocations: 0 / 0.8231 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.3996, allocations: 6.406 kB / 0.8231 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.3996, allocations: 2.5 kB / 0.8231 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002633/0.3998, allocations: 144.5 kB / 0.8233 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004839/0.4003, allocations: 386.8 kB / 0.8237 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002801/0.4006, allocations: 127.9 kB / 0.8238 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000121/0.4007, allocations: 80.55 kB / 0.8239 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.4007, allocations: 2.688 kB / 0.8239 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.741e-05/0.4008, allocations: 36.39 kB / 0.8239 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=12): time 1.052e-06/0.4008, allocations: 0 / 0.8239 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12): time 0.0004117/0.4012, allocations: 230.5 kB / 0.8241 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.437e-05/0.4012, allocations: 52.75 kB / 0.8242 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.405e-05/0.4013, allocations: 158.1 kB / 0.8243 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.4013, allocations: 25.7 kB / 0.8243 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.868e-05/0.4014, allocations: 135.2 kB / 0.8245 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.537e-05/0.4014, allocations: 40.23 kB / 0.8245 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.803e-05/0.4014, allocations: 29.33 kB / 0.8245 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.674e-05/0.4015, allocations: 327.6 kB / 0.8248 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001113/0.4016, allocations: 62.09 kB / 0.8249 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001182/0.4017, allocations: 79.25 kB / 0.825 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002169/0.402, allocations: 147.3 kB / 0.8251 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-06/0.402, allocations: 1.312 kB / 0.8251 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002582/0.4022, allocations: 194.5 kB / 0.8253 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.4022, allocations: 5.594 kB / 0.8253 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.4022, allocations: 7.938 kB / 0.8253 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.4022, allocations: 2.953 kB / 0.8253 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.4024, allocations: 35.48 kB / 0.8254 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.4024, allocations: 6.125 kB / 0.8254 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.531e-05/0.4024, allocations: 25.67 kB / 0.8254 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-06/0.4024, allocations: 9.391 kB / 0.8254 GB, free: 13.04 MB / 0.6198 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 7.493e-05/0.4025, allocations: 121.1 kB / 0.8255 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.053e-05/0.4025, allocations: 22.19 kB / 0.8255 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.565e-05/0.4026, allocations: 18.31 kB / 0.8256 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.4026, allocations: 1.219 kB / 0.8256 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.4026, allocations: 1.125 kB / 0.8256 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.4026, allocations: 0.7969 kB / 0.8256 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001323/0.4027, allocations: 163.1 kB / 0.8257 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.4027, allocations: 0 / 0.8257 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.145e-05/0.4028, allocations: 41.23 kB / 0.8257 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-06/0.4028, allocations: 1.469 kB / 0.8257 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.318e-06/0.4028, allocations: 4.562 kB / 0.8258 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.42e-07/0.4028, allocations: 5.312 kB / 0.8258 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.4028, allocations: 0.6094 kB / 0.8258 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004124/0.4032, allocations: 346.8 kB / 0.8261 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.518e-05/0.4032, allocations: 19 kB / 0.8261 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/0.4032, allocations: 7.219 kB / 0.8261 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.497e-05/0.4033, allocations: 20.45 kB / 0.8261 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.007e-05/0.4034, allocations: 12.23 kB / 0.8261 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.4034, allocations: 5.969 kB / 0.8262 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.672e-05/0.4034, allocations: 116.1 kB / 0.8263 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.4034, allocations: 5.125 kB / 0.8263 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001586/0.4036, allocations: 36.59 kB / 0.8263 GB, free: 12.4 MB / 0.6198 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 5.849e-05/0.4036, allocations: 102.6 kB / 0.8264 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002627/0.4039, allocations: 139.5 kB / 0.8265 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.4039, allocations: 1.25 kB / 0.8265 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000112/0.404, allocations: 68.8 kB / 0.8266 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002035/0.4042, allocations: 23.78 kB / 0.8266 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005026/0.4047, allocations: 424.2 kB / 0.827 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.726e-05/0.4048, allocations: 110.4 kB / 0.8271 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.357e-05/0.4048, allocations: 17.58 kB / 0.8271 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of SimCode: time 3.2e-07/0.4048, allocations: 0 / 0.8271 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of Templates: time 0.002607/0.4074, allocations: 1.908 MB / 0.829 GB, free: 11.69 MB / 0.6198 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.269192025065422] Failed to read output from testmodel.py, exit status != 0: 0.41266598692163825 0.42083673099999996 0.020692251000000002 Calling exit ...