Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0009672/0.0009672, allocations: 93.06 kB / 19.65 MB, free: 280 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.001018/0.001018, allocations: 173 kB / 23.03 MB, free: 1.547 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.066/1.066, allocations: 177.1 MB / 203.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7796/0.7796, allocations: 154.9 MB / 414.8 MB, free: 392 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating") translateModel(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 0.5206 GB, free: 1.887 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.199e-05/3.385e-05, allocations: 11.59 kB / 0.5206 GB, free: 1.879 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating): time 0.003663/0.003696, allocations: 2.083 MB / 0.5227 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.001196/0.004893, allocations: 0.5822 MB / 0.5232 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001421/0.005035, allocations: 0 / 0.5232 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001328/0.005168, allocations: 23.73 kB / 0.5233 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001002/0.005268, allocations: 49.34 kB / 0.5233 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002996/0.005567, allocations: 73.5 kB / 0.5234 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001948/0.005762, allocations: 187.2 kB / 0.5236 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001432/0.005905, allocations: 50.5 kB / 0.5236 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002013/0.006107, allocations: 115.7 kB / 0.5237 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001161/0.006223, allocations: 61.11 kB / 0.5238 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.593e-05/0.006249, allocations: 16 kB / 0.5238 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.369e-05/0.006303, allocations: 19.94 kB / 0.5238 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.848e-05/0.006331, allocations: 39.83 kB / 0.5239 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.378e-05/0.006385, allocations: 56.58 kB / 0.5239 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001927/0.006577, allocations: 127.5 kB / 0.524 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.006581, allocations: 1.188 kB / 0.524 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.202e-06/0.006583, allocations: 0 / 0.524 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.006587, allocations: 0 / 0.524 GB, free: 14.42 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.0005651/0.007153, allocations: 0.4899 MB / 0.5245 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.007192, allocations: 13.19 kB / 0.5245 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001424/0.007335, allocations: 40.8 kB / 0.5246 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001885/0.007523, allocations: 168.2 kB / 0.5247 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.48e-05/0.007598, allocations: 64.75 kB / 0.5248 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.685e-05/0.007625, allocations: 12.38 kB / 0.5248 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002161/0.007841, allocations: 130.8 kB / 0.5249 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.007853, allocations: 192 / 0.5249 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.675e-05/0.007869, allocations: 12.12 kB / 0.5249 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.007878, allocations: 0 / 0.5249 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001093/0.007988, allocations: 55.94 kB / 0.525 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005528/0.00854, allocations: 431.2 kB / 0.5254 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002311/0.008772, allocations: 91.91 kB / 0.5255 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.121e-05/0.008823, allocations: 32.23 kB / 0.5255 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/0.008839, allocations: 0.9375 kB / 0.5255 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.008865, allocations: 41.39 kB / 0.5256 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=12): time 1.323e-06/0.008866, allocations: 0 / 0.5256 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12): time 0.0002411/0.009107, allocations: 119 kB / 0.5257 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.082e-05/0.009138, allocations: 51.41 kB / 0.5257 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.009245, allocations: 212.5 kB / 0.5259 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.009262, allocations: 29.7 kB / 0.5259 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.846e-05/0.00934, allocations: 172 kB / 0.5261 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.827e-05/0.009368, allocations: 43.58 kB / 0.5262 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.369e-05/0.009412, allocations: 37.36 kB / 0.5262 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.009528, allocations: 0.4962 MB / 0.5267 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.922e-05/0.009567, allocations: 15.98 kB / 0.5267 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.534e-05/0.009623, allocations: 51.05 kB / 0.5267 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.14e-05/0.009714, allocations: 71.64 kB / 0.5268 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.009716, allocations: 0 / 0.5268 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001368/0.009853, allocations: 112.8 kB / 0.5269 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.009866, allocations: 12.59 kB / 0.5269 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.009872, allocations: 4.609 kB / 0.5269 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.009885, allocations: 0 / 0.5269 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.983e-05/0.009985, allocations: 37.36 kB / 0.527 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.009997, allocations: 4 kB / 0.527 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.278e-05/0.01005, allocations: 19.92 kB / 0.527 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.876e-06/0.01006, allocations: 5.656 kB / 0.527 GB, free: 11.16 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.37e-05/0.01014, allocations: 160.6 kB / 0.5271 GB, free: 11 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.631e-05/0.01017, allocations: 23.89 kB / 0.5272 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.148e-05/0.0102, allocations: 28.08 kB / 0.5272 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.0102, allocations: 4 kB / 0.5272 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.01021, allocations: 0 / 0.5272 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.01021, allocations: 0 / 0.5272 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001508/0.01036, allocations: 172.5 kB / 0.5274 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.01036, allocations: 0 / 0.5274 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.048e-05/0.01044, allocations: 27.92 kB / 0.5274 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.01045, allocations: 2 kB / 0.5274 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.01046, allocations: 4 kB / 0.5274 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.01046, allocations: 3.938 kB / 0.5274 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.01046, allocations: 3.984 kB / 0.5274 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002234/0.01069, allocations: 255.9 kB / 0.5276 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.622e-05/0.0107, allocations: 19.78 kB / 0.5277 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.622e-05/0.01072, allocations: 4.938 kB / 0.5277 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.859e-05/0.01078, allocations: 16.64 kB / 0.5277 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.861e-05/0.01082, allocations: 19.91 kB / 0.5277 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.01083, allocations: 4.656 kB / 0.5277 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.012e-05/0.01089, allocations: 156.8 kB / 0.5279 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.01089, allocations: 3.219 kB / 0.5279 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001804/0.01107, allocations: 35.95 kB / 0.5279 GB, free: 10.18 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 8.028e-05/0.01115, allocations: 95.25 kB / 0.528 GB, free: 10.08 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001485/0.0113, allocations: 67.59 kB / 0.5281 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.0113, allocations: 0 / 0.5281 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.536e-05/0.01136, allocations: 47.59 kB / 0.5281 GB, free: 9.957 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002286/0.01159, allocations: 30.5 kB / 0.5281 GB, free: 9.938 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007595/0.01235, allocations: 361.8 kB / 0.5285 GB, free: 9.566 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.256e-05/0.01239, allocations: 73.8 kB / 0.5285 GB, free: 9.477 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.298e-05/0.01243, allocations: 8.484 kB / 0.5285 GB, free: 9.469 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.7e-05/0.01248, allocations: 25.25 kB / 0.5286 GB, free: 9.445 MB / 0.4948 GB Notification: Performance of SimCode: time 8.01e-07/0.01248, allocations: 0 / 0.5286 GB, free: 9.445 MB / 0.4948 GB Notification: Performance of Templates: time 0.003571/0.01605, allocations: 1.721 MB / 0.5303 GB, free: 7.828 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.sim & ./IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.820277815219015]