Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.001256/0.001256, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001346/0.001346, allocations: 165.9 kB / 22.45 MB, free: 2.105 MB / 18.57 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.8995/0.8995, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.5402/0.5402, allocations: 110.2 MB / 369.4 MB, free: 12.63 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 0.5473 GB, free: 9.824 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.334e-05/1.464e-05, allocations: 2.281 kB / 0.5473 GB, free: 9.82 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003281/0.003296, allocations: 3.234 MB / 0.5504 GB, free: 6.562 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 6.122e-05/0.003357, allocations: 47.81 kB / 0.5505 GB, free: 6.516 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.081e-05/0.003378, allocations: 0 / 0.5505 GB, free: 6.516 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 9.335e-05/0.003471, allocations: 7.922 kB / 0.5505 GB, free: 6.508 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 6.183e-05/0.003533, allocations: 11.94 kB / 0.5505 GB, free: 6.496 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003968/0.00393, allocations: 198.5 kB / 0.5507 GB, free: 6.305 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 7.27e-05/0.004002, allocations: 35.84 kB / 0.5507 GB, free: 6.27 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 3.567e-05/0.004038, allocations: 4 kB / 0.5507 GB, free: 6.266 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 4.38e-05/0.004082, allocations: 19.92 kB / 0.5507 GB, free: 6.246 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 7.032e-05/0.004152, allocations: 15.97 kB / 0.5508 GB, free: 6.23 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.004164, allocations: 0 / 0.5508 GB, free: 6.23 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001866/0.004351, allocations: 135.5 kB / 0.5509 GB, free: 6.098 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 4.353e-05/0.004394, allocations: 11.98 kB / 0.5509 GB, free: 6.086 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.117e-05/0.004415, allocations: 12 kB / 0.5509 GB, free: 6.074 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001834/0.004599, allocations: 127.7 kB / 0.551 GB, free: 5.949 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.004601, allocations: 4 kB / 0.551 GB, free: 5.945 MB / 0.5105 GB Notification: Performance of FrontEnd: time 8.11e-07/0.004601, allocations: 0 / 0.551 GB, free: 5.945 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.004605, allocations: 0 / 0.551 GB, free: 5.945 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002832/0.004888, allocations: 270.2 kB / 0.5513 GB, free: 5.652 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.004922, allocations: 8.031 kB / 0.5513 GB, free: 5.645 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.596e-05/0.004948, allocations: 34.75 kB / 0.5513 GB, free: 5.602 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.602e-05/0.004974, allocations: 4.875 kB / 0.5513 GB, free: 5.598 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.368e-05/0.005038, allocations: 109.7 kB / 0.5514 GB, free: 5.465 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.017e-05/0.005098, allocations: 63.94 kB / 0.5515 GB, free: 5.391 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.522e-06/0.005104, allocations: 384 / 0.5515 GB, free: 5.391 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001005/0.005205, allocations: 71.94 kB / 0.5516 GB, free: 5.309 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.005212, allocations: 7.938 kB / 0.5516 GB, free: 5.301 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-06/0.00522, allocations: 0 / 0.5516 GB, free: 5.301 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.515e-05/0.005235, allocations: 0 / 0.5516 GB, free: 5.301 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.654e-05/0.005271, allocations: 19.92 kB / 0.5516 GB, free: 5.281 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006034/0.005875, allocations: 259.9 kB / 0.5519 GB, free: 4.984 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 3.5e-05/0.00591, allocations: 26.52 kB / 0.5519 GB, free: 4.949 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.136e-05/0.005921, allocations: 8.859 kB / 0.5519 GB, free: 4.938 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 5.185e-05/0.005973, allocations: 32.03 kB / 0.5519 GB, free: 4.906 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/0.005992, allocations: 38.56 kB / 0.552 GB, free: 4.859 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 7.51e-07/0.005993, allocations: 0 / 0.552 GB, free: 4.859 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0001114/0.006104, allocations: 29.7 kB / 0.552 GB, free: 4.824 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.378e-05/0.006128, allocations: 59.33 kB / 0.552 GB, free: 4.754 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.484e-05/0.006183, allocations: 105.8 kB / 0.5521 GB, free: 4.641 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.056e-05/0.006194, allocations: 25.7 kB / 0.5522 GB, free: 4.609 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.37e-05/0.006227, allocations: 84.09 kB / 0.5522 GB, free: 4.523 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.08e-06/0.006232, allocations: 12.08 kB / 0.5523 GB, free: 4.512 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.37e-05/0.006256, allocations: 21.7 kB / 0.5523 GB, free: 4.484 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.352e-05/0.00632, allocations: 310.8 kB / 0.5526 GB, free: 4.172 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.238e-06/0.006329, allocations: 4 kB / 0.5526 GB, free: 4.168 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.854e-05/0.006347, allocations: 21.7 kB / 0.5526 GB, free: 4.141 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.453e-05/0.006372, allocations: 21.66 kB / 0.5526 GB, free: 4.113 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.006373, allocations: 0 / 0.5526 GB, free: 4.113 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.029e-05/0.006424, allocations: 53.62 kB / 0.5527 GB, free: 4.055 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.999e-06/0.006434, allocations: 8.062 kB / 0.5527 GB, free: 4.047 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.006438, allocations: 0 / 0.5527 GB, free: 4.047 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.648e-06/0.006447, allocations: 3.938 kB / 0.5527 GB, free: 4.043 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.346e-05/0.006481, allocations: 8 kB / 0.5527 GB, free: 4.035 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.006485, allocations: 0 / 0.5527 GB, free: 4.035 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.111e-05/0.006496, allocations: 0 / 0.5527 GB, free: 4.035 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.006504, allocations: 4 kB / 0.5527 GB, free: 4.031 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 4.805e-05/0.006552, allocations: 121.7 kB / 0.5528 GB, free: 3.902 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.37e-05/0.006566, allocations: 0 / 0.5528 GB, free: 3.902 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.687e-05/0.006643, allocations: 115.5 kB / 0.5529 GB, free: 3.781 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.505e-05/0.006678, allocations: 184.3 kB / 0.5531 GB, free: 3.594 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.913e-05/0.006717, allocations: 188.2 kB / 0.5533 GB, free: 3.402 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.378e-05/0.006751, allocations: 176.3 kB / 0.5534 GB, free: 3.223 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001287/0.006879, allocations: 380.1 kB / 0.5538 GB, free: 2.801 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.376e-05/0.006903, allocations: 113 kB / 0.5539 GB, free: 2.684 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.197e-05/0.006925, allocations: 104.9 kB / 0.554 GB, free: 2.574 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.161e-05/0.006967, allocations: 176.3 kB / 0.5542 GB, free: 2.395 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.92e-05/0.007006, allocations: 180.5 kB / 0.5544 GB, free: 2.211 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-05/0.007042, allocations: 180.2 kB / 0.5545 GB, free: 2.027 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.609e-05/0.007078, allocations: 180.2 kB / 0.5547 GB, free: 1.844 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.507e-05/0.007163, allocations: 319.7 kB / 0.555 GB, free: 1.508 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 2.494e-05/0.007188, allocations: 105 kB / 0.5551 GB, free: 1.398 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.779e-05/0.007236, allocations: 192.1 kB / 0.5553 GB, free: 1.203 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.858e-05/0.007325, allocations: 101 kB / 0.5554 GB, free: 1.098 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.997e-05/0.007365, allocations: 184.2 kB / 0.5556 GB, free: 0.9102 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.252e-05/0.007387, allocations: 105 kB / 0.5557 GB, free: 0.8008 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.049e-05/0.007418, allocations: 83.27 kB / 0.5557 GB, free: 0.7188 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.007418, allocations: 4 kB / 0.5557 GB, free: 0.7148 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001858/0.007604, allocations: 31.88 kB / 0.5558 GB, free: 0.6836 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0003665/0.00797, allocations: 0.8867 MB / 0.5566 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 4.973e-05/0.00802, allocations: 8 kB / 0.5566 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.008021, allocations: 0 / 0.5566 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 8.81e-07/0.008022, allocations: 8.062 kB / 0.5566 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000281/0.008303, allocations: 463.7 kB / 0.5571 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006949/0.008998, allocations: 1.328 MB / 0.5584 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.21e-05/0.00904, allocations: 59.34 kB / 0.5584 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.91e-05/0.009069, allocations: 6.188 kB / 0.5585 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.99e-05/0.009089, allocations: 16.5 kB / 0.5585 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of SimCode: time 2.91e-07/0.009089, allocations: 0 / 0.5585 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01514/0.02423, allocations: 2.881 MB / 0.5613 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.217/7.241, allocations: 4.688 kB / 0.5613 GB, free: 11.11 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.781088042072952] Failed to read output from testmodel.py, exit status != 0: 7.32047273311764 7.329419071 7.323092327 Calling exit ...