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.0006718/0.0006718, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009131/0.001585, allocations: 440 kB / 10.41 MB, free: 284 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.00106/0.00106, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001355/0.002416, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.017/1.017, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09044/1.107, allocations: 53.66 MB / 243.4 MB, free: 15.48 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.8376/0.8376, allocations: 155.3 MB / 399.5 MB, free: 15.8 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.3015/1.139, allocations: 49.14 MB / 448.6 MB, free: 5.875 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_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.142e-06/1.142e-06, allocations: 0 / 449.9 MB, free: 4.613 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.951e-05/2.065e-05, allocations: 2.312 kB / 449.9 MB, free: 4.609 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating): time 0.002757/0.002777, allocations: 2.134 MB / 452.1 MB, free: 2.504 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009545/0.003732, allocations: 0.5993 MB / 452.7 MB, free: 1.91 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001189/0.003851, allocations: 4.984 kB / 452.7 MB, free: 1.906 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 8.773e-05/0.003939, allocations: 23.73 kB / 452.7 MB, free: 1.883 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001155/0.004054, allocations: 51 kB / 452.7 MB, free: 1.852 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002061/0.00426, allocations: 74.69 kB / 452.8 MB, free: 1.781 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002308/0.004491, allocations: 184.7 kB / 453 MB, free: 1.602 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001398/0.004631, allocations: 54.38 kB / 453 MB, free: 1.551 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002384/0.004869, allocations: 128.4 kB / 453.2 MB, free: 1.426 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001153/0.004984, allocations: 63.8 kB / 453.2 MB, free: 1.363 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.916e-05/0.005013, allocations: 16 kB / 453.2 MB, free: 1.348 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.998e-05/0.005083, allocations: 16 kB / 453.3 MB, free: 1.332 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 3.317e-05/0.005117, allocations: 32.77 kB / 453.3 MB, free: 1.301 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 5.223e-05/0.005169, allocations: 43.94 kB / 453.3 MB, free: 1.258 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002066/0.005375, allocations: 111.5 kB / 453.4 MB, free: 1.148 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.381e-05/0.005389, allocations: 1.25 kB / 453.4 MB, free: 1.148 MB / 426.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.00539, allocations: 0 / 453.4 MB, free: 1.148 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.175e-05/0.005402, allocations: 4 kB / 453.4 MB, free: 1.145 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.0005731/0.005975, allocations: 425.1 kB / 453.9 MB, free: 0.7109 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.00601, allocations: 12.03 kB / 453.9 MB, free: 0.6992 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001763/0.006187, allocations: 110.6 kB / 454 MB, free: 0.5742 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001905/0.006377, allocations: 141.6 kB / 454.1 MB, free: 420 kB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.133e-05/0.006448, allocations: 67.91 kB / 454.2 MB, free: 340 kB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.98e-05/0.006478, allocations: 13.28 kB / 454.2 MB, free: 328 kB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002065/0.006685, allocations: 124.3 kB / 454.3 MB, free: 196 kB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.006695, allocations: 1.359 kB / 454.3 MB, free: 196 kB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.006708, allocations: 8 kB / 454.3 MB, free: 188 kB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.006716, allocations: 4 kB / 454.3 MB, free: 184 kB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.197e-05/0.006798, allocations: 32.5 kB / 454.4 MB, free: 152 kB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004768/0.007275, allocations: 309.5 kB / 454.7 MB, free: 15.83 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001954/0.00747, allocations: 68.31 kB / 454.7 MB, free: 15.76 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.714e-05/0.007507, allocations: 20.84 kB / 454.8 MB, free: 15.73 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.706e-05/0.007524, allocations: 5.031 kB / 454.8 MB, free: 15.73 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/0.007549, allocations: 38.5 kB / 454.8 MB, free: 15.68 MB / 442.7 MB Notification: Performance of pre-optimization done (n=12): time 1.263e-06/0.00755, allocations: 0 / 454.8 MB, free: 15.68 MB / 442.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001771/0.007727, allocations: 89.47 kB / 454.9 MB, free: 15.59 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.59e-05/0.007753, allocations: 51.41 kB / 454.9 MB, free: 15.53 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.507e-05/0.007848, allocations: 161.1 kB / 455.1 MB, free: 15.36 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.007866, allocations: 25.7 kB / 455.1 MB, free: 15.33 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.091e-05/0.007927, allocations: 128.8 kB / 455.2 MB, free: 15.2 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.293e-05/0.00796, allocations: 39.67 kB / 455.3 MB, free: 15.16 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.017e-05/0.00801, allocations: 30.41 kB / 455.3 MB, free: 15.12 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.765e-05/0.008098, allocations: 331.4 kB / 455.6 MB, free: 14.79 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.668e-05/0.008124, allocations: 8 kB / 455.6 MB, free: 14.79 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.383e-05/0.008168, allocations: 42.02 kB / 455.7 MB, free: 14.74 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.465e-05/0.008253, allocations: 58.48 kB / 455.7 MB, free: 14.67 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.008255, allocations: 1.062 kB / 455.7 MB, free: 14.67 MB / 442.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001246/0.008379, allocations: 89.88 kB / 455.8 MB, free: 14.58 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.008393, allocations: 7.938 kB / 455.8 MB, free: 14.57 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.008399, allocations: 4 kB / 455.8 MB, free: 14.57 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.008411, allocations: 0.5312 kB / 455.8 MB, free: 14.57 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000167/0.008578, allocations: 41.59 kB / 455.9 MB, free: 14.53 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.008582, allocations: 7.938 kB / 455.9 MB, free: 14.52 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.395e-05/0.008646, allocations: 19.88 kB / 455.9 MB, free: 14.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.856e-06/0.008655, allocations: 4 kB / 455.9 MB, free: 14.5 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 7.218e-05/0.008727, allocations: 119 kB / 456 MB, free: 14.38 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.151e-05/0.008758, allocations: 15.92 kB / 456 MB, free: 14.36 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.481e-05/0.008793, allocations: 19.02 kB / 456.1 MB, free: 14.34 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.008795, allocations: 0 / 456.1 MB, free: 14.34 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.325e-06/0.008797, allocations: 0.9062 kB / 456.1 MB, free: 14.34 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.008802, allocations: 3.984 kB / 456.1 MB, free: 14.33 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001532/0.008955, allocations: 113.7 kB / 456.2 MB, free: 14.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.008957, allocations: 4.875 kB / 456.2 MB, free: 14.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001211/0.009079, allocations: 36.83 kB / 456.2 MB, free: 14.16 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.302e-05/0.009092, allocations: 7.953 kB / 456.2 MB, free: 14.16 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.009095, allocations: 3.938 kB / 456.2 MB, free: 14.15 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.009108, allocations: 8.609 kB / 456.2 MB, free: 14.14 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.009111, allocations: 0.625 kB / 456.2 MB, free: 14.14 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.009112, allocations: 0 / 456.2 MB, free: 14.14 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001891/0.009301, allocations: 189.9 kB / 456.4 MB, free: 13.95 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.993e-05/0.009321, allocations: 16.48 kB / 456.4 MB, free: 13.93 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.905e-05/0.0094, allocations: 8.625 kB / 456.5 MB, free: 13.92 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.229e-05/0.009442, allocations: 15.97 kB / 456.5 MB, free: 13.91 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.009448, allocations: 1.062 kB / 456.5 MB, free: 13.91 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.701e-05/0.009485, allocations: 48.03 kB / 456.5 MB, free: 13.86 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009485, allocations: 0 / 456.5 MB, free: 13.86 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002072/0.009692, allocations: 36.88 kB / 456.6 MB, free: 13.82 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 8.764e-05/0.00978, allocations: 77.83 kB / 456.6 MB, free: 13.74 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001144/0.009894, allocations: 56.77 kB / 456.7 MB, free: 13.68 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.826e-06/0.009903, allocations: 4 kB / 456.7 MB, free: 13.68 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 6.226e-05/0.009965, allocations: 45.33 kB / 456.7 MB, free: 13.63 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002494/0.01021, allocations: 140.9 kB / 456.9 MB, free: 13.47 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002374/0.01259, allocations: 359.6 kB / 457.2 MB, free: 13.1 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.691e-05/0.01264, allocations: 75.19 kB / 457.3 MB, free: 13.01 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 6.449e-05/0.0127, allocations: 13.31 kB / 457.3 MB, free: 13 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.298e-05/0.01279, allocations: 71.36 kB / 457.4 MB, free: 12.93 MB / 442.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01279, allocations: 0 / 457.4 MB, free: 12.93 MB / 442.7 MB Notification: Performance of Templates: time 0.004117/0.01691, allocations: 1.707 MB / 459.1 MB, free: 11.36 MB / 442.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 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6665181247517467]