Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.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.001275/0.001275, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 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.001431/0.001431, allocations: 215.2 kB / 22.25 MB, free: 5.082 MB / 14.72 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.441/1.441, allocations: 230.6 MB / 256 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] 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.9053/0.9053, allocations: 145 MB / 457.4 MB, free: 15.52 MB / 366.1 MB " [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.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: BuildSysPro 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.003091/0.003091, allocations: 66.44 kB / 0.6331 GB, free: 7.344 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2036/0.2067, allocations: 87.88 MB / 0.719 GB, free: 15.46 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion): time 0.6578/0.8645, allocations: 151.6 MB / 0.867 GB, free: 5.859 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0001511/0.8647, allocations: 49.38 kB / 0.8671 GB, free: 5.816 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.621e-05/0.8647, allocations: 0 / 0.8671 GB, free: 5.816 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0001244/0.8648, allocations: 7.922 kB / 0.8671 GB, free: 5.809 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 8.815e-05/0.8649, allocations: 15.92 kB / 0.8671 GB, free: 5.793 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008487/0.8657, allocations: 225.6 kB / 0.8673 GB, free: 5.574 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 9.659e-05/0.8658, allocations: 35.84 kB / 0.8674 GB, free: 5.539 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 5.085e-05/0.8659, allocations: 4 kB / 0.8674 GB, free: 5.535 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 3.804e-05/0.8659, allocations: 19.91 kB / 0.8674 GB, free: 5.516 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 7.771e-05/0.866, allocations: 11.98 kB / 0.8674 GB, free: 5.504 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.149e-05/0.866, allocations: 0 / 0.8674 GB, free: 5.504 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004635/0.8665, allocations: 211.4 kB / 0.8676 GB, free: 5.297 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 5.153e-05/0.8665, allocations: 19.91 kB / 0.8676 GB, free: 5.277 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 2.404e-05/0.8666, allocations: 8 kB / 0.8676 GB, free: 5.27 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002509/0.8668, allocations: 106.9 kB / 0.8677 GB, free: 5.168 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.8668, allocations: 3.984 kB / 0.8677 GB, free: 5.164 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.693e-06/0.8668, allocations: 0 / 0.8677 GB, free: 5.164 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.093e-06/0.8668, allocations: 5.031 kB / 0.8677 GB, free: 5.16 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004547/0.8673, allocations: 259.3 kB / 0.868 GB, free: 4.879 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.8673, allocations: 12.03 kB / 0.868 GB, free: 4.867 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.566e-05/0.8674, allocations: 38.73 kB / 0.868 GB, free: 4.82 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003201/0.8677, allocations: 32.86 kB / 0.8681 GB, free: 4.789 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.8678, allocations: 106.5 kB / 0.8682 GB, free: 4.66 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.739e-05/0.8679, allocations: 55.34 kB / 0.8682 GB, free: 4.594 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.876e-06/0.8679, allocations: 4 kB / 0.8682 GB, free: 4.59 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.8681, allocations: 49.67 kB / 0.8683 GB, free: 4.535 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.8681, allocations: 0 / 0.8683 GB, free: 4.535 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.8681, allocations: 3.938 kB / 0.8683 GB, free: 4.531 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.764e-05/0.8681, allocations: 5.125 kB / 0.8683 GB, free: 4.527 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.596e-05/0.8681, allocations: 19.98 kB / 0.8683 GB, free: 4.508 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003903/0.8685, allocations: 239.9 kB / 0.8685 GB, free: 4.23 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 5.491e-05/0.8686, allocations: 22.58 kB / 0.8685 GB, free: 4.199 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.345e-05/0.8686, allocations: 4.922 kB / 0.8685 GB, free: 4.191 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001321/0.8687, allocations: 19.98 kB / 0.8686 GB, free: 4.172 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.674e-05/0.8688, allocations: 34.56 kB / 0.8686 GB, free: 4.129 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.8688, allocations: 0 / 0.8686 GB, free: 4.129 MB / 0.6387 GB Notification: Performance of matching and sorting (n=2): time 0.000259/0.869, allocations: 53.62 kB / 0.8686 GB, free: 4.07 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.203e-05/0.8691, allocations: 51.41 kB / 0.8687 GB, free: 4.008 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.726e-05/0.8692, allocations: 109.8 kB / 0.8688 GB, free: 3.891 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.8692, allocations: 25.7 kB / 0.8688 GB, free: 3.859 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 5.457e-05/0.8693, allocations: 94.28 kB / 0.8689 GB, free: 3.766 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 7.704e-06/0.8693, allocations: 3.953 kB / 0.8689 GB, free: 3.762 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.181e-05/0.8693, allocations: 17.72 kB / 0.8689 GB, free: 3.738 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001706/0.8695, allocations: 318.8 kB / 0.8692 GB, free: 3.418 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.631e-05/0.8695, allocations: 0 / 0.8692 GB, free: 3.418 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.616e-05/0.8695, allocations: 26.58 kB / 0.8693 GB, free: 3.383 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.917e-05/0.8696, allocations: 38.5 kB / 0.8693 GB, free: 3.336 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.8696, allocations: 0 / 0.8693 GB, free: 3.336 MB / 0.6387 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.672e-05/0.8697, allocations: 53.59 kB / 0.8694 GB, free: 3.277 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.8697, allocations: 7.984 kB / 0.8694 GB, free: 3.27 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.8697, allocations: 0 / 0.8694 GB, free: 3.27 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.8697, allocations: 4 kB / 0.8694 GB, free: 3.266 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.562e-05/0.8698, allocations: 4 kB / 0.8694 GB, free: 3.262 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.8698, allocations: 8.031 kB / 0.8694 GB, free: 3.254 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.629e-05/0.8698, allocations: 4 kB / 0.8694 GB, free: 3.25 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.088e-06/0.8698, allocations: 0 / 0.8694 GB, free: 3.25 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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.363e-05/0.8699, allocations: 109.8 kB / 0.8695 GB, free: 3.133 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.502e-05/0.8699, allocations: 0 / 0.8695 GB, free: 3.133 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.014e-05/0.8699, allocations: 15.3 kB / 0.8695 GB, free: 3.117 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.8699, allocations: 0 / 0.8695 GB, free: 3.117 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.87, allocations: 7.875 kB / 0.8695 GB, free: 3.109 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.87, allocations: 0 / 0.8695 GB, free: 3.109 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003302/0.8703, allocations: 342.5 kB / 0.8698 GB, free: 2.719 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.8703, allocations: 0.875 kB / 0.8698 GB, free: 2.719 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.844e-05/0.8703, allocations: 11.92 kB / 0.8698 GB, free: 2.707 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.8703, allocations: 3.938 kB / 0.8698 GB, free: 2.703 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.8703, allocations: 4 kB / 0.8699 GB, free: 2.699 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.8703, allocations: 0 / 0.8699 GB, free: 2.699 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.8703, allocations: 0.625 kB / 0.8699 GB, free: 2.699 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.954e-05/0.8704, allocations: 70.06 kB / 0.8699 GB, free: 2.609 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 9.818e-06/0.8704, allocations: 7.922 kB / 0.8699 GB, free: 2.602 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/0.8704, allocations: 0 / 0.8699 GB, free: 2.602 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.966e-05/0.8705, allocations: 4 kB / 0.8699 GB, free: 2.598 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.052e-05/0.8705, allocations: 7.938 kB / 0.8699 GB, free: 2.594 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-06/0.8705, allocations: 4 kB / 0.8699 GB, free: 2.59 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 5.264e-05/0.8706, allocations: 83.3 kB / 0.87 GB, free: 2.508 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8e-08/0.8706, allocations: 4 kB / 0.87 GB, free: 2.504 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0001925/0.8708, allocations: 7.938 kB / 0.87 GB, free: 2.496 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0004658/0.8713, allocations: 0.6133 MB / 0.8706 GB, free: 1.852 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 9.084e-05/0.8714, allocations: 11.94 kB / 0.8706 GB, free: 1.84 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.8714, allocations: 0 / 0.8706 GB, free: 1.84 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 1.052e-05/0.8714, allocations: 8 kB / 0.8707 GB, free: 1.832 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002491/0.8716, allocations: 10.33 kB / 0.8707 GB, free: 1.824 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004046/0.872, allocations: 150.3 kB / 0.8708 GB, free: 1.637 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003082/0.8723, allocations: 0.6807 MB / 0.8715 GB, free: 0.9297 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 5.416e-05/0.8724, allocations: 8.406 kB / 0.8715 GB, free: 0.9219 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.989e-05/0.8724, allocations: 7.438 kB / 0.8715 GB, free: 0.9141 MB / 0.6387 GB Notification: Performance of SimCode: time 3.3e-07/0.8724, allocations: 0 / 0.8715 GB, free: 0.9141 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02907/0.9015, allocations: 1.578 MB / 0.873 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.96, allocations: 2.812 kB / 0.873 GB, free: 15.47 MB / 0.6544 GB " [Timeout remaining time 648] (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion_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_Examples_AirTemperatureEnthalpyInversion.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.861167942002794] Failed to read output from testmodel.py, exit status != 0: 12.061902350997116 12.09268184 11.219993941 Calling exit ...