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.0008647/0.0008647, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.0009154/0.0009154, allocations: 181 kB / 23.36 MB, free: 1.133 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 0.9614/0.9614, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.8022/0.8022, allocations: 154.9 MB / 415.1 MB, free: 240 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_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.713e-06/1.713e-06, allocations: 0 / 480.3 MB, free: 6.598 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.389e-05/1.56e-05, allocations: 7.562 kB / 480.3 MB, free: 6.594 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling): time 0.00569/0.005705, allocations: 2.068 MB / 482.4 MB, free: 4.551 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008884/0.006594, allocations: 0.5938 MB / 483 MB, free: 3.965 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.719e-05/0.006681, allocations: 3.938 kB / 483 MB, free: 3.961 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001139/0.006795, allocations: 28.55 kB / 483 MB, free: 3.934 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 9.996e-05/0.006895, allocations: 51.02 kB / 483.1 MB, free: 3.895 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002264/0.007121, allocations: 68.34 kB / 483.1 MB, free: 3.828 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.000192/0.007313, allocations: 191.2 kB / 483.3 MB, free: 3.641 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.007438, allocations: 52.16 kB / 483.4 MB, free: 3.586 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003219/0.01066, allocations: 111.8 kB / 483.5 MB, free: 3.477 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/0.01076, allocations: 60.95 kB / 483.5 MB, free: 3.418 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.493e-05/0.01079, allocations: 12 kB / 483.5 MB, free: 3.406 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.109e-05/0.01084, allocations: 27.94 kB / 483.6 MB, free: 3.379 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 3.204e-05/0.01087, allocations: 37.77 kB / 483.6 MB, free: 3.344 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 5.377e-05/0.01092, allocations: 52.91 kB / 483.7 MB, free: 3.293 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000419/0.01134, allocations: 131.5 kB / 483.8 MB, free: 3.164 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.01134, allocations: 0 / 483.8 MB, free: 3.164 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.02e-07/0.01135, allocations: 0 / 483.8 MB, free: 3.164 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.106e-06/0.01135, allocations: 1.094 kB / 483.8 MB, free: 3.164 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.0004392/0.01179, allocations: 384.4 kB / 484.2 MB, free: 2.77 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.01182, allocations: 12.03 kB / 484.2 MB, free: 2.758 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001043/0.01192, allocations: 26.17 kB / 484.2 MB, free: 2.734 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.01207, allocations: 149.5 kB / 484.4 MB, free: 2.562 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.766e-05/0.01213, allocations: 67.91 kB / 484.4 MB, free: 2.484 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.784e-05/0.01216, allocations: 19.48 kB / 484.4 MB, free: 2.469 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/0.01233, allocations: 122.8 kB / 484.6 MB, free: 2.34 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.01234, allocations: 192 / 484.6 MB, free: 2.34 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.01236, allocations: 12.12 kB / 484.6 MB, free: 2.328 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.01236, allocations: 0 / 484.6 MB, free: 2.328 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.092e-05/0.01244, allocations: 39.91 kB / 484.6 MB, free: 2.289 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004204/0.01286, allocations: 297.9 kB / 484.9 MB, free: 1.984 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001514/0.01302, allocations: 63.42 kB / 485 MB, free: 1.914 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.792e-05/0.01305, allocations: 28.84 kB / 485 MB, free: 1.883 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.565e-05/0.01307, allocations: 8.844 kB / 485 MB, free: 1.875 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.01309, allocations: 31.41 kB / 485 MB, free: 1.836 MB / 442.7 MB Notification: Performance of pre-optimization done (n=12): time 8.91e-07/0.01309, allocations: 0.625 kB / 485 MB, free: 1.836 MB / 442.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001613/0.01325, allocations: 85.53 kB / 485.1 MB, free: 1.746 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.803e-05/0.01328, allocations: 56.03 kB / 485.2 MB, free: 1.68 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.75e-05/0.01337, allocations: 156.9 kB / 485.3 MB, free: 1.516 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.01338, allocations: 29.7 kB / 485.3 MB, free: 1.48 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003078/0.01646, allocations: 120.9 kB / 485.5 MB, free: 1.355 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.024e-05/0.01649, allocations: 43.61 kB / 485.5 MB, free: 1.312 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.901e-05/0.01654, allocations: 34.28 kB / 485.5 MB, free: 1.273 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.096e-05/0.01662, allocations: 327.4 kB / 485.9 MB, free: 0.9453 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.794e-05/0.01665, allocations: 16 kB / 485.9 MB, free: 0.9297 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.443e-05/0.01669, allocations: 45.09 kB / 485.9 MB, free: 0.8789 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.272e-05/0.01676, allocations: 55.34 kB / 486 MB, free: 0.8164 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.01677, allocations: 1.781 kB / 486 MB, free: 0.8164 MB / 442.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001159/0.01688, allocations: 84.23 kB / 486.1 MB, free: 0.7305 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.01689, allocations: 11.98 kB / 486.1 MB, free: 0.7188 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.0169, allocations: 0.6562 kB / 486.1 MB, free: 0.7188 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.01691, allocations: 7.875 kB / 486.1 MB, free: 0.7109 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.01701, allocations: 32.98 kB / 486.1 MB, free: 0.6797 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.695e-06/0.01701, allocations: 0 / 486.1 MB, free: 0.6797 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.007e-05/0.01707, allocations: 20.61 kB / 486.1 MB, free: 0.6602 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.01708, allocations: 4 kB / 486.1 MB, free: 0.6562 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.723e-05/0.01715, allocations: 124.1 kB / 486.3 MB, free: 0.5273 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.81e-05/0.01718, allocations: 7.984 kB / 486.3 MB, free: 0.5195 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.003e-05/0.01721, allocations: 18.88 kB / 486.3 MB, free: 0.5 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.01721, allocations: 7.938 kB / 486.3 MB, free: 0.4922 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.01721, allocations: 0 / 486.3 MB, free: 0.4922 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.01721, allocations: 5.266 kB / 486.3 MB, free: 500 kB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001467/0.01736, allocations: 105.8 kB / 486.4 MB, free: 376 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.01736, allocations: 4 kB / 486.4 MB, free: 372 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.483e-05/0.01745, allocations: 28.48 kB / 486.4 MB, free: 344 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.01745, allocations: 1.906 kB / 486.4 MB, free: 344 kB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.01746, allocations: 4 kB / 486.4 MB, free: 340 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.01746, allocations: 4 kB / 486.4 MB, free: 336 kB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.01746, allocations: 0 / 486.4 MB, free: 336 kB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001697/0.01763, allocations: 191.4 kB / 486.6 MB, free: 128 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.562e-05/0.01765, allocations: 20.59 kB / 486.6 MB, free: 108 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.01766, allocations: 4 kB / 486.7 MB, free: 104 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.647e-05/0.01774, allocations: 12.83 kB / 486.7 MB, free: 92 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.764e-05/0.01778, allocations: 15.97 kB / 486.7 MB, free: 76 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.01778, allocations: 9.094 kB / 486.7 MB, free: 68 kB / 442.7 MB Notification: Performance of sorting global known variables: time 3.133e-05/0.01782, allocations: 39.39 kB / 486.7 MB, free: 28 kB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01782, allocations: 0 / 486.7 MB, free: 28 kB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002225/0.01804, allocations: 33.14 kB / 486.8 MB, free: 15.99 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.41e-05/0.0181, allocations: 78.23 kB / 486.8 MB, free: 15.91 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 9.948e-05/0.0182, allocations: 59.73 kB / 486.9 MB, free: 15.86 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.01821, allocations: 5.188 kB / 486.9 MB, free: 15.85 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 4.281e-05/0.01825, allocations: 32.78 kB / 486.9 MB, free: 15.82 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000185/0.01843, allocations: 32.67 kB / 487 MB, free: 15.79 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006699/0.0191, allocations: 365.3 kB / 487.3 MB, free: 15.43 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.239e-05/0.01915, allocations: 75.27 kB / 487.4 MB, free: 15.33 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.654e-05/0.01919, allocations: 8.469 kB / 487.4 MB, free: 15.33 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003082/0.02227, allocations: 68.27 kB / 487.5 MB, free: 15.26 MB / 458.7 MB Notification: Performance of SimCode: time 8.11e-07/0.02227, allocations: 0 / 487.5 MB, free: 15.26 MB / 458.7 MB Notification: Performance of Templates: time 0.006611/0.02889, allocations: 1.625 MB / 489.1 MB, free: 13.76 MB / 458.7 MB " [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: 3.5757002062164247]