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.000832/0.000832, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 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.0009872/0.0009872, allocations: 177 kB / 23.36 MB, free: 1.129 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.011/1.011, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.9225/0.9225, allocations: 154.9 MB / 415.1 MB, free: 200 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 1.443e-06/1.443e-06, allocations: 0 / 480.4 MB, free: 6.547 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.491e-05/1.635e-05, allocations: 8.156 kB / 480.4 MB, free: 6.539 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating): time 0.00609/0.006106, allocations: 2.111 MB / 482.5 MB, free: 4.461 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001132/0.007239, allocations: 0.5962 MB / 483.1 MB, free: 3.871 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.00734, allocations: 4.781 kB / 483.1 MB, free: 3.867 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001125/0.007453, allocations: 20.45 kB / 483.1 MB, free: 3.848 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001003/0.007553, allocations: 54.31 kB / 483.1 MB, free: 3.805 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002455/0.007799, allocations: 72.34 kB / 483.2 MB, free: 3.734 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.000184/0.007983, allocations: 193.1 kB / 483.4 MB, free: 3.547 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001496/0.008132, allocations: 50.14 kB / 483.5 MB, free: 3.496 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002129/0.008345, allocations: 111.8 kB / 483.6 MB, free: 3.387 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001066/0.008452, allocations: 59.8 kB / 483.6 MB, free: 3.328 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.435e-05/0.008476, allocations: 12 kB / 483.6 MB, free: 3.316 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.084e-05/0.008547, allocations: 29.59 kB / 483.7 MB, free: 3.289 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 3.067e-05/0.008578, allocations: 35.83 kB / 483.7 MB, free: 3.254 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.744e-05/0.008625, allocations: 55.89 kB / 483.7 MB, free: 3.199 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001792/0.008804, allocations: 131.5 kB / 483.9 MB, free: 3.07 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.008806, allocations: 1.25 kB / 483.9 MB, free: 3.07 MB / 442.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.008807, allocations: 0 / 483.9 MB, free: 3.07 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.008811, allocations: 0 / 483.9 MB, free: 3.07 MB / 442.7 MB 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.0004537/0.009264, allocations: 380.6 kB / 484.3 MB, free: 2.68 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.0093, allocations: 12.66 kB / 484.3 MB, free: 2.668 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001285/0.009428, allocations: 29.53 kB / 484.3 MB, free: 2.641 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001727/0.009601, allocations: 149.5 kB / 484.4 MB, free: 2.469 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.929e-05/0.00966, allocations: 64.59 kB / 484.5 MB, free: 2.395 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.32e-05/0.009683, allocations: 16.95 kB / 484.5 MB, free: 2.379 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/0.009844, allocations: 123.5 kB / 484.6 MB, free: 2.25 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.009853, allocations: 5.062 kB / 484.6 MB, free: 2.246 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.009866, allocations: 12.12 kB / 484.7 MB, free: 2.234 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.009872, allocations: 0 / 484.7 MB, free: 2.234 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.778e-05/0.00995, allocations: 37.48 kB / 484.7 MB, free: 2.199 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003989/0.01035, allocations: 296.7 kB / 485 MB, free: 1.895 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001582/0.01051, allocations: 67.53 kB / 485 MB, free: 1.82 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.6e-05/0.01054, allocations: 28.86 kB / 485.1 MB, free: 1.789 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.01056, allocations: 7.938 kB / 485.1 MB, free: 1.781 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.235e-05/0.01058, allocations: 35.08 kB / 485.1 MB, free: 1.738 MB / 442.7 MB Notification: Performance of pre-optimization done (n=12): time 1.052e-06/0.01058, allocations: 1.312 kB / 485.1 MB, free: 1.738 MB / 442.7 MB Notification: Performance of matching and sorting (n=12): time 0.000152/0.01073, allocations: 81.33 kB / 485.2 MB, free: 1.656 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.9e-05/0.01076, allocations: 59.34 kB / 485.3 MB, free: 1.586 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.745e-05/0.01085, allocations: 156.9 kB / 485.4 MB, free: 1.422 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.01087, allocations: 29.7 kB / 485.4 MB, free: 1.387 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.61e-05/0.01093, allocations: 125.4 kB / 485.6 MB, free: 1.262 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.739e-05/0.01096, allocations: 43.61 kB / 485.6 MB, free: 1.219 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.032e-05/0.011, allocations: 29.67 kB / 485.6 MB, free: 1.184 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.457e-05/0.0111, allocations: 327.9 kB / 486 MB, free: 0.8555 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.672e-05/0.01112, allocations: 19.92 kB / 486 MB, free: 0.8359 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.372e-05/0.01117, allocations: 40.23 kB / 486 MB, free: 0.7891 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.433e-05/0.01123, allocations: 51.61 kB / 486.1 MB, free: 0.7305 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.01123, allocations: 0.5625 kB / 486.1 MB, free: 0.7305 MB / 442.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 9.887e-05/0.01133, allocations: 90.22 kB / 486.2 MB, free: 0.6367 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/0.01134, allocations: 5.562 kB / 486.2 MB, free: 0.6328 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.848e-06/0.01135, allocations: 3.938 kB / 486.2 MB, free: 0.6289 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.01136, allocations: 3.938 kB / 486.2 MB, free: 0.625 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.01148, allocations: 35.97 kB / 486.2 MB, free: 0.5898 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.898e-06/0.01149, allocations: 4.75 kB / 486.2 MB, free: 0.5859 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.112e-05/0.01154, allocations: 21.92 kB / 486.2 MB, free: 0.5664 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.393e-06/0.01154, allocations: 0 / 486.2 MB, free: 0.5664 MB / 442.7 MB 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 6.759e-05/0.01161, allocations: 121.8 kB / 486.3 MB, free: 448 kB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.326e-05/0.01163, allocations: 11.98 kB / 486.4 MB, free: 436 kB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.985e-05/0.01166, allocations: 17.47 kB / 486.4 MB, free: 416 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.01167, allocations: 7.547 kB / 486.4 MB, free: 412 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-06/0.01167, allocations: 0.7188 kB / 486.4 MB, free: 412 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.01167, allocations: 0 / 486.4 MB, free: 412 kB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001204/0.01179, allocations: 111.1 kB / 486.5 MB, free: 284 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.0118, allocations: 0 / 486.5 MB, free: 284 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.48e-05/0.01189, allocations: 31.97 kB / 486.5 MB, free: 252 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.01189, allocations: 0.625 kB / 486.5 MB, free: 252 kB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.0119, allocations: 8 kB / 486.5 MB, free: 244 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.0119, allocations: 4.531 kB / 486.5 MB, free: 240 kB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.01191, allocations: 5.375 kB / 486.5 MB, free: 236 kB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001702/0.01208, allocations: 190 kB / 486.7 MB, free: 32 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.515e-05/0.01209, allocations: 19.84 kB / 486.7 MB, free: 12 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/0.01211, allocations: 8 kB / 486.8 MB, free: 4 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.161e-05/0.01218, allocations: 12.69 kB / 486.8 MB, free: 15.99 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.553e-05/0.01222, allocations: 20.8 kB / 486.8 MB, free: 15.97 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.049e-06/0.01223, allocations: 4 kB / 486.8 MB, free: 15.97 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.265e-05/0.01226, allocations: 39.39 kB / 486.8 MB, free: 15.93 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01226, allocations: 0.6562 kB / 486.8 MB, free: 15.93 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001471/0.01241, allocations: 37.03 kB / 486.9 MB, free: 15.89 MB / 458.7 MB 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 6.583e-05/0.01247, allocations: 72.95 kB / 486.9 MB, free: 15.82 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 9.778e-05/0.01257, allocations: 62.69 kB / 487 MB, free: 15.75 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.01257, allocations: 0 / 487 MB, free: 15.75 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 4.034e-05/0.01261, allocations: 36.78 kB / 487 MB, free: 15.71 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001664/0.01278, allocations: 28.97 kB / 487.1 MB, free: 15.69 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006399/0.01342, allocations: 366.8 kB / 487.4 MB, free: 15.32 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.382e-05/0.01346, allocations: 71.92 kB / 487.5 MB, free: 15.23 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.356e-05/0.01351, allocations: 8.516 kB / 487.5 MB, free: 15.23 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.892e-05/0.01359, allocations: 71.36 kB / 487.6 MB, free: 15.16 MB / 458.7 MB Notification: Performance of SimCode: time 1.012e-06/0.01359, allocations: 0 / 487.6 MB, free: 15.16 MB / 458.7 MB Notification: Performance of Templates: time 0.003325/0.01691, allocations: 1.675 MB / 489.2 MB, free: 13.62 MB / 458.7 MB " [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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7282716990448534]