Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007619/0.0007619, allocations: 117.6 kB / 19.7 MB, free: 0.5273 MB / 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.0007448/0.0007448, allocations: 215.7 kB / 23.01 MB, free: 3.109 MB / 13.93 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 0.8657/0.8657, allocations: 230.6 MB / 256.8 MB, free: 3.441 MB / 202.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-531:190: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-531:198: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.7317/0.7317, allocations: 203.8 MB / 0.5049 GB, free: 0.6875 MB / 410.7 MB " [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_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling") translateModel(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009153/0.0009153, allocations: 71.89 kB / 0.7194 GB, free: 14.48 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4809/0.4818, allocations: 102 MB / 0.8191 GB, free: 25.23 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling): time 0.002568/0.4844, allocations: 2.087 MB / 0.8211 GB, free: 23.8 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0007638/0.4852, allocations: 0.6059 MB / 0.8217 GB, free: 23.37 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.485e-05/0.4853, allocations: 3.594 kB / 0.8217 GB, free: 23.37 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001173/0.4854, allocations: 26.95 kB / 0.8217 GB, free: 23.35 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.325e-05/0.4855, allocations: 43.3 kB / 0.8218 GB, free: 23.32 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002524/0.4857, allocations: 63.09 kB / 0.8218 GB, free: 23.29 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002423/0.486, allocations: 193.5 kB / 0.822 GB, free: 23.19 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001563/0.4861, allocations: 56.77 kB / 0.8221 GB, free: 23.16 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001944/0.4863, allocations: 83.81 kB / 0.8221 GB, free: 23.12 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001243/0.4864, allocations: 83.69 kB / 0.8222 GB, free: 23.08 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.011e-05/0.4865, allocations: 13.56 kB / 0.8222 GB, free: 23.08 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.625e-05/0.4865, allocations: 19.23 kB / 0.8222 GB, free: 23.08 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 3.472e-05/0.4866, allocations: 31.53 kB / 0.8223 GB, free: 23.06 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 6.819e-05/0.4866, allocations: 90 kB / 0.8224 GB, free: 23 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002448/0.4869, allocations: 175.2 kB / 0.8225 GB, free: 22.93 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.4869, allocations: 0.8125 kB / 0.8225 GB, free: 22.93 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.244e-06/0.4869, allocations: 0 / 0.8225 GB, free: 22.93 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.204e-05/0.4869, allocations: 0.5156 kB / 0.8225 GB, free: 22.93 MB / 0.6355 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.0006027/0.4875, allocations: 427 kB / 0.8229 GB, free: 22.59 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.4875, allocations: 11.91 kB / 0.8229 GB, free: 22.59 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000126/0.4877, allocations: 30.06 kB / 0.823 GB, free: 22.58 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002047/0.4879, allocations: 162.5 kB / 0.8231 GB, free: 22.42 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.299e-05/0.488, allocations: 63.98 kB / 0.8232 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.384e-05/0.488, allocations: 18.16 kB / 0.8232 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002805/0.4883, allocations: 159 kB / 0.8234 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.4883, allocations: 0 / 0.8234 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.4883, allocations: 7.688 kB / 0.8234 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.4883, allocations: 3.156 kB / 0.8234 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003039/0.4886, allocations: 147.9 kB / 0.8235 GB, free: 22.24 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006488/0.4893, allocations: 0.4933 MB / 0.824 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003794/0.4896, allocations: 135.8 kB / 0.8241 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001378/0.4898, allocations: 77 kB / 0.8242 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.4898, allocations: 6.906 kB / 0.8242 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.227e-05/0.4898, allocations: 31.69 kB / 0.8242 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=12): time 1.854e-06/0.4898, allocations: 4 kB / 0.8242 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12): time 0.000474/0.4903, allocations: 214 kB / 0.8244 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.685e-05/0.4903, allocations: 52.97 kB / 0.8245 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.941e-05/0.4904, allocations: 156.2 kB / 0.8246 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.028e-05/0.4904, allocations: 30.92 kB / 0.8247 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.271e-05/0.4905, allocations: 138.5 kB / 0.8248 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.631e-05/0.4905, allocations: 40.08 kB / 0.8248 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.15e-05/0.4905, allocations: 30.14 kB / 0.8249 GB, free: 21.24 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.508e-05/0.4906, allocations: 321.4 kB / 0.8252 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001246/0.4907, allocations: 63.28 kB / 0.8252 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001389/0.4908, allocations: 91.19 kB / 0.8253 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002303/0.4911, allocations: 139 kB / 0.8255 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.4911, allocations: 5.25 kB / 0.8255 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002881/0.4914, allocations: 189.8 kB / 0.8256 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.4914, allocations: 5.656 kB / 0.8256 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.4914, allocations: 0.5625 kB / 0.8256 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.4914, allocations: 6.469 kB / 0.8257 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.4915, allocations: 43.27 kB / 0.8257 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.4915, allocations: 2 kB / 0.8257 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.198e-05/0.4916, allocations: 26.23 kB / 0.8257 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-06/0.4916, allocations: 7.656 kB / 0.8257 GB, free: 20.7 MB / 0.6355 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 6.749e-05/0.4917, allocations: 130.5 kB / 0.8259 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.092e-05/0.4917, allocations: 19.42 kB / 0.8259 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.267e-05/0.4917, allocations: 18.8 kB / 0.8259 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.4917, allocations: 1.156 kB / 0.8259 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.4917, allocations: 1.125 kB / 0.8259 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.4917, allocations: 0 / 0.8259 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001703/0.4919, allocations: 215.3 kB / 0.8261 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.4919, allocations: 0 / 0.8261 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001027/0.492, allocations: 33.11 kB / 0.8261 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.492, allocations: 0 / 0.8261 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.492, allocations: 2.109 kB / 0.8261 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.492, allocations: 5.188 kB / 0.8261 GB, free: 20.35 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.492, allocations: 0.6562 kB / 0.8261 GB, free: 20.35 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004328/0.4925, allocations: 353 kB / 0.8265 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.581e-05/0.4925, allocations: 17.05 kB / 0.8265 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.4925, allocations: 5.406 kB / 0.8265 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.617e-05/0.4926, allocations: 21.08 kB / 0.8265 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.516e-05/0.4926, allocations: 11.7 kB / 0.8265 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.673e-06/0.4926, allocations: 2.953 kB / 0.8265 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.09e-05/0.4927, allocations: 115.9 kB / 0.8266 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-08/0.4927, allocations: 0 / 0.8266 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001709/0.4929, allocations: 36.58 kB / 0.8267 GB, free: 20.03 MB / 0.6355 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 7.1e-05/0.4929, allocations: 100.3 kB / 0.8268 GB, free: 19.94 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002961/0.4932, allocations: 143.8 kB / 0.8269 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.4932, allocations: 0 / 0.8269 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001254/0.4933, allocations: 77.81 kB / 0.827 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002269/0.4936, allocations: 27.22 kB / 0.827 GB, free: 19.87 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005864/0.4942, allocations: 417.3 kB / 0.8274 GB, free: 19.58 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001169/0.4943, allocations: 0.722 MB / 0.8281 GB, free: 18.88 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.034e-05/0.4943, allocations: 16.53 kB / 0.8281 GB, free: 18.87 MB / 0.6355 GB Notification: Performance of SimCode: time 8.41e-07/0.4943, allocations: 0 / 0.8281 GB, free: 18.87 MB / 0.6355 GB Notification: Performance of Templates: time 0.003231/0.4976, allocations: 1.846 MB / 0.8299 GB, free: 18.7 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.sim & ./IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.617252125870436] Failed to read output from testmodel.py, exit status != 0: 0.5027527590282261 0.511507389 0.022807488 Calling exit ...