Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001062/0.001062, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001188/0.001188, 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.076/1.076, allocations: 177.1 MB / 203.8 MB, free: 5.645 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.7597/0.7597, allocations: 154.6 MB / 414.9 MB, free: 0.6797 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_Heating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating") translateModel(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.193e-06/1.193e-06, allocations: 0 / 0.5203 GB, free: 2.574 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.395e-05/2.514e-05, allocations: 6.312 kB / 0.5203 GB, free: 2.566 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating): time 0.002579/0.002604, allocations: 2.063 MB / 0.5223 GB, free: 0.5078 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008413/0.003445, allocations: 0.5794 MB / 0.5229 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001129/0.003558, allocations: 4 kB / 0.5229 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001438/0.003702, allocations: 24.55 kB / 0.5229 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001073/0.003809, allocations: 44.55 kB / 0.5229 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003378/0.004147, allocations: 69.53 kB / 0.523 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002377/0.004385, allocations: 191.1 kB / 0.5232 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001909/0.004576, allocations: 58.48 kB / 0.5232 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002755/0.004851, allocations: 112.2 kB / 0.5234 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.004959, allocations: 55.86 kB / 0.5234 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.493e-05/0.004984, allocations: 17 kB / 0.5234 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.181e-05/0.005035, allocations: 23.88 kB / 0.5234 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.793e-05/0.005063, allocations: 36.77 kB / 0.5235 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.169e-05/0.005115, allocations: 63.83 kB / 0.5235 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002113/0.005326, allocations: 123.5 kB / 0.5237 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.00533, allocations: 0.625 kB / 0.5237 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.021e-06/0.005331, allocations: 1.125 kB / 0.5237 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.005337, allocations: 0 / 0.5237 GB, free: 15.12 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.0005779/0.005915, allocations: 0.4943 MB / 0.5241 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.005957, allocations: 8.031 kB / 0.5242 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001513/0.006109, allocations: 36.8 kB / 0.5242 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002104/0.006319, allocations: 169.9 kB / 0.5244 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.262e-05/0.006402, allocations: 63.97 kB / 0.5244 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.804e-05/0.00643, allocations: 12.38 kB / 0.5244 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002287/0.006658, allocations: 131.6 kB / 0.5245 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.00667, allocations: 192 / 0.5245 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.006686, allocations: 8.125 kB / 0.5246 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.006696, allocations: 5.188 kB / 0.5246 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001174/0.006814, allocations: 47.95 kB / 0.5246 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006477/0.007461, allocations: 450.7 kB / 0.525 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002812/0.007743, allocations: 87.16 kB / 0.5251 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.129e-05/0.007804, allocations: 31.67 kB / 0.5252 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.283e-05/0.007827, allocations: 7.938 kB / 0.5252 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.007856, allocations: 37.39 kB / 0.5252 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=12): time 2.345e-06/0.007859, allocations: 1.688 kB / 0.5252 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12): time 0.0003068/0.008165, allocations: 116.7 kB / 0.5253 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/0.008209, allocations: 55.41 kB / 0.5254 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.008347, allocations: 207.5 kB / 0.5256 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.008366, allocations: 29.7 kB / 0.5256 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.819e-05/0.008444, allocations: 171.6 kB / 0.5257 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.04e-05/0.008475, allocations: 48.45 kB / 0.5258 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.369e-05/0.008518, allocations: 35.36 kB / 0.5258 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.008633, allocations: 0.4962 MB / 0.5263 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.277e-05/0.008676, allocations: 21.08 kB / 0.5263 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.761e-05/0.008734, allocations: 47.05 kB / 0.5264 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.455e-05/0.008828, allocations: 74.28 kB / 0.5264 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.00883, allocations: 2.844 kB / 0.5265 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000154/0.008984, allocations: 113.5 kB / 0.5266 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.009003, allocations: 7.938 kB / 0.5266 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.009008, allocations: 0 / 0.5266 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.009024, allocations: 4 kB / 0.5266 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.009125, allocations: 35.91 kB / 0.5266 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.009131, allocations: 3.031 kB / 0.5266 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.252e-05/0.009184, allocations: 19.92 kB / 0.5266 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.266e-06/0.009192, allocations: 4 kB / 0.5266 GB, free: 11.86 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.666e-05/0.009278, allocations: 160.6 kB / 0.5268 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.525e-05/0.009304, allocations: 19.91 kB / 0.5268 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.264e-05/0.009336, allocations: 21.41 kB / 0.5268 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.009338, allocations: 1.5 kB / 0.5268 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.009342, allocations: 0 / 0.5268 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.009349, allocations: 3.984 kB / 0.5268 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001503/0.009499, allocations: 172.5 kB / 0.527 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.009501, allocations: 0.8438 kB / 0.527 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.104e-05/0.009582, allocations: 27.92 kB / 0.527 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.009584, allocations: 7.094 kB / 0.527 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.009596, allocations: 0 / 0.527 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.009598, allocations: 3.938 kB / 0.527 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.009599, allocations: 0 / 0.527 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002405/0.00984, allocations: 267.8 kB / 0.5273 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.738e-05/0.009857, allocations: 15.84 kB / 0.5273 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.979e-05/0.009877, allocations: 8 kB / 0.5273 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.694e-05/0.009934, allocations: 11.92 kB / 0.5273 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.074e-05/0.009984, allocations: 22.34 kB / 0.5273 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.413e-06/0.009991, allocations: 4 kB / 0.5273 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.939e-05/0.01005, allocations: 157.3 kB / 0.5275 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.01005, allocations: 0 / 0.5275 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001777/0.01023, allocations: 35.95 kB / 0.5275 GB, free: 10.89 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.282e-05/0.01032, allocations: 92.47 kB / 0.5276 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001526/0.01047, allocations: 75.53 kB / 0.5277 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.01048, allocations: 1.844 kB / 0.5277 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.292e-05/0.01053, allocations: 39.61 kB / 0.5277 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002435/0.01077, allocations: 21.95 kB / 0.5278 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009647/0.01174, allocations: 365.4 kB / 0.5281 GB, free: 10.28 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.477e-05/0.01178, allocations: 73.48 kB / 0.5282 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.654e-05/0.01183, allocations: 9.203 kB / 0.5282 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.394e-05/0.01187, allocations: 20.5 kB / 0.5282 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of SimCode: time 9.42e-07/0.01187, allocations: 1.344 kB / 0.5282 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of Templates: time 0.003695/0.01557, allocations: 1.631 MB / 0.5298 GB, free: 8.629 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe ; mkfifo IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe >> ../files/IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.sim & ./IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.996085770893842]