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.0009583/0.0009583, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.001071/0.001071, allocations: 222.3 kB / 22.26 MB, free: 3.691 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.9758/0.9758, allocations: 230.6 MB / 256 MB, free: 9.797 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.7703/0.7703, allocations: 203.8 MB / 0.5042 GB, free: 10.73 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: "" <> buildModelFMU(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Discrete_Examples_HysteresisRelease_Cooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Discrete_Examples_HysteresisRelease_Cooling",fmuType="me",version="2.0",platforms={"static"}) [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.000904/0.000904, allocations: 66.61 kB / 0.7182 GB, free: 4.383 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5481/0.549, allocations: 102 MB / 0.8178 GB, free: 1.273 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling): time 0.002597/0.5516, allocations: 2.082 MB / 0.8199 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009384/0.5526, allocations: 0.6068 MB / 0.8205 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001078/0.5527, allocations: 6.812 kB / 0.8205 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001296/0.5528, allocations: 24.52 kB / 0.8205 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.157e-05/0.5529, allocations: 47.72 kB / 0.8205 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002774/0.5531, allocations: 68.3 kB / 0.8206 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002202/0.5534, allocations: 180.3 kB / 0.8208 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001778/0.5535, allocations: 59.98 kB / 0.8208 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000228/0.5538, allocations: 85.83 kB / 0.8209 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001398/0.5539, allocations: 80.5 kB / 0.821 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.818e-05/0.5539, allocations: 14.09 kB / 0.821 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.73e-05/0.554, allocations: 25.64 kB / 0.821 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.72e-05/0.554, allocations: 32.03 kB / 0.8211 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.67e-05/0.5541, allocations: 83.2 kB / 0.8211 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000309/0.5544, allocations: 178.8 kB / 0.8213 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.5544, allocations: 4.25 kB / 0.8213 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.495e-06/0.5544, allocations: 0 / 0.8213 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.486e-06/0.5545, allocations: 0 / 0.8213 GB, free: 14.94 MB / 0.6198 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.0006976/0.5551, allocations: 422.1 kB / 0.8217 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.5552, allocations: 8.25 kB / 0.8217 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.248e-05/0.5552, allocations: 50.84 kB / 0.8218 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000135/0.5554, allocations: 32.78 kB / 0.8218 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002371/0.5556, allocations: 155 kB / 0.8219 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.638e-05/0.5557, allocations: 65.39 kB / 0.822 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.195e-05/0.5557, allocations: 16.5 kB / 0.822 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002912/0.556, allocations: 165.2 kB / 0.8222 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.556, allocations: 0.7969 kB / 0.8222 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.669e-05/0.556, allocations: 6.844 kB / 0.8222 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.5561, allocations: 1.75 kB / 0.8222 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002926/0.5563, allocations: 144 kB / 0.8223 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001167/0.5575, allocations: 0.4931 MB / 0.8228 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003274/0.5578, allocations: 132.5 kB / 0.8229 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001319/0.558, allocations: 76.61 kB / 0.823 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.558, allocations: 2.25 kB / 0.823 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/0.558, allocations: 35.31 kB / 0.823 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=12): time 1.803e-06/0.558, allocations: 2.969 kB / 0.823 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12): time 0.0004415/0.5585, allocations: 219.8 kB / 0.8233 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.552e-05/0.5585, allocations: 56.34 kB / 0.8233 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.5586, allocations: 162.9 kB / 0.8235 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.5586, allocations: 26.77 kB / 0.8235 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.893e-05/0.5587, allocations: 131.8 kB / 0.8236 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.601e-05/0.5587, allocations: 40.55 kB / 0.8237 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.027e-05/0.5588, allocations: 29.91 kB / 0.8237 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.5589, allocations: 322.9 kB / 0.824 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/0.559, allocations: 61.7 kB / 0.824 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001471/0.5592, allocations: 88.95 kB / 0.8241 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002664/0.5594, allocations: 148.6 kB / 0.8243 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.5595, allocations: 0 / 0.8243 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003087/0.5598, allocations: 186.5 kB / 0.8245 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/0.5598, allocations: 7.766 kB / 0.8245 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.5598, allocations: 5.219 kB / 0.8245 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.5598, allocations: 1.5 kB / 0.8245 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.5599, allocations: 44.22 kB / 0.8245 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.5599, allocations: 1.219 kB / 0.8245 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.729e-05/0.56, allocations: 31.17 kB / 0.8245 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.56, allocations: 8.406 kB / 0.8245 GB, free: 12.64 MB / 0.6198 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 9.765e-05/0.5601, allocations: 125.9 kB / 0.8247 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.41e-05/0.5602, allocations: 18.03 kB / 0.8247 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.809e-05/0.5602, allocations: 17.58 kB / 0.8247 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.5602, allocations: 1.375 kB / 0.8247 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.5602, allocations: 2.031 kB / 0.8247 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.5602, allocations: 0.7969 kB / 0.8247 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002336/0.5604, allocations: 217.8 kB / 0.8249 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.5604, allocations: 2.156 kB / 0.8249 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001148/0.5606, allocations: 35.52 kB / 0.8249 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.5606, allocations: 1.844 kB / 0.825 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.5606, allocations: 4 kB / 0.825 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.5606, allocations: 2.109 kB / 0.825 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.5606, allocations: 3.938 kB / 0.825 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004976/0.5611, allocations: 349.3 kB / 0.8253 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.888e-05/0.5611, allocations: 12.59 kB / 0.8253 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.786e-05/0.5611, allocations: 2.266 kB / 0.8253 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.413e-05/0.5612, allocations: 20.23 kB / 0.8253 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.029e-05/0.5613, allocations: 11.91 kB / 0.8253 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/0.5613, allocations: 2.922 kB / 0.8253 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.408e-05/0.5613, allocations: 120.3 kB / 0.8255 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5613, allocations: 0 / 0.8255 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001972/0.5615, allocations: 41.44 kB / 0.8255 GB, free: 11.97 MB / 0.6198 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.000711/0.5623, allocations: 0.8706 MB / 0.8263 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003497/0.5626, allocations: 136.5 kB / 0.8265 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.5626, allocations: 0 / 0.8265 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001341/0.5627, allocations: 81.72 kB / 0.8266 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002578/0.563, allocations: 22.42 kB / 0.8266 GB, free: 11.19 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002257/0.5653, allocations: 1.999 MB / 0.8285 GB, free: 9.672 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002583/0.5655, allocations: 0.718 MB / 0.8292 GB, free: 8.973 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.38e-05/0.5656, allocations: 12.06 kB / 0.8292 GB, free: 8.969 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.106e-05/0.5657, allocations: 43.84 kB / 0.8293 GB, free: 8.938 MB / 0.6198 GB Notification: Performance of SimCode: time 7.21e-07/0.5657, allocations: 4 kB / 0.8293 GB, free: 8.934 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02386/0.5895, allocations: 3.496 MB / 0.8327 GB, free: 8.383 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.743/7.332, allocations: 11 kB / 0.8327 GB, free: 8.375 MB / 0.6198 GB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_Discrete_Examples_HysteresisRelease_Cooling_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_Discrete_Examples_HysteresisRelease_Cooling.fmu > IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.253285540966317] Failed to read output from testmodel.py, exit status != 0: 7.409718851093203 7.424688375 6.868063445 Calling exit ...