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.0008942/0.0008942, allocations: 73.09 kB / 20.66 MB, free: 3.844 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.0008999/0.0008999, allocations: 169 kB / 24.06 MB, free: 452 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.024/1.024, 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.7825/0.7825, allocations: 154.9 MB / 415.9 MB, free: 276 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 / 0.5218 GB, free: 1.574 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.168e-05/1.313e-05, allocations: 2.312 kB / 0.5218 GB, free: 1.57 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating): time 0.002283/0.002296, allocations: 2.069 MB / 0.5239 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0007969/0.003093, allocations: 0.5761 MB / 0.5244 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.561e-05/0.003188, allocations: 4 kB / 0.5244 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001083/0.003297, allocations: 24.66 kB / 0.5245 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 9.13e-05/0.003388, allocations: 44.73 kB / 0.5245 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002456/0.003634, allocations: 72.41 kB / 0.5246 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.000193/0.003827, allocations: 191.1 kB / 0.5247 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001418/0.003968, allocations: 56.3 kB / 0.5248 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002059/0.004174, allocations: 107.8 kB / 0.5249 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.00428, allocations: 63.8 kB / 0.525 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.473e-05/0.004305, allocations: 16 kB / 0.525 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.66e-05/0.004361, allocations: 21.41 kB / 0.525 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.319e-05/0.004394, allocations: 39.83 kB / 0.525 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.531e-05/0.00444, allocations: 51.91 kB / 0.5251 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000166/0.004606, allocations: 127.5 kB / 0.5252 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.004608, allocations: 0.5312 kB / 0.5252 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.5e-07/0.004608, allocations: 0 / 0.5252 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.988e-06/0.004612, allocations: 1.219 kB / 0.5252 GB, free: 14.13 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.0004858/0.005098, allocations: 0.4971 MB / 0.5257 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.192e-05/0.00513, allocations: 12.03 kB / 0.5257 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001161/0.005246, allocations: 42.09 kB / 0.5257 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001664/0.005412, allocations: 160.3 kB / 0.5259 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.931e-05/0.005472, allocations: 63.97 kB / 0.526 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.264e-05/0.005494, allocations: 13.31 kB / 0.526 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001771/0.005671, allocations: 119.3 kB / 0.5261 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.005682, allocations: 3.688 kB / 0.5261 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.005695, allocations: 12.12 kB / 0.5261 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.005702, allocations: 3.984 kB / 0.5261 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.315e-05/0.005785, allocations: 39.95 kB / 0.5261 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004763/0.006261, allocations: 411.8 kB / 0.5265 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001867/0.006448, allocations: 83.77 kB / 0.5266 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.87e-05/0.006487, allocations: 27.69 kB / 0.5266 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.586e-05/0.006503, allocations: 4.562 kB / 0.5266 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.006524, allocations: 37.94 kB / 0.5267 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=12): time 1.042e-06/0.006525, allocations: 0 / 0.5267 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12): time 0.0001867/0.006712, allocations: 110.3 kB / 0.5268 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.646e-05/0.006738, allocations: 51.41 kB / 0.5268 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.926e-05/0.006828, allocations: 213.9 kB / 0.527 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.006842, allocations: 25.7 kB / 0.5271 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.895e-05/0.006911, allocations: 175 kB / 0.5272 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.716e-05/0.006938, allocations: 47.58 kB / 0.5273 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.102e-05/0.006979, allocations: 36.14 kB / 0.5273 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.0071, allocations: 0.4962 MB / 0.5278 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.571e-05/0.007125, allocations: 12.55 kB / 0.5278 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.329e-05/0.007169, allocations: 48.86 kB / 0.5279 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.203e-05/0.007241, allocations: 68.94 kB / 0.5279 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.007242, allocations: 0 / 0.5279 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001185/0.007361, allocations: 106 kB / 0.528 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.007372, allocations: 8 kB / 0.528 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.007376, allocations: 1.844 kB / 0.528 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.886e-06/0.007385, allocations: 3.938 kB / 0.528 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.136e-05/0.007477, allocations: 35.92 kB / 0.5281 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-06/0.007481, allocations: 8 kB / 0.5281 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.96e-05/0.007531, allocations: 22.61 kB / 0.5281 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.007537, allocations: 0 / 0.5281 GB, free: 10.96 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 7.786e-05/0.007615, allocations: 160.6 kB / 0.5283 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.894e-05/0.007644, allocations: 19.91 kB / 0.5283 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.827e-05/0.007672, allocations: 21.45 kB / 0.5283 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.007675, allocations: 3.938 kB / 0.5283 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-06/0.007678, allocations: 5.812 kB / 0.5283 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.007681, allocations: 0 / 0.5283 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001311/0.007812, allocations: 137.2 kB / 0.5284 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.007813, allocations: 0 / 0.5284 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.32e-05/0.007886, allocations: 31.92 kB / 0.5285 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.22e-07/0.007887, allocations: 0.9375 kB / 0.5285 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.007897, allocations: 4 kB / 0.5285 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.007898, allocations: 4.734 kB / 0.5285 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.007899, allocations: 4 kB / 0.5285 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000184/0.008083, allocations: 255.3 kB / 0.5287 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.51e-05/0.008098, allocations: 15.84 kB / 0.5287 GB, free: 10.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.008114, allocations: 4.531 kB / 0.5287 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.142e-05/0.008175, allocations: 14.95 kB / 0.5288 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.877e-05/0.008214, allocations: 23.91 kB / 0.5288 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.00822, allocations: 4 kB / 0.5288 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.804e-05/0.008268, allocations: 152.8 kB / 0.5289 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.008268, allocations: 0 / 0.5289 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001677/0.008436, allocations: 35.95 kB / 0.529 GB, free: 10.03 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 7.056e-05/0.008506, allocations: 98.38 kB / 0.5291 GB, free: 9.926 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001063/0.008613, allocations: 59.59 kB / 0.5291 GB, free: 9.863 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.51e-07/0.008613, allocations: 0 / 0.5291 GB, free: 9.863 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.443e-05/0.008658, allocations: 47.58 kB / 0.5292 GB, free: 9.812 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001975/0.008855, allocations: 16 kB / 0.5292 GB, free: 9.797 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006064/0.009462, allocations: 375.9 kB / 0.5295 GB, free: 9.418 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.83e-05/0.0095, allocations: 71.33 kB / 0.5296 GB, free: 9.328 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.207e-05/0.009542, allocations: 11.14 kB / 0.5296 GB, free: 9.32 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.851e-05/0.009621, allocations: 94.19 kB / 0.5297 GB, free: 9.227 MB / 0.4948 GB Notification: Performance of SimCode: time 5.61e-07/0.009621, allocations: 0 / 0.5297 GB, free: 9.227 MB / 0.4948 GB Notification: Performance of Templates: time 0.003195/0.01282, allocations: 1.826 MB / 0.5315 GB, free: 7.504 MB / 0.4948 GB " [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.618591594044119]