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.001487/0.001487, 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.001667/0.001667, 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.536/1.536, allocations: 177.1 MB / 203.1 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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 1.185/1.185, allocations: 154.8 MB / 414.3 MB, free: 464 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 178] 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.684e-06/1.684e-06, allocations: 0 / 0.5198 GB, free: 1.238 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.622e-05/3.79e-05, allocations: 2.312 kB / 0.5198 GB, free: 1.234 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating): time 0.004132/0.00417, allocations: 1.995 MB / 0.5218 GB, free: 15.25 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001305/0.005475, allocations: 0.5683 MB / 0.5223 GB, free: 14.68 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001126/0.005588, allocations: 0 / 0.5223 GB, free: 14.68 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001551/0.005743, allocations: 23.73 kB / 0.5223 GB, free: 14.66 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001156/0.005859, allocations: 45 kB / 0.5224 GB, free: 14.62 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003281/0.006187, allocations: 75.72 kB / 0.5224 GB, free: 14.54 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002876/0.006474, allocations: 196.6 kB / 0.5226 GB, free: 14.35 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001788/0.006653, allocations: 46.52 kB / 0.5227 GB, free: 14.3 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002668/0.00692, allocations: 111.8 kB / 0.5228 GB, free: 14.2 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001431/0.007063, allocations: 60.58 kB / 0.5228 GB, free: 14.14 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 3.735e-05/0.0071, allocations: 12 kB / 0.5229 GB, free: 14.12 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.553e-05/0.007166, allocations: 17.12 kB / 0.5229 GB, free: 14.11 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 4.727e-05/0.007213, allocations: 39.89 kB / 0.5229 GB, free: 14.07 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 8.752e-05/0.007301, allocations: 63.77 kB / 0.523 GB, free: 14.01 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003071/0.007608, allocations: 182.2 kB / 0.5231 GB, free: 13.83 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.007612, allocations: 0 / 0.5231 GB, free: 13.83 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.512e-06/0.007613, allocations: 0 / 0.5231 GB, free: 13.83 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.473e-06/0.00762, allocations: 0 / 0.5231 GB, free: 13.83 MB / 458.7 MB 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.0009421/0.008562, allocations: 422 kB / 0.5235 GB, free: 13.39 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.008611, allocations: 9.312 kB / 0.5236 GB, free: 13.38 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002185/0.008829, allocations: 40.8 kB / 0.5236 GB, free: 13.34 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003543/0.009184, allocations: 162.4 kB / 0.5237 GB, free: 13.16 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001245/0.009308, allocations: 63.97 kB / 0.5238 GB, free: 13.09 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.277e-05/0.009351, allocations: 12.38 kB / 0.5238 GB, free: 13.07 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004494/0.0098, allocations: 155.9 kB / 0.524 GB, free: 12.92 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.009815, allocations: 192 / 0.524 GB, free: 12.92 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.339e-05/0.009838, allocations: 9.344 kB / 0.524 GB, free: 12.91 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.824e-06/0.009846, allocations: 7.938 kB / 0.524 GB, free: 12.9 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005216/0.01037, allocations: 150.3 kB / 0.5241 GB, free: 12.76 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009721/0.01134, allocations: 393.6 kB / 0.5245 GB, free: 12.34 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004815/0.01182, allocations: 127.9 kB / 0.5246 GB, free: 12.21 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002455/0.01207, allocations: 73.44 kB / 0.5247 GB, free: 12.14 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.616e-05/0.01209, allocations: 0.75 kB / 0.5247 GB, free: 12.14 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.515e-05/0.01213, allocations: 34.56 kB / 0.5247 GB, free: 12.09 MB / 458.7 MB Notification: Performance of pre-optimization done (n=12): time 1.162e-06/0.01213, allocations: 1.812 kB / 0.5247 GB, free: 12.09 MB / 458.7 MB Notification: Performance of matching and sorting (n=12): time 0.0007999/0.01293, allocations: 231.4 kB / 0.525 GB, free: 11.86 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.725e-05/0.01299, allocations: 55.41 kB / 0.525 GB, free: 11.8 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001694/0.01316, allocations: 157.6 kB / 0.5252 GB, free: 11.63 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.611e-05/0.01318, allocations: 28.45 kB / 0.5252 GB, free: 11.6 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/0.01331, allocations: 136.2 kB / 0.5253 GB, free: 11.46 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.122e-05/0.01336, allocations: 39.69 kB / 0.5253 GB, free: 11.42 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.264e-05/0.01343, allocations: 37.66 kB / 0.5254 GB, free: 11.38 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002028/0.01363, allocations: 322.8 kB / 0.5257 GB, free: 11.05 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002261/0.01386, allocations: 57.55 kB / 0.5257 GB, free: 11 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002426/0.0141, allocations: 84.34 kB / 0.5258 GB, free: 10.91 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004313/0.01453, allocations: 147.4 kB / 0.526 GB, free: 10.76 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.01453, allocations: 0 / 0.526 GB, free: 10.76 MB / 458.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005524/0.01509, allocations: 192.5 kB / 0.5262 GB, free: 10.57 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.01511, allocations: 11.94 kB / 0.5262 GB, free: 10.56 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.01512, allocations: 0 / 0.5262 GB, free: 10.56 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.288e-05/0.01514, allocations: 0.6562 kB / 0.5262 GB, free: 10.56 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002085/0.01535, allocations: 36.72 kB / 0.5262 GB, free: 10.52 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.294e-05/0.01536, allocations: 10.75 kB / 0.5262 GB, free: 10.52 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001514/0.01551, allocations: 27.86 kB / 0.5262 GB, free: 10.49 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.607e-05/0.01553, allocations: 8 kB / 0.5262 GB, free: 10.48 MB / 458.7 MB 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.000138/0.01567, allocations: 117.8 kB / 0.5264 GB, free: 10.36 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.011e-05/0.01572, allocations: 19.91 kB / 0.5264 GB, free: 10.34 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.687e-05/0.01579, allocations: 29.39 kB / 0.5264 GB, free: 10.3 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.0158, allocations: 7.125 kB / 0.5264 GB, free: 10.3 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.0158, allocations: 0 / 0.5264 GB, free: 10.3 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.01581, allocations: 0 / 0.5264 GB, free: 10.3 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002574/0.01607, allocations: 161.2 kB / 0.5266 GB, free: 10.11 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.01607, allocations: 0 / 0.5266 GB, free: 10.11 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002012/0.01627, allocations: 35.91 kB / 0.5266 GB, free: 10.08 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.01627, allocations: 3.938 kB / 0.5266 GB, free: 10.07 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/0.01629, allocations: 9.188 kB / 0.5266 GB, free: 10.07 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/0.01629, allocations: 3.938 kB / 0.5266 GB, free: 10.06 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01629, allocations: 0 / 0.5266 GB, free: 10.06 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008344/0.01713, allocations: 341.5 kB / 0.5269 GB, free: 9.719 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.913e-05/0.01716, allocations: 11.94 kB / 0.527 GB, free: 9.707 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.735e-05/0.01718, allocations: 7.25 kB / 0.527 GB, free: 9.703 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001627/0.01735, allocations: 23.91 kB / 0.527 GB, free: 9.68 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.311e-05/0.01742, allocations: 15.97 kB / 0.527 GB, free: 9.664 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/0.01743, allocations: 4 kB / 0.527 GB, free: 9.66 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001091/0.01754, allocations: 117.8 kB / 0.5271 GB, free: 9.547 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01754, allocations: 0 / 0.5271 GB, free: 9.547 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.000291/0.01783, allocations: 43.83 kB / 0.5272 GB, free: 9.504 MB / 458.7 MB 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.000138/0.01797, allocations: 102.8 kB / 0.5273 GB, free: 9.398 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0005085/0.01848, allocations: 135.8 kB / 0.5274 GB, free: 9.266 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.01848, allocations: 0 / 0.5274 GB, free: 9.266 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002311/0.01871, allocations: 66.77 kB / 0.5274 GB, free: 9.203 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003397/0.01905, allocations: 34.36 kB / 0.5275 GB, free: 9.172 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008453/0.01989, allocations: 356.5 kB / 0.5278 GB, free: 8.816 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001258/0.02002, allocations: 108.9 kB / 0.5279 GB, free: 8.691 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 6.985e-05/0.02009, allocations: 12.77 kB / 0.5279 GB, free: 8.68 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.274e-05/0.02015, allocations: 16.5 kB / 0.5279 GB, free: 8.664 MB / 458.7 MB Notification: Performance of SimCode: time 6.92e-07/0.02015, allocations: 0 / 0.5279 GB, free: 8.664 MB / 458.7 MB Notification: Performance of Templates: time 0.005494/0.02565, allocations: 1.617 MB / 0.5295 GB, free: 7.141 MB / 458.7 MB " [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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.952814553980716]