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.001465/0.001465, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001864/0.001864, allocations: 214.3 kB / 22.25 MB, free: 5.262 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.508/1.508, allocations: 230.6 MB / 256 MB, free: 7.777 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.9465/0.9465, allocations: 145 MB / 457.4 MB, free: 15.25 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.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.0022/0.0022, allocations: 62.62 kB / 0.6331 GB, free: 6.684 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.229, allocations: 87.9 MB / 0.7189 GB, free: 14.81 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.6082/0.8372, allocations: 129.9 MB / 0.8458 GB, free: 9.176 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0001655/0.8374, allocations: 51.11 kB / 0.8459 GB, free: 9.129 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.72e-05/0.8374, allocations: 0 / 0.8459 GB, free: 9.129 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0001237/0.8376, allocations: 3.938 kB / 0.8459 GB, free: 9.125 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 8.869e-05/0.8376, allocations: 17.05 kB / 0.8459 GB, free: 9.109 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005635/0.8382, allocations: 103.6 kB / 0.846 GB, free: 9.008 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 9.658e-05/0.8383, allocations: 31.86 kB / 0.846 GB, free: 8.977 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 5.4e-05/0.8384, allocations: 8 kB / 0.846 GB, free: 8.969 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 4.932e-05/0.8384, allocations: 23.91 kB / 0.8461 GB, free: 8.945 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 7.971e-05/0.8385, allocations: 8 kB / 0.8461 GB, free: 8.938 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.153e-05/0.8385, allocations: 0 / 0.8461 GB, free: 8.938 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002729/0.8388, allocations: 75.72 kB / 0.8461 GB, free: 8.863 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 5.537e-05/0.8388, allocations: 11.98 kB / 0.8461 GB, free: 8.852 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 2.861e-05/0.8389, allocations: 7.938 kB / 0.8462 GB, free: 8.844 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0001927/0.839, allocations: 68.44 kB / 0.8462 GB, free: 8.781 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.8391, allocations: 4 kB / 0.8462 GB, free: 8.777 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.513e-06/0.8391, allocations: 0 / 0.8462 GB, free: 8.777 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.8391, allocations: 4 kB / 0.8462 GB, free: 8.773 MB / 0.6231 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.0004397/0.8395, allocations: 258.3 kB / 0.8465 GB, free: 8.492 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.8395, allocations: 12.03 kB / 0.8465 GB, free: 8.48 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.374e-05/0.8396, allocations: 38.73 kB / 0.8465 GB, free: 8.434 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000232/0.8398, allocations: 20.88 kB / 0.8465 GB, free: 8.414 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.8399, allocations: 110.5 kB / 0.8466 GB, free: 8.281 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.019e-05/0.84, allocations: 59.34 kB / 0.8467 GB, free: 8.211 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/0.84, allocations: 0 / 0.8467 GB, free: 8.211 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.8402, allocations: 80.25 kB / 0.8468 GB, free: 8.121 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.8402, allocations: 0 / 0.8468 GB, free: 8.121 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.8402, allocations: 0.8438 kB / 0.8468 GB, free: 8.121 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.631e-05/0.8402, allocations: 0 / 0.8468 GB, free: 8.121 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.813e-05/0.8403, allocations: 23.92 kB / 0.8468 GB, free: 8.098 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003816/0.8407, allocations: 227.9 kB / 0.847 GB, free: 7.832 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 4.624e-05/0.8407, allocations: 18.58 kB / 0.847 GB, free: 7.805 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.894e-05/0.8407, allocations: 4.859 kB / 0.847 GB, free: 7.797 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 1.112e-05/0.8407, allocations: 4 kB / 0.847 GB, free: 7.793 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/0.8408, allocations: 38.62 kB / 0.8471 GB, free: 7.746 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=1): time 1.001e-06/0.8408, allocations: 0 / 0.8471 GB, free: 7.746 MB / 0.6231 GB Notification: Performance of matching and sorting (n=1): time 0.0001318/0.8409, allocations: 38.66 kB / 0.8471 GB, free: 7.703 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.121e-05/0.8409, allocations: 55.34 kB / 0.8472 GB, free: 7.637 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.341e-05/0.841, allocations: 111 kB / 0.8473 GB, free: 7.52 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.841, allocations: 25.7 kB / 0.8473 GB, free: 7.488 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 5.983e-05/0.8411, allocations: 88.09 kB / 0.8474 GB, free: 7.398 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.115e-06/0.8411, allocations: 7.953 kB / 0.8474 GB, free: 7.391 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.14e-05/0.8411, allocations: 13.72 kB / 0.8474 GB, free: 7.371 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.8413, allocations: 315 kB / 0.8477 GB, free: 7.055 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.894e-05/0.8413, allocations: 15.92 kB / 0.8477 GB, free: 7.039 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.666e-05/0.8413, allocations: 18.58 kB / 0.8477 GB, free: 7.012 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.578e-05/0.8414, allocations: 34.52 kB / 0.8478 GB, free: 6.969 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.8414, allocations: 5.297 kB / 0.8478 GB, free: 6.965 MB / 0.6231 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.207e-05/0.8415, allocations: 49.64 kB / 0.8478 GB, free: 6.91 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.8415, allocations: 6.188 kB / 0.8478 GB, free: 6.906 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.8415, allocations: 4.094 kB / 0.8478 GB, free: 6.902 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.8415, allocations: 7.812 kB / 0.8478 GB, free: 6.898 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.086e-05/0.8416, allocations: 7.984 kB / 0.8479 GB, free: 6.891 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.126e-06/0.8416, allocations: 3.938 kB / 0.8479 GB, free: 6.887 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.109e-05/0.8416, allocations: 7.938 kB / 0.8479 GB, free: 6.879 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-06/0.8416, allocations: 4 kB / 0.8479 GB, free: 6.875 MB / 0.6231 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.167e-05/0.8417, allocations: 113.8 kB / 0.848 GB, free: 6.754 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.588e-05/0.8417, allocations: 3.953 kB / 0.848 GB, free: 6.75 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.171e-05/0.8418, allocations: 7.156 kB / 0.848 GB, free: 6.742 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.8418, allocations: 0 / 0.848 GB, free: 6.742 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.8418, allocations: 7.938 kB / 0.848 GB, free: 6.734 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.8418, allocations: 4.734 kB / 0.848 GB, free: 6.73 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002915/0.8421, allocations: 313.9 kB / 0.8483 GB, free: 6.371 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.8421, allocations: 0 / 0.8483 GB, free: 6.371 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.609e-05/0.8421, allocations: 4 kB / 0.8483 GB, free: 6.367 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.8421, allocations: 3.938 kB / 0.8483 GB, free: 6.363 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.219e-06/0.8421, allocations: 0 / 0.8483 GB, free: 6.363 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.8421, allocations: 3.938 kB / 0.8483 GB, free: 6.359 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.8421, allocations: 0 / 0.8483 GB, free: 6.359 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.928e-05/0.8422, allocations: 57.08 kB / 0.8484 GB, free: 6.285 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 1.14e-05/0.8422, allocations: 11.98 kB / 0.8484 GB, free: 6.273 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.789e-05/0.8422, allocations: 4 kB / 0.8484 GB, free: 6.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.166e-05/0.8423, allocations: 4.094 kB / 0.8484 GB, free: 6.266 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.62e-05/0.8423, allocations: 3.984 kB / 0.8484 GB, free: 6.262 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-06/0.8423, allocations: 0 / 0.8484 GB, free: 6.262 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 6.043e-05/0.8423, allocations: 87.27 kB / 0.8485 GB, free: 6.176 MB / 0.6231 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8423, allocations: 0 / 0.8485 GB, free: 6.176 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0001901/0.8425, allocations: 4 kB / 0.8485 GB, free: 6.172 MB / 0.6231 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.0003958/0.8429, allocations: 0.6046 MB / 0.8491 GB, free: 5.539 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 8.889e-05/0.843, allocations: 16.03 kB / 0.8491 GB, free: 5.523 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.843, allocations: 3.938 kB / 0.8491 GB, free: 5.52 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 1.161e-05/0.843, allocations: 3.938 kB / 0.8491 GB, free: 5.516 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000253/0.8433, allocations: 7.875 kB / 0.8491 GB, free: 5.512 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003889/0.8437, allocations: 141.1 kB / 0.8492 GB, free: 5.336 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.39e-05/0.8437, allocations: 55.36 kB / 0.8493 GB, free: 5.262 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 4.847e-05/0.8438, allocations: 12.23 kB / 0.8493 GB, free: 5.25 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.471e-05/0.8438, allocations: 11.44 kB / 0.8493 GB, free: 5.238 MB / 0.6231 GB Notification: Performance of SimCode: time 2.91e-07/0.8438, allocations: 0 / 0.8493 GB, free: 5.238 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02889/0.8727, allocations: 1.909 MB / 0.8512 GB, free: 3.512 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.96, allocations: 8.047 kB / 0.8512 GB, free: 3.504 MB / 0.6231 GB " [Timeout remaining time 648] (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: 15.894950494170189] Failed to read output from testmodel.py, exit status != 0: 12.063628198113292 12.086136766 11.242671417 Calling exit ...