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.001687/0.001687, 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.001824/0.001824, 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.613/1.613, allocations: 177.1 MB / 203.1 MB, free: 5.613 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.259/1.259, allocations: 154.6 MB / 414.1 MB, free: 0.6602 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_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 2.014e-06/2.014e-06, allocations: 0 / 0.5196 GB, free: 2.59 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.079e-05/3.28e-05, allocations: 2.312 kB / 0.5196 GB, free: 2.586 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating): time 0.004247/0.00428, allocations: 1.987 MB / 0.5215 GB, free: 0.6055 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001378/0.005658, allocations: 0.5645 MB / 0.5221 GB, free: 40 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001588/0.005817, allocations: 4 kB / 0.5221 GB, free: 36 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001625/0.005979, allocations: 19.73 kB / 0.5221 GB, free: 16 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001943/0.006174, allocations: 53.91 kB / 0.5221 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003565/0.00653, allocations: 71.78 kB / 0.5222 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.000337/0.006867, allocations: 187.8 kB / 0.5224 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001891/0.007056, allocations: 63.36 kB / 0.5224 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003273/0.007384, allocations: 105.6 kB / 0.5226 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001517/0.007535, allocations: 63.78 kB / 0.5226 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.904e-05/0.007574, allocations: 16 kB / 0.5226 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.375e-05/0.007648, allocations: 16 kB / 0.5226 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 5.106e-05/0.007699, allocations: 37.56 kB / 0.5227 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 9.305e-05/0.007792, allocations: 55.89 kB / 0.5227 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003396/0.008132, allocations: 179.4 kB / 0.5229 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.008136, allocations: 3.938 kB / 0.5229 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.891e-06/0.008141, allocations: 4 kB / 0.5229 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.919e-06/0.008151, allocations: 1.406 kB / 0.5229 GB, free: 15.18 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.0009893/0.009141, allocations: 418.7 kB / 0.5233 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.009186, allocations: 13.44 kB / 0.5233 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002355/0.009422, allocations: 40.78 kB / 0.5234 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003449/0.009767, allocations: 161.5 kB / 0.5235 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001217/0.009888, allocations: 65.31 kB / 0.5236 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.586e-05/0.009934, allocations: 12.38 kB / 0.5236 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004911/0.01043, allocations: 157.5 kB / 0.5237 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.01044, allocations: 192 / 0.5237 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.431e-05/0.01046, allocations: 8.125 kB / 0.5237 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/0.01047, allocations: 4 kB / 0.5238 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005387/0.01101, allocations: 144.4 kB / 0.5239 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008848/0.0119, allocations: 394 kB / 0.5243 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005099/0.01241, allocations: 128.7 kB / 0.5244 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002562/0.01266, allocations: 75.36 kB / 0.5245 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.724e-05/0.01269, allocations: 4 kB / 0.5245 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.437e-05/0.01272, allocations: 34.5 kB / 0.5245 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=12): time 1.503e-06/0.01273, allocations: 0 / 0.5245 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12): time 0.0008459/0.01357, allocations: 231.6 kB / 0.5247 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.427e-05/0.01363, allocations: 55.41 kB / 0.5248 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001894/0.01381, allocations: 160.2 kB / 0.5249 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.636e-05/0.01384, allocations: 25.7 kB / 0.5249 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/0.01397, allocations: 129.3 kB / 0.5251 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.881e-05/0.01402, allocations: 39.64 kB / 0.5251 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.584e-05/0.0141, allocations: 37.7 kB / 0.5251 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001896/0.01429, allocations: 319.8 kB / 0.5254 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002278/0.01451, allocations: 60.89 kB / 0.5255 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002494/0.01476, allocations: 87.11 kB / 0.5256 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004537/0.01522, allocations: 138.2 kB / 0.5257 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.01522, allocations: 4 kB / 0.5257 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005602/0.01578, allocations: 195.6 kB / 0.5259 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/0.01581, allocations: 7.938 kB / 0.5259 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.01581, allocations: 4 kB / 0.5259 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.202e-05/0.01584, allocations: 0 / 0.5259 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002273/0.01606, allocations: 47.66 kB / 0.526 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.01607, allocations: 0 / 0.526 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001552/0.01623, allocations: 27.86 kB / 0.526 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.776e-05/0.01624, allocations: 8 kB / 0.526 GB, free: 11.84 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.0001419/0.01639, allocations: 129.7 kB / 0.5261 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.918e-05/0.01643, allocations: 15.91 kB / 0.5261 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.231e-05/0.01649, allocations: 25.39 kB / 0.5262 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.01649, allocations: 0 / 0.5262 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.0165, allocations: 3.125 kB / 0.5262 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.0165, allocations: 3.984 kB / 0.5262 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002688/0.01677, allocations: 169.2 kB / 0.5263 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.01677, allocations: 0 / 0.5263 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002151/0.01699, allocations: 31.97 kB / 0.5264 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.01699, allocations: 0 / 0.5264 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.945e-05/0.01701, allocations: 4 kB / 0.5264 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.726e-06/0.01702, allocations: 11.25 kB / 0.5264 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.01702, allocations: 3.984 kB / 0.5264 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008504/0.01787, allocations: 339.2 kB / 0.5267 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.675e-05/0.0179, allocations: 15.66 kB / 0.5267 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.673e-05/0.01793, allocations: 4 kB / 0.5267 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001777/0.0181, allocations: 23.91 kB / 0.5267 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.85e-05/0.01817, allocations: 15.97 kB / 0.5268 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.196e-06/0.01818, allocations: 0 / 0.5268 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001176/0.0183, allocations: 122.3 kB / 0.5269 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.1e-08/0.0183, allocations: 0 / 0.5269 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002867/0.01858, allocations: 35.89 kB / 0.5269 GB, free: 10.87 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.0001531/0.01874, allocations: 96.38 kB / 0.527 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005223/0.01926, allocations: 137.5 kB / 0.5271 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.01926, allocations: 0.6562 kB / 0.5271 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005244/0.01979, allocations: 77.09 kB / 0.5272 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003485/0.02014, allocations: 29.33 kB / 0.5272 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008928/0.02103, allocations: 351.7 kB / 0.5276 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001361/0.02116, allocations: 109.7 kB / 0.5277 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 7.335e-05/0.02124, allocations: 15.66 kB / 0.5277 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.318e-05/0.0213, allocations: 16.5 kB / 0.5277 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of SimCode: time 5.71e-07/0.0213, allocations: 0 / 0.5277 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of Templates: time 0.005552/0.02685, allocations: 1.609 MB / 0.5293 GB, free: 8.508 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=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.272256643045694]