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.001543/0.001543, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001631/0.001631, allocations: 220.2 kB / 22.26 MB, free: 5.125 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.459/1.459, allocations: 230.6 MB / 256 MB, free: 7.973 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.9987/0.9987, allocations: 145 MB / 457.4 MB, free: 15.5 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.001994/0.001994, allocations: 61.88 kB / 0.6332 GB, free: 7.309 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1858/0.1878, allocations: 87.88 MB / 0.719 GB, free: 15.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.5742/0.762, allocations: 151.2 MB / 0.8666 GB, free: 6.305 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.00016/0.7622, allocations: 59.03 kB / 0.8667 GB, free: 6.25 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.455e-05/0.7622, allocations: 0 / 0.8667 GB, free: 6.25 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0001286/0.7623, allocations: 0 / 0.8667 GB, free: 6.25 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 8.45e-05/0.7624, allocations: 17.03 kB / 0.8667 GB, free: 6.234 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005087/0.7629, allocations: 112.9 kB / 0.8668 GB, free: 6.125 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 9.32e-05/0.763, allocations: 31.91 kB / 0.8668 GB, free: 6.094 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 4.144e-05/0.7631, allocations: 0 / 0.8668 GB, free: 6.094 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 4.377e-05/0.7631, allocations: 23.91 kB / 0.8669 GB, free: 6.07 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 7.622e-05/0.7632, allocations: 11.92 kB / 0.8669 GB, free: 6.059 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.651e-05/0.7632, allocations: 4 kB / 0.8669 GB, free: 6.055 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000291/0.7635, allocations: 99.7 kB / 0.867 GB, free: 5.957 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 4.209e-05/0.7635, allocations: 0 / 0.867 GB, free: 5.957 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 3.337e-05/0.7636, allocations: 19.91 kB / 0.867 GB, free: 5.938 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0001689/0.7637, allocations: 67.86 kB / 0.8671 GB, free: 5.875 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.7637, allocations: 0 / 0.8671 GB, free: 5.875 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.172e-06/0.7637, allocations: 0 / 0.8671 GB, free: 5.875 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.992e-05/0.7638, allocations: 4 kB / 0.8671 GB, free: 5.871 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.0004215/0.7642, allocations: 262.3 kB / 0.8673 GB, free: 5.586 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.7642, allocations: 8.031 kB / 0.8673 GB, free: 5.578 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.703e-05/0.7643, allocations: 34.75 kB / 0.8674 GB, free: 5.535 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002218/0.7645, allocations: 20.88 kB / 0.8674 GB, free: 5.516 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.7646, allocations: 110.5 kB / 0.8675 GB, free: 5.383 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.83e-05/0.7647, allocations: 59.34 kB / 0.8675 GB, free: 5.312 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/0.7647, allocations: 7.938 kB / 0.8675 GB, free: 5.305 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/0.7648, allocations: 45.67 kB / 0.8676 GB, free: 5.254 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.7648, allocations: 0 / 0.8676 GB, free: 5.254 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.7649, allocations: 4 kB / 0.8676 GB, free: 5.25 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.476e-05/0.7649, allocations: 0 / 0.8676 GB, free: 5.25 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.793e-05/0.7649, allocations: 20.83 kB / 0.8676 GB, free: 5.23 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004336/0.7654, allocations: 239.9 kB / 0.8678 GB, free: 4.953 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 4.31e-05/0.7654, allocations: 18.52 kB / 0.8679 GB, free: 4.926 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.705e-05/0.7654, allocations: 4.859 kB / 0.8679 GB, free: 4.918 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 4.669e-06/0.7654, allocations: 4.062 kB / 0.8679 GB, free: 4.914 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/0.7655, allocations: 31.44 kB / 0.8679 GB, free: 4.875 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.7655, allocations: 4 kB / 0.8679 GB, free: 4.871 MB / 0.6387 GB Notification: Performance of matching and sorting (n=1): time 0.0001294/0.7656, allocations: 29.7 kB / 0.8679 GB, free: 4.836 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.063e-05/0.7656, allocations: 63.33 kB / 0.868 GB, free: 4.762 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.38e-05/0.7657, allocations: 106.8 kB / 0.8681 GB, free: 4.648 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/0.7658, allocations: 33.64 kB / 0.8681 GB, free: 4.609 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 5.226e-05/0.7658, allocations: 88.08 kB / 0.8682 GB, free: 4.52 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 4.889e-06/0.7658, allocations: 0 / 0.8682 GB, free: 4.52 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.728e-05/0.7658, allocations: 21.8 kB / 0.8682 GB, free: 4.492 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.766, allocations: 314.8 kB / 0.8685 GB, free: 4.176 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.658e-05/0.766, allocations: 4.812 kB / 0.8685 GB, free: 4.172 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.225e-05/0.766, allocations: 26.56 kB / 0.8686 GB, free: 4.137 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.843e-05/0.7661, allocations: 30.52 kB / 0.8686 GB, free: 4.098 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.7661, allocations: 4 kB / 0.8686 GB, free: 4.094 MB / 0.6387 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.287e-05/0.7662, allocations: 57.62 kB / 0.8686 GB, free: 4.031 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.7662, allocations: 7.125 kB / 0.8686 GB, free: 4.027 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.7662, allocations: 0 / 0.8686 GB, free: 4.027 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.7662, allocations: 0 / 0.8686 GB, free: 4.027 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.801e-05/0.7663, allocations: 15.19 kB / 0.8687 GB, free: 4.016 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.7663, allocations: 7.922 kB / 0.8687 GB, free: 4.008 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.531e-05/0.7663, allocations: 0 / 0.8687 GB, free: 4.008 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-06/0.7663, allocations: 4.094 kB / 0.8687 GB, free: 4.004 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.294e-05/0.7664, allocations: 117.9 kB / 0.8688 GB, free: 3.879 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.043e-05/0.7664, allocations: 3.984 kB / 0.8688 GB, free: 3.875 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.103e-05/0.7665, allocations: 3.156 kB / 0.8688 GB, free: 3.871 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.32e-07/0.7665, allocations: 1.125 kB / 0.8688 GB, free: 3.871 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.7665, allocations: 3.938 kB / 0.8688 GB, free: 3.867 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.7665, allocations: 0 / 0.8688 GB, free: 3.867 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002806/0.7667, allocations: 329.7 kB / 0.8691 GB, free: 3.492 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.7667, allocations: 4.031 kB / 0.8691 GB, free: 3.488 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.226e-05/0.7668, allocations: 0 / 0.8691 GB, free: 3.488 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.7668, allocations: 3.938 kB / 0.8691 GB, free: 3.484 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-06/0.7668, allocations: 0 / 0.8691 GB, free: 3.484 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.7668, allocations: 0 / 0.8691 GB, free: 3.484 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.7668, allocations: 4 kB / 0.8691 GB, free: 3.48 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.401e-05/0.7668, allocations: 57.12 kB / 0.8692 GB, free: 3.406 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.345e-05/0.7669, allocations: 7.938 kB / 0.8692 GB, free: 3.398 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.7669, allocations: 7.969 kB / 0.8692 GB, free: 3.391 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.658e-05/0.7669, allocations: 3.938 kB / 0.8692 GB, free: 3.387 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.422e-05/0.767, allocations: 4 kB / 0.8692 GB, free: 3.383 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-06/0.767, allocations: 0 / 0.8692 GB, free: 3.383 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 5.429e-05/0.767, allocations: 90.83 kB / 0.8693 GB, free: 3.297 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8e-08/0.767, allocations: 0 / 0.8693 GB, free: 3.297 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0001882/0.7672, allocations: 8 kB / 0.8693 GB, free: 3.289 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.000391/0.7676, allocations: 0.5929 MB / 0.8699 GB, free: 2.668 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 9.032e-05/0.7677, allocations: 19.94 kB / 0.8699 GB, free: 2.648 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.7677, allocations: 0 / 0.8699 GB, free: 2.648 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 4.398e-06/0.7677, allocations: 0 / 0.8699 GB, free: 2.648 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000254/0.7679, allocations: 7.547 kB / 0.8699 GB, free: 2.645 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000385/0.7683, allocations: 141.4 kB / 0.87 GB, free: 2.469 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003302/0.7687, allocations: 0.6729 MB / 0.8707 GB, free: 1.77 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 4.613e-05/0.7687, allocations: 11.92 kB / 0.8707 GB, free: 1.758 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.127e-05/0.7687, allocations: 7.438 kB / 0.8707 GB, free: 1.75 MB / 0.6387 GB Notification: Performance of SimCode: time 2.71e-07/0.7687, allocations: 0 / 0.8707 GB, free: 1.75 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02909/0.7978, allocations: 1.47 MB / 0.8721 GB, free: 460 kB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/11.56, allocations: 17.89 kB / 0.8722 GB, free: 448 kB / 0.6387 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.491394467997452] Failed to read output from testmodel.py, exit status != 0: 11.662032076001196 11.688713313 10.920192041 Calling exit ...