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.00129/0.00129, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.001792/0.001792, allocations: 211.5 kB / 22.24 MB, free: 3.594 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.9529/0.9529, allocations: 230.6 MB / 256 MB, free: 9.578 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.7637/0.7637, allocations: 203.8 MB / 0.5042 GB, free: 10.43 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.0009323/0.0009323, allocations: 71.14 kB / 0.7181 GB, free: 4.07 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5475/0.5484, allocations: 102 MB / 0.8178 GB, free: 0.875 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling): time 0.002767/0.5512, allocations: 1.988 MB / 0.8197 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009769/0.5522, allocations: 0.5738 MB / 0.8203 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001239/0.5523, allocations: 3.812 kB / 0.8203 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001425/0.5524, allocations: 21.98 kB / 0.8203 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.695e-05/0.5525, allocations: 45.61 kB / 0.8203 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003013/0.5528, allocations: 66.94 kB / 0.8204 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002451/0.5531, allocations: 190.3 kB / 0.8206 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001759/0.5532, allocations: 50.69 kB / 0.8206 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002094/0.5534, allocations: 83.62 kB / 0.8207 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000123/0.5536, allocations: 73.8 kB / 0.8208 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.29e-05/0.5536, allocations: 12.09 kB / 0.8208 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.386e-05/0.5536, allocations: 17.5 kB / 0.8208 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.935e-05/0.5537, allocations: 38.55 kB / 0.8208 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.519e-05/0.5538, allocations: 66.11 kB / 0.8209 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002928/0.554, allocations: 179.9 kB / 0.8211 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.554, allocations: 5.219 kB / 0.8211 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.715e-06/0.5541, allocations: 0 / 0.8211 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.5541, allocations: 0 / 0.8211 GB, free: 14.71 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.0006194/0.5547, allocations: 420.1 kB / 0.8215 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.5547, allocations: 11.25 kB / 0.8215 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.559e-05/0.5548, allocations: 48.38 kB / 0.8215 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001511/0.5549, allocations: 37.75 kB / 0.8216 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002611/0.5552, allocations: 160.4 kB / 0.8217 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.751e-05/0.5553, allocations: 66.91 kB / 0.8218 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.717e-05/0.5553, allocations: 13.53 kB / 0.8218 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002915/0.5556, allocations: 156.7 kB / 0.822 GB, free: 14 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.5556, allocations: 5.281 kB / 0.822 GB, free: 14 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/0.5556, allocations: 5.781 kB / 0.822 GB, free: 14 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.5556, allocations: 6.656 kB / 0.822 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003221/0.5559, allocations: 139.1 kB / 0.8221 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006506/0.5566, allocations: 419.8 kB / 0.8225 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003378/0.5569, allocations: 135.9 kB / 0.8226 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001278/0.5571, allocations: 69.77 kB / 0.8227 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.146e-05/0.5571, allocations: 1.875 kB / 0.8227 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.5571, allocations: 38.59 kB / 0.8227 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=12): time 1.212e-06/0.5571, allocations: 0 / 0.8227 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12): time 0.0004596/0.5576, allocations: 219.2 kB / 0.823 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.131e-05/0.5576, allocations: 53.12 kB / 0.823 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.5577, allocations: 166.4 kB / 0.8232 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.5577, allocations: 25.7 kB / 0.8232 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.238e-05/0.5578, allocations: 139.2 kB / 0.8233 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.884e-05/0.5579, allocations: 40.42 kB / 0.8234 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.466e-05/0.5579, allocations: 33.67 kB / 0.8234 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.69e-05/0.558, allocations: 322.6 kB / 0.8237 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000133/0.5581, allocations: 58.39 kB / 0.8238 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001392/0.5583, allocations: 85.88 kB / 0.8238 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002428/0.5585, allocations: 143.7 kB / 0.824 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.5585, allocations: 1.125 kB / 0.824 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003056/0.5588, allocations: 193.6 kB / 0.8242 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.5588, allocations: 6.406 kB / 0.8242 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.5588, allocations: 0 / 0.8242 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.5588, allocations: 3.094 kB / 0.8242 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.559, allocations: 35.44 kB / 0.8242 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.559, allocations: 9.984 kB / 0.8242 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.561e-05/0.559, allocations: 29.89 kB / 0.8242 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.5591, allocations: 3.938 kB / 0.8242 GB, free: 12.5 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 8.512e-05/0.5591, allocations: 129.6 kB / 0.8244 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.334e-05/0.5592, allocations: 14.55 kB / 0.8244 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.652e-05/0.5592, allocations: 22.98 kB / 0.8244 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.5592, allocations: 1.312 kB / 0.8244 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.5592, allocations: 4.609 kB / 0.8244 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.5592, allocations: 1.641 kB / 0.8244 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001963/0.5594, allocations: 198.4 kB / 0.8246 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.5594, allocations: 0.6094 kB / 0.8246 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000112/0.5595, allocations: 37.17 kB / 0.8246 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.5595, allocations: 4 kB / 0.8246 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.5595, allocations: 6 kB / 0.8246 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.5595, allocations: 1.188 kB / 0.8246 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.5595, allocations: 0.5156 kB / 0.8246 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000473/0.56, allocations: 342.7 kB / 0.825 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.06e-05/0.56, allocations: 16.48 kB / 0.825 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.5601, allocations: 6.016 kB / 0.825 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.756e-05/0.5601, allocations: 16.92 kB / 0.825 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.909e-05/0.5602, allocations: 16.06 kB / 0.825 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-06/0.5602, allocations: 3.297 kB / 0.825 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.625e-05/0.5603, allocations: 119.3 kB / 0.8251 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5603, allocations: 0 / 0.8251 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001801/0.5604, allocations: 36.84 kB / 0.8252 GB, free: 11.83 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.0006433/0.5611, allocations: 0.8846 MB / 0.826 GB, free: 11.1 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003027/0.5614, allocations: 139.3 kB / 0.8262 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.5614, allocations: 0 / 0.8262 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001311/0.5615, allocations: 76.33 kB / 0.8262 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002565/0.5618, allocations: 17.31 kB / 0.8263 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001915/0.5637, allocations: 1.99 MB / 0.8282 GB, free: 9.539 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.945e-05/0.5638, allocations: 108.6 kB / 0.8283 GB, free: 9.461 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.295e-05/0.5638, allocations: 12.56 kB / 0.8283 GB, free: 9.457 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.222e-05/0.5639, allocations: 50.22 kB / 0.8284 GB, free: 9.418 MB / 0.6198 GB Notification: Performance of SimCode: time 6.61e-07/0.5639, allocations: 0 / 0.8284 GB, free: 9.418 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01981/0.5837, allocations: 3.951 MB / 0.8322 GB, free: 8.398 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.609/7.193, allocations: 3.578 kB / 0.8322 GB, free: 8.398 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.06774176703766] Failed to read output from testmodel.py, exit status != 0: 7.273352317046374 7.286011616 6.729754529 Calling exit ...