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.00149/0.00149, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.001804/0.001804, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.57/1.57, allocations: 177.1 MB / 203.1 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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 1.256/1.256, allocations: 154.6 MB / 414.2 MB, free: 0.6133 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 178] 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.893e-06/1.893e-06, allocations: 0 / 0.5196 GB, free: 2.566 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.406e-05/3.596e-05, allocations: 3.188 kB / 0.5196 GB, free: 2.562 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling): time 0.005085/0.005121, allocations: 1.985 MB / 0.5215 GB, free: 0.582 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001566/0.006687, allocations: 0.5629 MB / 0.5221 GB, free: 16 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002061/0.006893, allocations: 4 kB / 0.5221 GB, free: 12 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002165/0.00711, allocations: 24.53 kB / 0.5221 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001958/0.007306, allocations: 48.83 kB / 0.5221 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004243/0.00773, allocations: 72.56 kB / 0.5222 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.000399/0.008129, allocations: 191.1 kB / 0.5224 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002165/0.008345, allocations: 52.28 kB / 0.5224 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003928/0.008738, allocations: 107.8 kB / 0.5225 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001874/0.008926, allocations: 66.86 kB / 0.5226 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.37e-05/0.008979, allocations: 16 kB / 0.5226 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 8.906e-05/0.009068, allocations: 19.98 kB / 0.5226 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 6.09e-05/0.009129, allocations: 35.84 kB / 0.5227 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.000102/0.009231, allocations: 51.91 kB / 0.5227 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004018/0.009633, allocations: 187.3 kB / 0.5229 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.009638, allocations: 0 / 0.5229 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.968e-06/0.009642, allocations: 7.938 kB / 0.5229 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.989e-06/0.009652, allocations: 0.5 kB / 0.5229 GB, free: 15.15 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.001092/0.01074, allocations: 416.1 kB / 0.5233 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.01079, allocations: 8.031 kB / 0.5233 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000258/0.01105, allocations: 41.7 kB / 0.5234 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004055/0.01145, allocations: 153.5 kB / 0.5235 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001323/0.01159, allocations: 64.91 kB / 0.5236 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.454e-05/0.01164, allocations: 20.31 kB / 0.5236 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004815/0.01212, allocations: 155.1 kB / 0.5237 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.01214, allocations: 1.219 kB / 0.5237 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.551e-05/0.01216, allocations: 8.125 kB / 0.5237 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.01217, allocations: 5.219 kB / 0.5237 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005603/0.01273, allocations: 142.2 kB / 0.5239 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001229/0.01396, allocations: 397.2 kB / 0.5243 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005311/0.01449, allocations: 123.4 kB / 0.5244 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002557/0.01475, allocations: 74 kB / 0.5245 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.373e-05/0.01478, allocations: 4.719 kB / 0.5245 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/0.01481, allocations: 30.56 kB / 0.5245 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=12): time 1.212e-06/0.01481, allocations: 0.625 kB / 0.5245 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12): time 0.000865/0.01568, allocations: 234.6 kB / 0.5247 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.541e-05/0.01573, allocations: 57.2 kB / 0.5248 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001862/0.01592, allocations: 160.4 kB / 0.5249 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.288e-05/0.01595, allocations: 29.7 kB / 0.5249 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000129/0.01608, allocations: 128.2 kB / 0.5251 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.557e-05/0.01614, allocations: 43.62 kB / 0.5251 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/0.01624, allocations: 35.33 kB / 0.5251 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001922/0.01644, allocations: 322.8 kB / 0.5254 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002375/0.01667, allocations: 62.7 kB / 0.5255 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002544/0.01693, allocations: 87.86 kB / 0.5256 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004766/0.0174, allocations: 143.3 kB / 0.5257 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.01741, allocations: 0 / 0.5257 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005793/0.01799, allocations: 191.1 kB / 0.5259 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/0.01801, allocations: 9.906 kB / 0.5259 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.01802, allocations: 4 kB / 0.5259 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/0.01804, allocations: 0.6562 kB / 0.5259 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002324/0.01827, allocations: 55.09 kB / 0.526 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.01828, allocations: 0 / 0.526 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001574/0.01844, allocations: 23.92 kB / 0.526 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.617e-05/0.01845, allocations: 4 kB / 0.526 GB, free: 11.82 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.0001496/0.0186, allocations: 125.8 kB / 0.5261 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.484e-05/0.01866, allocations: 15.91 kB / 0.5261 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.788e-05/0.01872, allocations: 28.52 kB / 0.5262 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.01872, allocations: 0 / 0.5262 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.01873, allocations: 3.938 kB / 0.5262 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.01873, allocations: 0 / 0.5262 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002797/0.01901, allocations: 165.2 kB / 0.5263 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.01901, allocations: 0 / 0.5263 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002104/0.01922, allocations: 31.97 kB / 0.5264 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.01922, allocations: 0 / 0.5264 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.01924, allocations: 2.906 kB / 0.5264 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.251e-05/0.01925, allocations: 7.938 kB / 0.5264 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.01925, allocations: 0 / 0.5264 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008835/0.02014, allocations: 351.1 kB / 0.5267 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.002e-05/0.02017, allocations: 11.94 kB / 0.5267 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.435e-05/0.02019, allocations: 0 / 0.5267 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001797/0.02037, allocations: 27.91 kB / 0.5267 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.867e-05/0.02045, allocations: 19.95 kB / 0.5268 GB, free: 11 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.02046, allocations: 0 / 0.5268 GB, free: 11 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001154/0.02057, allocations: 118.3 kB / 0.5269 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.02057, allocations: 0 / 0.5269 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002991/0.02087, allocations: 42.36 kB / 0.5269 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.0001653/0.02104, allocations: 95.25 kB / 0.527 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005333/0.02157, allocations: 139.1 kB / 0.5271 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.02157, allocations: 0 / 0.5271 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002442/0.02182, allocations: 71.89 kB / 0.5272 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003839/0.0222, allocations: 29.12 kB / 0.5272 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009511/0.02315, allocations: 364.3 kB / 0.5276 GB, free: 10.15 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001391/0.02329, allocations: 101.2 kB / 0.5277 GB, free: 10.03 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 7.778e-05/0.02337, allocations: 14.67 kB / 0.5277 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.645e-05/0.02344, allocations: 16.5 kB / 0.5277 GB, free: 10 MB / 0.4948 GB Notification: Performance of SimCode: time 7.12e-07/0.02344, allocations: 4.5 kB / 0.5277 GB, free: 9.996 MB / 0.4948 GB Notification: Performance of Templates: time 0.005891/0.02933, allocations: 1.613 MB / 0.5293 GB, free: 8.484 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=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.228110596071929]