Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001357/0.001357, allocations: 73.09 kB / 20.65 MB, free: 3.848 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.001236/0.001236, allocations: 169 kB / 24.06 MB, free: 456 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 0.9282/0.9282, allocations: 177.1 MB / 204.5 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108: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/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8095/0.8095, allocations: 154.6 MB / 415.6 MB, free: 0.5156 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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/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 4.0.0/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_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling") translateModel(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 0.5215 GB, free: 1.91 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.948e-06/1.115e-05, allocations: 2.312 kB / 0.5215 GB, free: 1.906 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling): time 0.002012/0.002023, allocations: 2.058 MB / 0.5235 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0006387/0.002662, allocations: 0.5754 MB / 0.5241 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.147e-05/0.002734, allocations: 4.781 kB / 0.5241 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 9.055e-05/0.002824, allocations: 23.72 kB / 0.5241 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 6.785e-05/0.002892, allocations: 51.42 kB / 0.5241 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001784/0.00307, allocations: 67.78 kB / 0.5242 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001536/0.003224, allocations: 195.1 kB / 0.5244 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.003337, allocations: 54.48 kB / 0.5244 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001484/0.003486, allocations: 111.7 kB / 0.5245 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.002e-05/0.003566, allocations: 59.86 kB / 0.5246 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.125e-05/0.003587, allocations: 16.62 kB / 0.5246 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 4.005e-05/0.003627, allocations: 21.19 kB / 0.5246 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.567e-05/0.003653, allocations: 39.83 kB / 0.5247 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.858e-05/0.003691, allocations: 47.92 kB / 0.5247 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001407/0.003832, allocations: 131.5 kB / 0.5248 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.003834, allocations: 4.906 kB / 0.5248 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.51e-07/0.003834, allocations: 0 / 0.5248 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.036e-06/0.003837, allocations: 0.9688 kB / 0.5249 GB, free: 14.46 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.000453/0.00429, allocations: 0.4968 MB / 0.5253 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.702e-05/0.004317, allocations: 8.875 kB / 0.5253 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.883e-05/0.004416, allocations: 44.78 kB / 0.5254 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.004545, allocations: 165.5 kB / 0.5255 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.705e-05/0.004592, allocations: 63.97 kB / 0.5256 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.839e-05/0.00461, allocations: 12.38 kB / 0.5256 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.004755, allocations: 117.3 kB / 0.5257 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.004762, allocations: 192 / 0.5257 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.004773, allocations: 12.12 kB / 0.5257 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.004777, allocations: 4 kB / 0.5257 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.836e-05/0.004846, allocations: 39.94 kB / 0.5258 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004/0.005246, allocations: 413.4 kB / 0.5262 GB, free: 13 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001489/0.005395, allocations: 80.47 kB / 0.5263 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.491e-05/0.00543, allocations: 31.67 kB / 0.5263 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.401e-05/0.005444, allocations: 4.625 kB / 0.5263 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.668e-05/0.00546, allocations: 41.31 kB / 0.5263 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=12): time 8.61e-07/0.005461, allocations: 1.812 kB / 0.5263 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12): time 0.0001568/0.005618, allocations: 105.5 kB / 0.5264 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.433e-05/0.005642, allocations: 51.41 kB / 0.5265 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.206e-05/0.005734, allocations: 207.5 kB / 0.5267 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.005749, allocations: 29.7 kB / 0.5267 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.086e-05/0.005809, allocations: 177 kB / 0.5269 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.437e-05/0.005834, allocations: 43.58 kB / 0.5269 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.143e-05/0.005875, allocations: 39.34 kB / 0.527 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.005979, allocations: 0.4962 MB / 0.5274 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.465e-05/0.006003, allocations: 15.98 kB / 0.5275 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.907e-05/0.006042, allocations: 47.7 kB / 0.5275 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.367e-05/0.006106, allocations: 63.03 kB / 0.5276 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.006107, allocations: 0 / 0.5276 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001446/0.006252, allocations: 107.9 kB / 0.5277 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.006265, allocations: 8 kB / 0.5277 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/0.006269, allocations: 5.562 kB / 0.5277 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.776e-06/0.006277, allocations: 3.938 kB / 0.5277 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.00639, allocations: 35.92 kB / 0.5277 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.826e-06/0.006393, allocations: 4 kB / 0.5277 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.951e-05/0.006452, allocations: 16.86 kB / 0.5277 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.084e-06/0.006459, allocations: 4 kB / 0.5277 GB, free: 11.29 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 6.621e-05/0.006526, allocations: 163.4 kB / 0.5279 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.677e-05/0.006552, allocations: 23.91 kB / 0.5279 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.355e-05/0.006576, allocations: 17.45 kB / 0.5279 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.00658, allocations: 7.938 kB / 0.5279 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.006582, allocations: 0 / 0.5279 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.006584, allocations: 0 / 0.5279 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001238/0.006708, allocations: 145.1 kB / 0.5281 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.006709, allocations: 0.875 kB / 0.5281 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.246e-05/0.006781, allocations: 28.64 kB / 0.5281 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.006783, allocations: 0 / 0.5281 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.006792, allocations: 4.719 kB / 0.5281 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.006793, allocations: 0 / 0.5281 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.006795, allocations: 6.828 kB / 0.5281 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001788/0.006974, allocations: 262.4 kB / 0.5284 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.337e-05/0.006987, allocations: 15.84 kB / 0.5284 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/0.006999, allocations: 0 / 0.5284 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.984e-05/0.007069, allocations: 11.98 kB / 0.5284 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.435e-05/0.007104, allocations: 19.91 kB / 0.5284 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.531e-06/0.007109, allocations: 4 kB / 0.5284 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.352e-05/0.007153, allocations: 153.3 kB / 0.5286 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.007153, allocations: 0 / 0.5286 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001578/0.007311, allocations: 35.95 kB / 0.5286 GB, free: 10.38 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 5.851e-05/0.007369, allocations: 95.25 kB / 0.5287 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 9.463e-05/0.007464, allocations: 63.58 kB / 0.5287 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.42e-07/0.007465, allocations: 0 / 0.5287 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.429e-05/0.007509, allocations: 44.72 kB / 0.5288 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001912/0.0077, allocations: 29.02 kB / 0.5288 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005763/0.008276, allocations: 367.9 kB / 0.5292 GB, free: 9.762 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.332e-05/0.00831, allocations: 67.33 kB / 0.5292 GB, free: 9.676 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.053e-05/0.00835, allocations: 14.86 kB / 0.5292 GB, free: 9.664 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.516e-05/0.008425, allocations: 90.19 kB / 0.5293 GB, free: 9.574 MB / 0.4948 GB Notification: Performance of SimCode: time 4.81e-07/0.008426, allocations: 0 / 0.5293 GB, free: 9.574 MB / 0.4948 GB Notification: Performance of Templates: time 0.002975/0.0114, allocations: 1.827 MB / 0.5311 GB, free: 7.859 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe ; mkfifo IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe >> ../files/IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.sim & ./IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6431712000630796]