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.000742/0.000742, 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.0007804/0.0007804, allocations: 223.6 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 0.9957/0.9957, allocations: 230.6 MB / 256 MB, free: 9.805 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.8029/0.8029, allocations: 203.8 MB / 0.5042 GB, free: 10.77 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.001035/0.001035, allocations: 70.91 kB / 0.7182 GB, free: 4.398 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6062/0.6072, allocations: 102 MB / 0.8178 GB, free: 1.285 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating): time 0.002644/0.6098, allocations: 2.093 MB / 0.8199 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009262/0.6108, allocations: 0.6097 MB / 0.8205 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001178/0.6109, allocations: 2.719 kB / 0.8205 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001423/0.611, allocations: 24.09 kB / 0.8205 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.163e-05/0.6111, allocations: 47.83 kB / 0.8205 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003254/0.6115, allocations: 59.83 kB / 0.8206 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002538/0.6117, allocations: 190.1 kB / 0.8208 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001954/0.6119, allocations: 54.55 kB / 0.8208 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002844/0.6122, allocations: 83.67 kB / 0.8209 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001713/0.6124, allocations: 85.95 kB / 0.821 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.03e-05/0.6124, allocations: 12 kB / 0.821 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.917e-05/0.6125, allocations: 19.7 kB / 0.821 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.201e-05/0.6125, allocations: 37.47 kB / 0.8211 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.548e-05/0.6126, allocations: 78.05 kB / 0.8211 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000371/0.613, allocations: 186.5 kB / 0.8213 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.735e-06/0.613, allocations: 0 / 0.8213 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.206e-06/0.613, allocations: 0 / 0.8213 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.518e-06/0.613, allocations: 0 / 0.8213 GB, free: 14.95 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.0008676/0.6139, allocations: 420.1 kB / 0.8217 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.066e-05/0.6139, allocations: 14.53 kB / 0.8217 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.465e-05/0.614, allocations: 45.58 kB / 0.8218 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001988/0.6142, allocations: 35.11 kB / 0.8218 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003534/0.6145, allocations: 166.4 kB / 0.822 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001184/0.6147, allocations: 63.17 kB / 0.822 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.938e-05/0.6147, allocations: 12.62 kB / 0.822 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003626/0.6151, allocations: 161.5 kB / 0.8222 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.6151, allocations: 0 / 0.8222 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.972e-05/0.6151, allocations: 8.109 kB / 0.8222 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.6151, allocations: 7.25 kB / 0.8222 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003221/0.6154, allocations: 144.5 kB / 0.8223 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008791/0.6163, allocations: 0.4915 MB / 0.8228 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004339/0.6167, allocations: 134.8 kB / 0.8229 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001555/0.6169, allocations: 78.48 kB / 0.823 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.39e-05/0.6169, allocations: 1.188 kB / 0.823 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.088e-05/0.6169, allocations: 31.69 kB / 0.823 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=12): time 1.522e-06/0.6169, allocations: 0 / 0.823 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12): time 0.0005376/0.6175, allocations: 226.7 kB / 0.8233 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.447e-05/0.6175, allocations: 51.41 kB / 0.8233 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/0.6177, allocations: 156.9 kB / 0.8235 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.6177, allocations: 35.69 kB / 0.8235 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.825e-05/0.6178, allocations: 133.8 kB / 0.8236 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.143e-05/0.6178, allocations: 40.53 kB / 0.8237 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.806e-05/0.6179, allocations: 29.02 kB / 0.8237 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.618, allocations: 326.4 kB / 0.824 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000158/0.6182, allocations: 57.75 kB / 0.8241 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001823/0.6184, allocations: 89.92 kB / 0.8241 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002751/0.6187, allocations: 141.2 kB / 0.8243 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.6187, allocations: 0 / 0.8243 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006078/0.6193, allocations: 193.2 kB / 0.8245 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.629e-05/0.6193, allocations: 6.406 kB / 0.8245 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.6193, allocations: 1.75 kB / 0.8245 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.6193, allocations: 1.625 kB / 0.8245 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001392/0.6195, allocations: 36.61 kB / 0.8245 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.6195, allocations: 5.312 kB / 0.8245 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.241e-05/0.6195, allocations: 30.36 kB / 0.8245 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.6196, allocations: 4.719 kB / 0.8245 GB, free: 12.66 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.0001109/0.6197, allocations: 129.4 kB / 0.8247 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.803e-05/0.6197, allocations: 14.22 kB / 0.8247 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.971e-05/0.6197, allocations: 17.89 kB / 0.8247 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.668e-06/0.6198, allocations: 1 kB / 0.8247 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.6198, allocations: 5.281 kB / 0.8247 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/0.6198, allocations: 1.078 kB / 0.8247 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002384/0.62, allocations: 218.7 kB / 0.8249 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.62, allocations: 4.797 kB / 0.8249 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/0.6201, allocations: 36.22 kB / 0.825 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.96e-06/0.6201, allocations: 1.406 kB / 0.825 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.6201, allocations: 0.5156 kB / 0.825 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.6201, allocations: 2.078 kB / 0.825 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.6201, allocations: 0 / 0.825 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005283/0.6207, allocations: 349.8 kB / 0.8253 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.051e-05/0.6207, allocations: 12.78 kB / 0.8253 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.973e-05/0.6207, allocations: 1.75 kB / 0.8253 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.167e-05/0.6208, allocations: 25.25 kB / 0.8253 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.705e-05/0.6209, allocations: 15.83 kB / 0.8253 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.188e-06/0.6209, allocations: 6.766 kB / 0.8254 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.571e-05/0.6209, allocations: 111.9 kB / 0.8255 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.6209, allocations: 5.062 kB / 0.8255 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001933/0.6211, allocations: 35.84 kB / 0.8255 GB, free: 11.98 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.0006951/0.6218, allocations: 0.8689 MB / 0.8263 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003379/0.6222, allocations: 149.7 kB / 0.8265 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.6222, allocations: 1.375 kB / 0.8265 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000157/0.6223, allocations: 75.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.000305/0.6226, allocations: 19.88 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.002199/0.6248, allocations: 1.99 MB / 0.8285 GB, free: 9.684 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002549/0.6251, allocations: 0.7191 MB / 0.8292 GB, free: 8.984 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.57e-05/0.6251, allocations: 8.844 kB / 0.8292 GB, free: 8.984 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.036e-05/0.6252, allocations: 43.17 kB / 0.8293 GB, free: 8.953 MB / 0.6198 GB Notification: Performance of SimCode: time 1.012e-06/0.6252, allocations: 0 / 0.8293 GB, free: 8.953 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02231/0.6475, allocations: 3.497 MB / 0.8327 GB, free: 8.398 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.689/7.337, allocations: 9.047 kB / 0.8327 GB, free: 8.391 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating_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_Heating.fmu > IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.43411595816724] Failed to read output from testmodel.py, exit status != 0: 7.417483448982239 7.432151365 6.817089206 Calling exit ...