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.0007743/0.0007743, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0015/0.002275, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.000954/0.000954, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001324/0.002278, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 1.062/1.062, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1051/1.167, allocations: 53.65 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.8282/0.8282, allocations: 155.3 MB / 399.3 MB, free: 15.92 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2824/1.111, allocations: 49.12 MB / 448.4 MB, free: 6.012 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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.473e-06/1.473e-06, allocations: 0 / 449.7 MB, free: 4.77 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.511e-05/2.658e-05, allocations: 3.578 kB / 449.7 MB, free: 4.766 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling): time 0.007249/0.007275, allocations: 2.123 MB / 451.8 MB, free: 2.672 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009799/0.008255, allocations: 0.5998 MB / 452.4 MB, free: 2.078 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.008356, allocations: 7.938 kB / 452.4 MB, free: 2.07 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 7.979e-05/0.008436, allocations: 21.42 kB / 452.4 MB, free: 2.051 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 9.459e-05/0.00853, allocations: 51 kB / 452.5 MB, free: 2.012 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001823/0.008713, allocations: 69.06 kB / 452.5 MB, free: 1.945 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002137/0.008926, allocations: 196.6 kB / 452.7 MB, free: 1.754 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001437/0.00907, allocations: 49.56 kB / 452.8 MB, free: 1.703 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002395/0.00931, allocations: 128.8 kB / 452.9 MB, free: 1.582 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.009425, allocations: 63.8 kB / 453 MB, free: 1.52 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.566e-05/0.009451, allocations: 12.56 kB / 453 MB, free: 1.508 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.252e-05/0.009523, allocations: 22.38 kB / 453 MB, free: 1.488 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 3.044e-05/0.009554, allocations: 27.88 kB / 453 MB, free: 1.461 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 5.03e-05/0.009604, allocations: 39.94 kB / 453.1 MB, free: 1.422 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002006/0.009805, allocations: 119.5 kB / 453.2 MB, free: 1.305 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.7e-05/0.009822, allocations: 0 / 453.2 MB, free: 1.305 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.009823, allocations: 0 / 453.2 MB, free: 1.305 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.684e-05/0.00984, allocations: 0 / 453.2 MB, free: 1.305 MB / 426.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.003606/0.01345, allocations: 429.2 kB / 453.6 MB, free: 0.8672 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.01348, allocations: 12.03 kB / 453.6 MB, free: 0.8555 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001699/0.01365, allocations: 106 kB / 453.7 MB, free: 0.7344 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001826/0.01383, allocations: 147.5 kB / 453.8 MB, free: 0.5664 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.247e-05/0.01391, allocations: 63.97 kB / 453.9 MB, free: 0.4922 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.575e-05/0.01393, allocations: 13.72 kB / 453.9 MB, free: 492 kB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002088/0.01414, allocations: 122.4 kB / 454 MB, free: 360 kB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.01415, allocations: 0.625 kB / 454 MB, free: 360 kB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.01417, allocations: 8 kB / 454.1 MB, free: 352 kB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.01417, allocations: 2.531 kB / 454.1 MB, free: 352 kB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.083e-05/0.01426, allocations: 40.45 kB / 454.1 MB, free: 312 kB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004882/0.01475, allocations: 299.8 kB / 454.4 MB, free: 15.99 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001934/0.01494, allocations: 63.64 kB / 454.5 MB, free: 15.93 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.928e-05/0.01498, allocations: 28.84 kB / 454.5 MB, free: 15.89 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.728e-05/0.015, allocations: 8.438 kB / 454.5 MB, free: 15.89 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/0.01502, allocations: 34.5 kB / 454.5 MB, free: 15.84 MB / 442.7 MB Notification: Performance of pre-optimization done (n=12): time 2.675e-06/0.01503, allocations: 2.938 kB / 454.5 MB, free: 15.84 MB / 442.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001887/0.01521, allocations: 85.59 kB / 454.6 MB, free: 15.75 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.178e-05/0.01525, allocations: 55.41 kB / 454.7 MB, free: 15.69 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.712e-05/0.01534, allocations: 149.7 kB / 454.8 MB, free: 15.53 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.01536, allocations: 34.55 kB / 454.8 MB, free: 15.49 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.734e-05/0.01542, allocations: 120.2 kB / 455 MB, free: 15.37 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.595e-05/0.01546, allocations: 40.67 kB / 455 MB, free: 15.33 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.921e-05/0.0155, allocations: 33.69 kB / 455 MB, free: 15.29 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.807e-05/0.01559, allocations: 326.8 kB / 455.4 MB, free: 14.96 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.119e-05/0.01562, allocations: 16.47 kB / 455.4 MB, free: 14.95 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.449e-05/0.01567, allocations: 35.88 kB / 455.4 MB, free: 14.91 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.906e-05/0.01575, allocations: 54.52 kB / 455.5 MB, free: 14.84 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.01575, allocations: 0.6562 kB / 455.5 MB, free: 14.84 MB / 442.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001331/0.01588, allocations: 91.83 kB / 455.5 MB, free: 14.75 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.0159, allocations: 11.92 kB / 455.6 MB, free: 14.74 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.0159, allocations: 3.938 kB / 455.6 MB, free: 14.73 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.01592, allocations: 4.844 kB / 455.6 MB, free: 14.73 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008643/0.01678, allocations: 37.14 kB / 455.6 MB, free: 14.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.01678, allocations: 0 / 455.6 MB, free: 14.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.759e-05/0.01686, allocations: 23.88 kB / 455.6 MB, free: 14.67 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.01687, allocations: 4.594 kB / 455.6 MB, free: 14.67 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 8.518e-05/0.01696, allocations: 119.6 kB / 455.7 MB, free: 14.54 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.895e-05/0.017, allocations: 19.92 kB / 455.8 MB, free: 14.52 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.857e-05/0.01704, allocations: 17.45 kB / 455.8 MB, free: 14.5 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.01704, allocations: 4 kB / 455.8 MB, free: 14.5 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.01704, allocations: 0 / 455.8 MB, free: 14.5 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.01705, allocations: 5.281 kB / 455.8 MB, free: 14.5 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001756/0.01722, allocations: 118.4 kB / 455.9 MB, free: 14.36 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.01723, allocations: 0 / 455.9 MB, free: 14.36 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001303/0.01736, allocations: 33 kB / 455.9 MB, free: 14.33 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.751e-05/0.01737, allocations: 7.953 kB / 455.9 MB, free: 14.32 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.01738, allocations: 4.469 kB / 456 MB, free: 14.32 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.01739, allocations: 4 kB / 456 MB, free: 14.32 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.01739, allocations: 1.094 kB / 456 MB, free: 14.32 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.01739, allocations: 0 / 456 MB, free: 14.32 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002238/0.01762, allocations: 192 kB / 456.1 MB, free: 14.11 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.26e-05/0.01764, allocations: 7.938 kB / 456.2 MB, free: 14.11 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.216e-05/0.01772, allocations: 12.61 kB / 456.2 MB, free: 14.09 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.55e-05/0.01777, allocations: 13.31 kB / 456.2 MB, free: 14.08 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.01778, allocations: 7.984 kB / 456.2 MB, free: 14.07 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.144e-05/0.01782, allocations: 39.06 kB / 456.2 MB, free: 14.04 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01782, allocations: 0 / 456.2 MB, free: 14.04 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002294/0.01805, allocations: 40.56 kB / 456.3 MB, free: 14 MB / 442.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 0.0001089/0.01816, allocations: 85.56 kB / 456.3 MB, free: 13.91 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001337/0.01829, allocations: 55.14 kB / 456.4 MB, free: 13.85 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.014e-05/0.0183, allocations: 0 / 456.4 MB, free: 13.85 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 5.699e-05/0.01836, allocations: 38.56 kB / 456.4 MB, free: 13.81 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000246/0.0186, allocations: 37.5 kB / 456.5 MB, free: 13.78 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002701/0.02131, allocations: 381.6 kB / 456.8 MB, free: 13.39 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.972e-05/0.02137, allocations: 75.19 kB / 456.9 MB, free: 13.3 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 7.054e-05/0.02144, allocations: 8.234 kB / 456.9 MB, free: 13.29 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.81e-05/0.02153, allocations: 67.36 kB / 457 MB, free: 13.22 MB / 442.7 MB Notification: Performance of SimCode: time 9.22e-07/0.02154, allocations: 4 kB / 457 MB, free: 13.22 MB / 442.7 MB Notification: Performance of Templates: time 0.004885/0.02642, allocations: 1.731 MB / 458.7 MB, free: 11.62 MB / 442.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.709819069132209]