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.0008533/0.0008533, 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.001565/0.001565, allocations: 223.7 kB / 22.26 MB, free: 3.703 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.9806/0.9806, 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.7965/0.7965, allocations: 203.8 MB / 0.5042 GB, free: 10.7 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.001057/0.001057, allocations: 61.12 kB / 0.7182 GB, free: 4.387 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6031/0.6041, allocations: 102 MB / 0.8178 GB, free: 1.27 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling): time 0.00253/0.6067, allocations: 2.092 MB / 0.8199 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008984/0.6076, allocations: 0.6121 MB / 0.8205 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001093/0.6077, allocations: 1 kB / 0.8205 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000142/0.6078, allocations: 23.12 kB / 0.8205 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.713e-05/0.6079, allocations: 42.02 kB / 0.8205 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003/0.6082, allocations: 71.31 kB / 0.8206 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002315/0.6084, allocations: 190.4 kB / 0.8208 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001783/0.6086, allocations: 57.67 kB / 0.8208 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000232/0.6088, allocations: 80.77 kB / 0.8209 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001436/0.609, allocations: 77.33 kB / 0.821 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.939e-05/0.609, allocations: 19.09 kB / 0.821 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.36e-05/0.6091, allocations: 27.64 kB / 0.821 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.511e-05/0.6091, allocations: 29.05 kB / 0.8211 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.531e-05/0.6092, allocations: 82.25 kB / 0.8211 GB, free: 15 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002783/0.6095, allocations: 179.3 kB / 0.8213 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.6095, allocations: 0.6562 kB / 0.8213 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.324e-06/0.6095, allocations: 4 kB / 0.8213 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.396e-06/0.6095, allocations: 0 / 0.8213 GB, free: 14.93 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.0006556/0.6101, allocations: 421 kB / 0.8217 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.6102, allocations: 10.34 kB / 0.8217 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.31e-05/0.6102, allocations: 46.8 kB / 0.8218 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001443/0.6104, allocations: 35.3 kB / 0.8218 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002719/0.6107, allocations: 157.6 kB / 0.822 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.531e-05/0.6107, allocations: 63.75 kB / 0.822 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.071e-05/0.6108, allocations: 14.5 kB / 0.822 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002933/0.6111, allocations: 163.1 kB / 0.8222 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.6111, allocations: 0 / 0.8222 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.6111, allocations: 11.94 kB / 0.8222 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.6111, allocations: 3.25 kB / 0.8222 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002779/0.6114, allocations: 140.2 kB / 0.8223 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007272/0.6121, allocations: 0.4921 MB / 0.8228 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003466/0.6125, allocations: 128.3 kB / 0.8229 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001351/0.6126, allocations: 79.09 kB / 0.823 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.6126, allocations: 10.27 kB / 0.823 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.6126, allocations: 34.56 kB / 0.8231 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=12): time 1.402e-06/0.6126, allocations: 2 kB / 0.8231 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12): time 0.0004606/0.6131, allocations: 225.4 kB / 0.8233 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.628e-05/0.6131, allocations: 52.5 kB / 0.8233 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.6133, allocations: 160.8 kB / 0.8235 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.6133, allocations: 27.42 kB / 0.8235 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.849e-05/0.6134, allocations: 133.4 kB / 0.8236 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.163e-05/0.6134, allocations: 41.22 kB / 0.8237 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.653e-05/0.6134, allocations: 32.34 kB / 0.8237 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.959e-05/0.6135, allocations: 323.2 kB / 0.824 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001262/0.6137, allocations: 58.06 kB / 0.8241 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001408/0.6138, allocations: 82.98 kB / 0.8241 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003976/0.6142, allocations: 144 kB / 0.8243 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.6142, allocations: 1.25 kB / 0.8243 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003091/0.6145, allocations: 196.5 kB / 0.8245 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.6145, allocations: 5.406 kB / 0.8245 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.6145, allocations: 1.219 kB / 0.8245 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.6146, allocations: 1.891 kB / 0.8245 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.6147, allocations: 39.69 kB / 0.8245 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.6147, allocations: 2.109 kB / 0.8245 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.04e-05/0.6148, allocations: 30.91 kB / 0.8245 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.6148, allocations: 7.844 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 8.848e-05/0.6149, allocations: 136.8 kB / 0.8247 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.451e-05/0.6149, allocations: 15.61 kB / 0.8247 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.77e-05/0.6149, allocations: 17.8 kB / 0.8247 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.6149, allocations: 2.188 kB / 0.8247 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.6149, allocations: 0 / 0.8247 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.6149, allocations: 0.6094 kB / 0.8247 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002146/0.6152, allocations: 218.6 kB / 0.8249 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.6152, allocations: 1.062 kB / 0.8249 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001148/0.6153, allocations: 36.91 kB / 0.825 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-06/0.6153, allocations: 0.7031 kB / 0.825 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.6153, allocations: 1.531 kB / 0.825 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.6153, allocations: 2.016 kB / 0.825 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.6153, allocations: 3.938 kB / 0.825 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004834/0.6158, allocations: 345.9 kB / 0.8253 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.947e-05/0.6158, allocations: 12.2 kB / 0.8253 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.817e-05/0.6158, allocations: 5.281 kB / 0.8253 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.77e-05/0.6159, allocations: 21.22 kB / 0.8253 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.366e-05/0.6159, allocations: 16.17 kB / 0.8253 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.616, allocations: 2.469 kB / 0.8254 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.857e-05/0.616, allocations: 120.8 kB / 0.8255 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.616, allocations: 0 / 0.8255 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000183/0.6162, allocations: 37 kB / 0.8255 GB, free: 11.96 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.0006532/0.6169, allocations: 0.875 MB / 0.8264 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003045/0.6172, allocations: 140 kB / 0.8265 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.6172, allocations: 0 / 0.8265 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001221/0.6173, allocations: 77.12 kB / 0.8266 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002473/0.6175, allocations: 16.98 kB / 0.8266 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00199/0.6195, allocations: 1.994 MB / 0.8285 GB, free: 9.668 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002289/0.6198, allocations: 0.7155 MB / 0.8292 GB, free: 8.973 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.919e-05/0.6198, allocations: 11.22 kB / 0.8292 GB, free: 8.969 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.804e-05/0.6199, allocations: 46.92 kB / 0.8293 GB, free: 8.934 MB / 0.6198 GB Notification: Performance of SimCode: time 1.172e-06/0.6199, allocations: 0 / 0.8293 GB, free: 8.934 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02312/0.643, allocations: 3.506 MB / 0.8327 GB, free: 8.371 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.996/7.639, allocations: 7.656 kB / 0.8327 GB, free: 8.371 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.712642365135252] Failed to read output from testmodel.py, exit status != 0: 7.717451733071357 7.726967331 7.114576613 Calling exit ...