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.00077/0.00077, 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.000797/0.000797, allocations: 219 kB / 22.26 MB, free: 3.695 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 1.017/1.017, allocations: 230.6 MB / 256 MB, free: 9.801 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.8321/0.8321, allocations: 203.8 MB / 0.5042 GB, free: 10.68 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_Heating,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Discrete_Examples_HysteresisRelease_Heating",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Discrete_Examples_HysteresisRelease_Heating",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.0009041/0.0009041, allocations: 67.23 kB / 0.7182 GB, free: 4.328 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5593/0.5602, allocations: 102 MB / 0.8178 GB, free: 1.238 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating): time 0.002755/0.5629, allocations: 2.081 MB / 0.8199 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009776/0.5639, allocations: 0.6065 MB / 0.8205 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001294/0.564, allocations: 6.594 kB / 0.8205 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000143/0.5642, allocations: 23.03 kB / 0.8205 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000102/0.5643, allocations: 42.81 kB / 0.8205 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003199/0.5646, allocations: 61.98 kB / 0.8206 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002407/0.5648, allocations: 193.4 kB / 0.8208 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001836/0.565, allocations: 51.66 kB / 0.8208 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002262/0.5653, allocations: 88.45 kB / 0.8209 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001379/0.5654, allocations: 86.34 kB / 0.821 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.773e-05/0.5654, allocations: 14.53 kB / 0.821 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.265e-05/0.5655, allocations: 17.66 kB / 0.821 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.942e-05/0.5655, allocations: 36.91 kB / 0.8211 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.351e-05/0.5656, allocations: 83.8 kB / 0.8211 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002897/0.5659, allocations: 175 kB / 0.8213 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.5659, allocations: 0 / 0.8213 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.204e-06/0.5659, allocations: 4 kB / 0.8213 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.064e-05/0.5659, allocations: 3.938 kB / 0.8213 GB, free: 14.9 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.0006606/0.5666, allocations: 419.1 kB / 0.8217 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.5666, allocations: 10.88 kB / 0.8217 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.137e-05/0.5667, allocations: 45.31 kB / 0.8218 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001315/0.5668, allocations: 34.94 kB / 0.8218 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002269/0.567, allocations: 167.2 kB / 0.822 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.087e-05/0.5671, allocations: 62.73 kB / 0.822 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.111e-05/0.5671, allocations: 13.42 kB / 0.822 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002843/0.5674, allocations: 157.7 kB / 0.8222 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.5674, allocations: 0 / 0.8222 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.808e-05/0.5674, allocations: 14.25 kB / 0.8222 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.687e-06/0.5674, allocations: 6.578 kB / 0.8222 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000305/0.5678, allocations: 146.6 kB / 0.8223 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008044/0.5686, allocations: 0.4912 MB / 0.8228 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003969/0.569, allocations: 128 kB / 0.8229 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001502/0.5691, allocations: 75.64 kB / 0.823 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.491e-05/0.5691, allocations: 1.906 kB / 0.823 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.5692, allocations: 37.36 kB / 0.823 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=12): time 2.364e-06/0.5692, allocations: 0 / 0.823 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12): time 0.0004871/0.5696, allocations: 223.6 kB / 0.8233 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.56e-05/0.5697, allocations: 52.44 kB / 0.8233 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.5698, allocations: 159.2 kB / 0.8235 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.5698, allocations: 30.73 kB / 0.8235 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.507e-05/0.5699, allocations: 135.6 kB / 0.8236 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.081e-05/0.57, allocations: 36.66 kB / 0.8237 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.87e-05/0.57, allocations: 27.61 kB / 0.8237 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.5701, allocations: 330.5 kB / 0.824 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/0.5703, allocations: 58.39 kB / 0.8241 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001506/0.5704, allocations: 85.83 kB / 0.8241 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002571/0.5707, allocations: 143.7 kB / 0.8243 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.5707, allocations: 0 / 0.8243 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003312/0.571, allocations: 194.8 kB / 0.8245 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.571, allocations: 5.391 kB / 0.8245 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.571, allocations: 1.156 kB / 0.8245 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.571, allocations: 5.219 kB / 0.8245 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001351/0.5712, allocations: 40.41 kB / 0.8245 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.946e-06/0.5712, allocations: 2.875 kB / 0.8245 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.55e-05/0.5713, allocations: 33.86 kB / 0.8245 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.5713, allocations: 4.188 kB / 0.8245 GB, free: 12.61 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 0.0001048/0.5714, allocations: 125.9 kB / 0.8247 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.656e-05/0.5714, allocations: 14.2 kB / 0.8247 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.123e-05/0.5715, allocations: 17.45 kB / 0.8247 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.5715, allocations: 2.812 kB / 0.8247 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.5715, allocations: 0.6094 kB / 0.8247 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.5715, allocations: 0.7969 kB / 0.8247 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002458/0.5717, allocations: 226.9 kB / 0.8249 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.5717, allocations: 0 / 0.8249 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001255/0.5718, allocations: 32.91 kB / 0.8249 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.5718, allocations: 1.469 kB / 0.8249 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.5719, allocations: 0.6094 kB / 0.8249 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.5719, allocations: 5.156 kB / 0.825 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.5719, allocations: 0.6562 kB / 0.825 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005344/0.5724, allocations: 352.8 kB / 0.8253 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.361e-05/0.5724, allocations: 12.98 kB / 0.8253 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.034e-05/0.5725, allocations: 6.016 kB / 0.8253 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.761e-05/0.5725, allocations: 20.91 kB / 0.8253 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.661e-05/0.5726, allocations: 18.92 kB / 0.8253 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-06/0.5726, allocations: 3.141 kB / 0.8253 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.522e-05/0.5727, allocations: 113.1 kB / 0.8255 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5727, allocations: 0 / 0.8255 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002021/0.5729, allocations: 36.34 kB / 0.8255 GB, free: 11.94 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.0007572/0.5737, allocations: 0.876 MB / 0.8263 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003535/0.574, allocations: 135.7 kB / 0.8265 GB, free: 11.19 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.574, allocations: 0 / 0.8265 GB, free: 11.19 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001428/0.5742, allocations: 79.98 kB / 0.8266 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000298/0.5745, allocations: 21.95 kB / 0.8266 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002301/0.5768, allocations: 1.993 MB / 0.8285 GB, free: 9.645 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002414/0.577, allocations: 0.7188 MB / 0.8292 GB, free: 8.945 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.039e-05/0.5771, allocations: 12.66 kB / 0.8292 GB, free: 8.941 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.605e-05/0.5771, allocations: 42.48 kB / 0.8293 GB, free: 8.91 MB / 0.6198 GB Notification: Performance of SimCode: time 6.92e-07/0.5771, allocations: 1.562 kB / 0.8293 GB, free: 8.91 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02236/0.5995, allocations: 3.5 MB / 0.8327 GB, free: 8.355 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.749/7.349, allocations: 4.844 kB / 0.8327 GB, free: 8.355 MB / 0.6198 GB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_Discrete_Examples_HysteresisRelease_Heating_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_Discrete_Examples_HysteresisRelease_Heating.fmu > IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.418930680025369] Failed to read output from testmodel.py, exit status != 0: 7.425406489986926 7.440018285 6.87201779 Calling exit ...