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.001412/0.001412, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001611/0.001611, allocations: 173 kB / 23.49 MB, free: 1.059 MB / 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.07/1.07, allocations: 177.1 MB / 203.8 MB, free: 5.621 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.7619/0.7619, allocations: 154.6 MB / 414.9 MB, free: 0.6484 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 3.907e-06/3.907e-06, allocations: 0 / 0.5203 GB, free: 2.531 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.13e-05/4.521e-05, allocations: 2.312 kB / 0.5203 GB, free: 2.527 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling): time 0.005188/0.005233, allocations: 2.07 MB / 0.5223 GB, free: 480 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001816/0.007049, allocations: 0.5698 MB / 0.5229 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00026/0.007309, allocations: 3.938 kB / 0.5229 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002183/0.007527, allocations: 24.75 kB / 0.5229 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002135/0.007741, allocations: 52.91 kB / 0.523 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005449/0.008286, allocations: 71.78 kB / 0.523 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0004086/0.008694, allocations: 191.8 kB / 0.5232 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002798/0.008974, allocations: 56.33 kB / 0.5233 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004717/0.009446, allocations: 111.8 kB / 0.5234 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002099/0.009655, allocations: 57.52 kB / 0.5234 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.503e-05/0.009701, allocations: 12 kB / 0.5234 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 9.981e-05/0.0098, allocations: 27.94 kB / 0.5235 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.979e-05/0.00985, allocations: 35.83 kB / 0.5235 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 9.061e-05/0.009941, allocations: 51.91 kB / 0.5235 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003992/0.01034, allocations: 132.1 kB / 0.5237 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 8.816e-06/0.01035, allocations: 0 / 0.5237 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.184e-06/0.01035, allocations: 5.094 kB / 0.5237 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.11e-05/0.01036, allocations: 0 / 0.5237 GB, free: 15.08 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.0009389/0.0113, allocations: 0.4933 MB / 0.5242 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.509e-05/0.01137, allocations: 12.8 kB / 0.5242 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003075/0.01167, allocations: 40.8 kB / 0.5242 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003886/0.01206, allocations: 161.6 kB / 0.5244 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001587/0.01222, allocations: 63.95 kB / 0.5244 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.439e-05/0.01228, allocations: 16.38 kB / 0.5244 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004054/0.01268, allocations: 125.4 kB / 0.5246 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.348e-05/0.0127, allocations: 192 / 0.5246 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.677e-05/0.01273, allocations: 8.125 kB / 0.5246 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.327e-05/0.01275, allocations: 4 kB / 0.5246 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001979/0.01295, allocations: 59.88 kB / 0.5246 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00101/0.01396, allocations: 437.5 kB / 0.525 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000398/0.01436, allocations: 87.16 kB / 0.5251 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.243e-05/0.01445, allocations: 38.42 kB / 0.5252 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.45e-05/0.01448, allocations: 4 kB / 0.5252 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.464e-05/0.01451, allocations: 37.39 kB / 0.5252 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=12): time 3.667e-06/0.01452, allocations: 4 kB / 0.5252 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12): time 0.0003975/0.01491, allocations: 109.5 kB / 0.5253 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.749e-05/0.01497, allocations: 59.34 kB / 0.5254 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001737/0.01514, allocations: 203.5 kB / 0.5256 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.619e-05/0.01517, allocations: 35.08 kB / 0.5256 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.01528, allocations: 175 kB / 0.5258 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.762e-05/0.01533, allocations: 43.58 kB / 0.5258 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.347e-05/0.0154, allocations: 35.38 kB / 0.5258 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001768/0.01558, allocations: 0.4971 MB / 0.5263 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.836e-05/0.01565, allocations: 12 kB / 0.5263 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001033/0.01575, allocations: 57.8 kB / 0.5264 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001444/0.0159, allocations: 70.19 kB / 0.5265 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.0159, allocations: 0 / 0.5265 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002446/0.01615, allocations: 114.1 kB / 0.5266 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.967e-05/0.01617, allocations: 9.156 kB / 0.5266 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.01619, allocations: 3.938 kB / 0.5266 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.666e-05/0.01621, allocations: 4 kB / 0.5266 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001845/0.0164, allocations: 36.59 kB / 0.5266 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/0.01641, allocations: 0.6562 kB / 0.5266 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.764e-05/0.01651, allocations: 16.91 kB / 0.5266 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.288e-05/0.01652, allocations: 0 / 0.5266 GB, free: 11.83 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 0.00021/0.01673, allocations: 175.1 kB / 0.5268 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.213e-05/0.01677, allocations: 15.91 kB / 0.5268 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.993e-05/0.01682, allocations: 21.41 kB / 0.5268 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.01683, allocations: 0 / 0.5268 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.01683, allocations: 4 kB / 0.5268 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.01684, allocations: 0 / 0.5268 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002079/0.01704, allocations: 172.5 kB / 0.527 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.01705, allocations: 3.125 kB / 0.527 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001398/0.01719, allocations: 27.98 kB / 0.527 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.01719, allocations: 0 / 0.527 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.931e-05/0.01721, allocations: 4 kB / 0.527 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.01722, allocations: 3.938 kB / 0.527 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.01722, allocations: 7.938 kB / 0.527 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003283/0.01755, allocations: 262.6 kB / 0.5273 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.015e-05/0.01757, allocations: 15.84 kB / 0.5273 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.139e-05/0.01759, allocations: 5.688 kB / 0.5273 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.722e-05/0.01766, allocations: 15.92 kB / 0.5273 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.706e-05/0.01771, allocations: 15.97 kB / 0.5273 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/0.01772, allocations: 4 kB / 0.5273 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.632e-05/0.01779, allocations: 158.1 kB / 0.5275 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.01779, allocations: 0 / 0.5275 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001784/0.01797, allocations: 37.95 kB / 0.5275 GB, free: 10.85 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 0.00012/0.01809, allocations: 99.19 kB / 0.5276 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001659/0.01825, allocations: 67.59 kB / 0.5277 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.01825, allocations: 0.6562 kB / 0.5277 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.534e-05/0.01831, allocations: 40.33 kB / 0.5277 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002676/0.01858, allocations: 28.39 kB / 0.5278 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009486/0.01953, allocations: 368 kB / 0.5281 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.222e-05/0.01958, allocations: 72.2 kB / 0.5282 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.309e-05/0.01963, allocations: 6.531 kB / 0.5282 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.225e-05/0.01968, allocations: 20.48 kB / 0.5282 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of SimCode: time 1.122e-06/0.01968, allocations: 0.5625 kB / 0.5282 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of Templates: time 0.0039/0.02358, allocations: 1.631 MB / 0.5298 GB, free: 8.59 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.924134256085381]