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.0007609/0.0007609, allocations: 77.88 kB / 20.66 MB, free: 3.852 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.0008547/0.0008547, allocations: 165 kB / 24.06 MB, free: 464 kB / 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.015/1.015, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.7965/0.7965, allocations: 154.9 MB / 415.9 MB, free: 272 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.603e-06/1.603e-06, allocations: 3.938 kB / 0.5218 GB, free: 1.602 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.38e-05/2.541e-05, allocations: 2.312 kB / 0.5218 GB, free: 1.598 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling): time 0.002735/0.00276, allocations: 2.065 MB / 0.5239 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0009295/0.00369, allocations: 0.5806 MB / 0.5244 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001069/0.003796, allocations: 4 kB / 0.5244 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001187/0.003915, allocations: 19.73 kB / 0.5244 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 9.527e-05/0.00401, allocations: 52.94 kB / 0.5245 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002715/0.004282, allocations: 72.53 kB / 0.5246 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001932/0.004475, allocations: 192.6 kB / 0.5248 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001423/0.004617, allocations: 50.52 kB / 0.5248 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002197/0.004837, allocations: 111.8 kB / 0.5249 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001031/0.00494, allocations: 55.81 kB / 0.525 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.449e-05/0.004965, allocations: 17.34 kB / 0.525 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.297e-05/0.005018, allocations: 27.91 kB / 0.525 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.924e-05/0.005047, allocations: 35.86 kB / 0.525 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.599e-05/0.005093, allocations: 59.27 kB / 0.5251 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001737/0.005266, allocations: 123.5 kB / 0.5252 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.00527, allocations: 0 / 0.5252 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.72e-07/0.005271, allocations: 0 / 0.5252 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.005275, allocations: 0 / 0.5252 GB, free: 14.16 MB / 0.4948 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.0005147/0.00579, allocations: 0.5036 MB / 0.5257 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.005827, allocations: 8.562 kB / 0.5257 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001353/0.005963, allocations: 41.34 kB / 0.5258 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001653/0.006128, allocations: 156.9 kB / 0.5259 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.018e-05/0.006188, allocations: 63.97 kB / 0.526 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.494e-05/0.006213, allocations: 13.25 kB / 0.526 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001985/0.006412, allocations: 124.3 kB / 0.5261 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.006423, allocations: 4.172 kB / 0.5261 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.006436, allocations: 8.125 kB / 0.5261 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.006442, allocations: 4 kB / 0.5261 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.757e-05/0.006529, allocations: 40.88 kB / 0.5261 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005013/0.007031, allocations: 410.4 kB / 0.5265 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001888/0.00722, allocations: 79.16 kB / 0.5266 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.159e-05/0.007261, allocations: 31.66 kB / 0.5266 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.685e-05/0.007278, allocations: 4 kB / 0.5266 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.035e-05/0.007298, allocations: 34.2 kB / 0.5267 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=12): time 1.523e-06/0.0073, allocations: 0 / 0.5267 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12): time 0.000194/0.007494, allocations: 110.7 kB / 0.5268 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.738e-05/0.007551, allocations: 55.41 kB / 0.5268 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.00767, allocations: 212.4 kB / 0.527 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.00769, allocations: 27.05 kB / 0.5271 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.548e-05/0.007765, allocations: 171 kB / 0.5272 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.291e-05/0.007798, allocations: 47.56 kB / 0.5273 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.755e-05/0.007846, allocations: 39.34 kB / 0.5273 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.007966, allocations: 0.4948 MB / 0.5278 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.452e-05/0.008001, allocations: 15.98 kB / 0.5278 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.512e-05/0.008046, allocations: 45.14 kB / 0.5279 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.86e-05/0.008125, allocations: 66.97 kB / 0.5279 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.008127, allocations: 0 / 0.5279 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001343/0.008261, allocations: 115.1 kB / 0.528 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.008274, allocations: 8 kB / 0.528 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.008279, allocations: 0 / 0.528 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.00829, allocations: 3.938 kB / 0.528 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.00841, allocations: 43.91 kB / 0.5281 GB, free: 11 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.795e-06/0.008413, allocations: 0 / 0.5281 GB, free: 11 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.909e-05/0.008482, allocations: 16.98 kB / 0.5281 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.008492, allocations: 11.94 kB / 0.5281 GB, free: 10.98 MB / 0.4948 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 8.445e-05/0.008577, allocations: 161.5 kB / 0.5283 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.755e-05/0.008604, allocations: 15.91 kB / 0.5283 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.015e-05/0.008635, allocations: 14.41 kB / 0.5283 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.008639, allocations: 7.938 kB / 0.5283 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.008641, allocations: 0.6562 kB / 0.5283 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.008645, allocations: 3.984 kB / 0.5283 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001496/0.008795, allocations: 142.4 kB / 0.5284 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.008796, allocations: 0 / 0.5284 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.244e-05/0.008889, allocations: 27.92 kB / 0.5285 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.008891, allocations: 2.438 kB / 0.5285 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.008903, allocations: 8 kB / 0.5285 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.008904, allocations: 0 / 0.5285 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.008905, allocations: 0 / 0.5285 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002038/0.009109, allocations: 259.7 kB / 0.5287 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.552e-05/0.009124, allocations: 15.84 kB / 0.5287 GB, free: 10.28 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/0.00914, allocations: 0 / 0.5287 GB, free: 10.28 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.461e-05/0.009204, allocations: 18.95 kB / 0.5288 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.241e-05/0.009247, allocations: 23.84 kB / 0.5288 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.009252, allocations: 0 / 0.5288 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.577e-05/0.009308, allocations: 152.8 kB / 0.5289 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.009308, allocations: 0 / 0.5289 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002122/0.00952, allocations: 39.95 kB / 0.529 GB, free: 10.05 MB / 0.4948 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 9.088e-05/0.009611, allocations: 95.84 kB / 0.5291 GB, free: 9.949 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001174/0.009728, allocations: 67.36 kB / 0.5291 GB, free: 9.883 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.00973, allocations: 0 / 0.5291 GB, free: 9.883 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.626e-05/0.009776, allocations: 35.61 kB / 0.5292 GB, free: 9.844 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002262/0.01, allocations: 29.14 kB / 0.5292 GB, free: 9.816 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007254/0.01073, allocations: 371.8 kB / 0.5295 GB, free: 9.438 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.294e-05/0.01077, allocations: 75.02 kB / 0.5296 GB, free: 9.348 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.891e-05/0.01082, allocations: 4.5 kB / 0.5296 GB, free: 9.344 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.49e-05/0.0109, allocations: 94.17 kB / 0.5297 GB, free: 9.25 MB / 0.4948 GB Notification: Performance of SimCode: time 9.52e-07/0.01091, allocations: 0 / 0.5297 GB, free: 9.25 MB / 0.4948 GB Notification: Performance of Templates: time 0.004064/0.01497, allocations: 1.83 MB / 0.5315 GB, free: 7.527 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6189654981717467]