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.0009125/0.0009125, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.0009391/0.0009391, allocations: 209.2 kB / 22.24 MB, free: 3.59 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.016/1.016, allocations: 230.6 MB / 256 MB, free: 9.605 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.7595/0.7595, 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.0009396/0.0009396, allocations: 75.22 kB / 0.7181 GB, free: 4.09 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5836/0.5845, allocations: 102 MB / 0.8178 GB, free: 1.062 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling): time 0.002778/0.5873, allocations: 2.004 MB / 0.8197 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008912/0.5882, allocations: 0.5648 MB / 0.8203 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001141/0.5883, allocations: 1.562 kB / 0.8203 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001395/0.5885, allocations: 26.52 kB / 0.8203 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.631e-05/0.5885, allocations: 46.06 kB / 0.8203 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003099/0.5889, allocations: 62.8 kB / 0.8204 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002423/0.5891, allocations: 189.8 kB / 0.8206 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001572/0.5893, allocations: 50.8 kB / 0.8206 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002039/0.5895, allocations: 89.62 kB / 0.8207 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001208/0.5896, allocations: 70.05 kB / 0.8208 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.441e-05/0.5896, allocations: 14.75 kB / 0.8208 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.451e-05/0.5897, allocations: 17.84 kB / 0.8208 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.248e-05/0.5897, allocations: 37.67 kB / 0.8208 GB, free: 15 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.134e-05/0.5898, allocations: 70.84 kB / 0.8209 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002471/0.59, allocations: 175.7 kB / 0.8211 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.59, allocations: 0.7969 kB / 0.8211 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.274e-06/0.59, allocations: 0 / 0.8211 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.037e-06/0.59, allocations: 0 / 0.8211 GB, free: 14.89 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.0006214/0.5906, allocations: 422.9 kB / 0.8215 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.5907, allocations: 10.81 kB / 0.8215 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.4e-05/0.5907, allocations: 45.81 kB / 0.8215 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001327/0.5909, allocations: 30.75 kB / 0.8216 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000242/0.5911, allocations: 168.9 kB / 0.8217 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.654e-05/0.5912, allocations: 65.36 kB / 0.8218 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.912e-05/0.5912, allocations: 13.44 kB / 0.8218 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002875/0.5915, allocations: 163 kB / 0.822 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.5915, allocations: 1.312 kB / 0.822 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.5915, allocations: 5.188 kB / 0.822 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.5915, allocations: 2.938 kB / 0.822 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003026/0.5918, allocations: 145.4 kB / 0.8221 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006317/0.5925, allocations: 420.3 kB / 0.8225 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003297/0.5928, allocations: 137.3 kB / 0.8226 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001304/0.5929, allocations: 73.92 kB / 0.8227 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.999e-05/0.593, allocations: 1 kB / 0.8227 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.593, allocations: 35.84 kB / 0.8227 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=12): time 1.894e-06/0.593, allocations: 1.5 kB / 0.8227 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12): time 0.0004489/0.5934, allocations: 226.1 kB / 0.823 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.5935, allocations: 54.64 kB / 0.823 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.5936, allocations: 156.3 kB / 0.8232 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.5936, allocations: 31.27 kB / 0.8232 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.506e-05/0.5937, allocations: 139 kB / 0.8233 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.147e-05/0.5937, allocations: 36.72 kB / 0.8234 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.833e-05/0.5938, allocations: 29.52 kB / 0.8234 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.992e-05/0.5939, allocations: 329.6 kB / 0.8237 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001451/0.594, allocations: 63.44 kB / 0.8238 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001385/0.5942, allocations: 85.44 kB / 0.8238 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002448/0.5944, allocations: 147.3 kB / 0.824 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.5944, allocations: 0 / 0.824 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003252/0.5947, allocations: 190.2 kB / 0.8242 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.5948, allocations: 6 kB / 0.8242 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.5948, allocations: 5.891 kB / 0.8242 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.5948, allocations: 1.188 kB / 0.8242 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/0.5949, allocations: 39.42 kB / 0.8242 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.5949, allocations: 2.172 kB / 0.8242 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.102e-05/0.595, allocations: 31.08 kB / 0.8242 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.595, allocations: 4.578 kB / 0.8243 GB, free: 12.68 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.558e-05/0.5951, allocations: 124.9 kB / 0.8244 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.498e-05/0.5951, allocations: 14.56 kB / 0.8244 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.76e-05/0.5952, allocations: 25.92 kB / 0.8244 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.5952, allocations: 1.125 kB / 0.8244 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.5952, allocations: 1.656 kB / 0.8244 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.5952, allocations: 1.219 kB / 0.8244 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001996/0.5954, allocations: 197.8 kB / 0.8246 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.5954, allocations: 1.531 kB / 0.8246 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001129/0.5955, allocations: 36.83 kB / 0.8246 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.5955, allocations: 0 / 0.8246 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.5955, allocations: 6.109 kB / 0.8246 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.5955, allocations: 5.562 kB / 0.8247 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.5955, allocations: 0.6094 kB / 0.8247 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004909/0.596, allocations: 337.6 kB / 0.825 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.058e-05/0.596, allocations: 13.39 kB / 0.825 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.596, allocations: 5.953 kB / 0.825 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.133e-05/0.5961, allocations: 20.89 kB / 0.825 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.033e-05/0.5962, allocations: 14.73 kB / 0.825 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/0.5962, allocations: 4.172 kB / 0.825 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.718e-05/0.5963, allocations: 119.5 kB / 0.8251 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5963, allocations: 5.25 kB / 0.8251 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001806/0.5964, allocations: 35.5 kB / 0.8252 GB, free: 12.01 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.0006476/0.5971, allocations: 0.876 MB / 0.826 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003158/0.5974, allocations: 138 kB / 0.8262 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.5974, allocations: 4 kB / 0.8262 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001303/0.5975, allocations: 74.08 kB / 0.8262 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002613/0.5978, allocations: 16.97 kB / 0.8263 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001974/0.5998, allocations: 1.996 MB / 0.8282 GB, free: 9.719 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.118e-05/0.5999, allocations: 108 kB / 0.8283 GB, free: 9.641 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.214e-05/0.5999, allocations: 8.062 kB / 0.8283 GB, free: 9.641 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.807e-05/0.6, allocations: 46.45 kB / 0.8284 GB, free: 9.605 MB / 0.6198 GB Notification: Performance of SimCode: time 1.363e-06/0.6, allocations: 1.281 kB / 0.8284 GB, free: 9.605 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02191/0.6219, allocations: 3.959 MB / 0.8322 GB, free: 8.578 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.071/7.693, allocations: 5.844 kB / 0.8322 GB, free: 8.578 MB / 0.6198 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 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.80812121508643] Failed to read output from testmodel.py, exit status != 0: 7.770770485047251 7.780857142 7.18881533 Calling exit ...