Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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.001403/0.001403, allocations: 107.6 kB / 16.45 MB, free: 6.453 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.001442/0.001442, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.513/1.513, allocations: 230.6 MB / 252.8 MB, free: 8.988 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.908/0.908, allocations: 145 MB / 453.8 MB, free: 0.7148 MB / 350.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.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",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.001996/0.001996, allocations: 70.42 kB / 0.628 GB, free: 10.64 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1799/0.1819, allocations: 87.82 MB / 0.7138 GB, free: 2.832 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.5579/0.7398, allocations: 151.2 MB / 0.8614 GB, free: 9.242 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0001568/0.7399, allocations: 51.11 kB / 0.8614 GB, free: 9.195 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.272e-05/0.74, allocations: 0 / 0.8614 GB, free: 9.195 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0001182/0.7401, allocations: 3.938 kB / 0.8615 GB, free: 9.191 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 8.921e-05/0.7402, allocations: 21.03 kB / 0.8615 GB, free: 9.172 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005123/0.7407, allocations: 99.64 kB / 0.8616 GB, free: 9.074 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001009/0.7408, allocations: 39.86 kB / 0.8616 GB, free: 9.035 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 3.858e-05/0.7408, allocations: 0 / 0.8616 GB, free: 9.035 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 5.146e-05/0.7409, allocations: 19.97 kB / 0.8616 GB, free: 9.016 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 7.932e-05/0.741, allocations: 15.92 kB / 0.8616 GB, free: 9 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.184e-05/0.741, allocations: 0 / 0.8616 GB, free: 9 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003107/0.7413, allocations: 91.72 kB / 0.8617 GB, free: 8.91 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 4.922e-05/0.7413, allocations: 7.984 kB / 0.8617 GB, free: 8.902 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 3.3e-05/0.7414, allocations: 11.92 kB / 0.8617 GB, free: 8.891 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0001883/0.7416, allocations: 74.23 kB / 0.8618 GB, free: 8.82 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.7416, allocations: 0 / 0.8618 GB, free: 8.82 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7416, allocations: 3.938 kB / 0.8618 GB, free: 8.816 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.7416, allocations: 4 kB / 0.8618 GB, free: 8.812 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.0004782/0.742, allocations: 331.5 kB / 0.8621 GB, free: 8.441 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.738e-05/0.7421, allocations: 12.03 kB / 0.8622 GB, free: 8.43 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.017e-05/0.7422, allocations: 34.73 kB / 0.8622 GB, free: 8.387 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002556/0.7424, allocations: 25.69 kB / 0.8622 GB, free: 8.363 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001539/0.7426, allocations: 160.4 kB / 0.8624 GB, free: 8.168 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.832e-05/0.7426, allocations: 37.64 kB / 0.8624 GB, free: 8.125 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.788e-05/0.7427, allocations: 4 kB / 0.8624 GB, free: 8.121 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.7428, allocations: 49.66 kB / 0.8624 GB, free: 8.066 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.7428, allocations: 0 / 0.8624 GB, free: 8.066 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.7428, allocations: 0 / 0.8624 GB, free: 8.066 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.208e-05/0.7429, allocations: 5.031 kB / 0.8625 GB, free: 8.062 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.684e-05/0.7429, allocations: 19.92 kB / 0.8625 GB, free: 8.043 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004626/0.7434, allocations: 264.8 kB / 0.8627 GB, free: 7.734 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 5.559e-05/0.7434, allocations: 18.58 kB / 0.8627 GB, free: 7.707 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.426e-05/0.7435, allocations: 11.67 kB / 0.8628 GB, free: 7.695 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.144e-05/0.7435, allocations: 0 / 0.8628 GB, free: 7.695 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.7435, allocations: 34.56 kB / 0.8628 GB, free: 7.652 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.7435, allocations: 0 / 0.8628 GB, free: 7.652 MB / 0.6387 GB Notification: Performance of matching and sorting (n=1): time 0.0001665/0.7437, allocations: 37.73 kB / 0.8628 GB, free: 7.609 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.74e-05/0.7437, allocations: 59.34 kB / 0.8629 GB, free: 7.539 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.7438, allocations: 109.8 kB / 0.863 GB, free: 7.422 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.7439, allocations: 26.55 kB / 0.863 GB, free: 7.391 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 5.619e-05/0.7439, allocations: 88.09 kB / 0.8631 GB, free: 7.301 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 7.585e-06/0.7439, allocations: 3.984 kB / 0.8631 GB, free: 7.297 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.024e-05/0.744, allocations: 21.67 kB / 0.8631 GB, free: 7.27 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.7441, allocations: 310.8 kB / 0.8634 GB, free: 6.957 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.614e-05/0.7441, allocations: 8.031 kB / 0.8634 GB, free: 6.949 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.561e-05/0.7442, allocations: 26.56 kB / 0.8634 GB, free: 6.914 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.654e-05/0.7442, allocations: 30.52 kB / 0.8635 GB, free: 6.875 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.7442, allocations: 4 kB / 0.8635 GB, free: 6.871 MB / 0.6387 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001002/0.7443, allocations: 58.47 kB / 0.8635 GB, free: 6.809 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.7443, allocations: 6.5 kB / 0.8635 GB, free: 6.805 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.7443, allocations: 0 / 0.8635 GB, free: 6.805 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.7443, allocations: 0 / 0.8635 GB, free: 6.805 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.3e-05/0.7444, allocations: 8 kB / 0.8635 GB, free: 6.797 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.7444, allocations: 3.938 kB / 0.8636 GB, free: 6.793 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.359e-05/0.7445, allocations: 4 kB / 0.8636 GB, free: 6.789 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.608e-06/0.7445, allocations: 4.031 kB / 0.8636 GB, free: 6.785 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 8.813e-05/0.7445, allocations: 117.8 kB / 0.8637 GB, free: 6.66 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.119e-05/0.7446, allocations: 9.297 kB / 0.8637 GB, free: 6.652 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.227e-05/0.7446, allocations: 7.125 kB / 0.8637 GB, free: 6.645 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.7446, allocations: 0 / 0.8637 GB, free: 6.645 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.7446, allocations: 3.938 kB / 0.8637 GB, free: 6.641 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.7446, allocations: 4 kB / 0.8637 GB, free: 6.637 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003372/0.7449, allocations: 354.5 kB / 0.864 GB, free: 6.234 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.745, allocations: 0 / 0.864 GB, free: 6.234 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.627e-05/0.745, allocations: 0 / 0.864 GB, free: 6.234 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/0.745, allocations: 7.969 kB / 0.864 GB, free: 6.227 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.745, allocations: 0 / 0.864 GB, free: 6.227 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.745, allocations: 0 / 0.864 GB, free: 6.227 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.745, allocations: 7.938 kB / 0.864 GB, free: 6.219 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.687e-05/0.7451, allocations: 53.14 kB / 0.8641 GB, free: 6.148 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 5.192e-05/0.7451, allocations: 88.97 kB / 0.8642 GB, free: 6.043 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.7451, allocations: 4 kB / 0.8642 GB, free: 6.039 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.417e-05/0.7452, allocations: 0 / 0.8642 GB, free: 6.039 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.492e-05/0.7452, allocations: 4.031 kB / 0.8642 GB, free: 6.035 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-06/0.7452, allocations: 4 kB / 0.8642 GB, free: 6.031 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 5.607e-05/0.7453, allocations: 87.27 kB / 0.8643 GB, free: 5.945 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8e-08/0.7453, allocations: 0 / 0.8643 GB, free: 5.945 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000191/0.7455, allocations: 4 kB / 0.8643 GB, free: 5.941 MB / 0.6387 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 (1): * Single equations (assignments): 1 * 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.0003928/0.7459, allocations: 0.6046 MB / 0.8649 GB, free: 5.309 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 9.917e-05/0.746, allocations: 8 kB / 0.8649 GB, free: 5.301 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.746, allocations: 0 / 0.8649 GB, free: 5.301 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 7.444e-06/0.746, allocations: 3.938 kB / 0.8649 GB, free: 5.297 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002554/0.7462, allocations: 8 kB / 0.8649 GB, free: 5.289 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000403/0.7466, allocations: 133.1 kB / 0.865 GB, free: 5.121 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003115/0.7469, allocations: 0.6768 MB / 0.8657 GB, free: 4.418 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 4.986e-05/0.747, allocations: 7.984 kB / 0.8657 GB, free: 4.41 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.66e-05/0.747, allocations: 11.44 kB / 0.8657 GB, free: 4.398 MB / 0.6387 GB Notification: Performance of SimCode: time 3.11e-07/0.747, allocations: 0 / 0.8657 GB, free: 4.398 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0252/0.7722, allocations: 1.382 MB / 0.867 GB, free: 3.207 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.895/8.667, allocations: 14.55 kB / 0.8671 GB, free: 3.195 MB / 0.6387 GB " [Timeout remaining time 651] (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_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_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.50230038400332] Failed to read output from testmodel.py, exit status != 0: 8.736650484002894 8.760224437 8.013837804 Calling exit ...