Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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.001372/0.001372, allocations: 112.9 kB / 17.12 MB, free: 6.008 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.001798/0.001798, allocations: 212.3 kB / 20.1 MB, free: 3.055 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.519/1.519, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9768/0.9768, allocations: 150 MB / 459.5 MB, free: 5.32 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.001964/0.001964, allocations: 66.47 kB / 0.6361 GB, free: 30.47 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1634, allocations: 89.14 MB / 0.7232 GB, free: 4.086 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.6003/0.7637, allocations: 151.1 MB / 0.8707 GB, free: 3.07 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.0001253/0.7638, allocations: 48.8 kB / 0.8708 GB, free: 3.07 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.404e-05/0.7639, allocations: 3.844 kB / 0.8708 GB, free: 3.07 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0001118/0.764, allocations: 5.781 kB / 0.8708 GB, free: 3.07 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 6.986e-05/0.7641, allocations: 13.03 kB / 0.8708 GB, free: 3.07 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004314/0.7645, allocations: 109.2 kB / 0.8709 GB, free: 3.07 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 8.868e-05/0.7646, allocations: 33.19 kB / 0.8709 GB, free: 3.07 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 3.476e-05/0.7646, allocations: 6.438 kB / 0.8709 GB, free: 3.07 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 3.692e-05/0.7646, allocations: 14.2 kB / 0.871 GB, free: 3.07 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 7.33e-05/0.7647, allocations: 15.98 kB / 0.871 GB, free: 3.07 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.284e-05/0.7647, allocations: 2.75 kB / 0.871 GB, free: 3.07 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002499/0.765, allocations: 89.73 kB / 0.8711 GB, free: 3.07 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 4.546e-05/0.765, allocations: 10.27 kB / 0.8711 GB, free: 3.07 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 3.259e-05/0.7651, allocations: 12.52 kB / 0.8711 GB, free: 3.07 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0001711/0.7652, allocations: 76.41 kB / 0.8712 GB, free: 3.066 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.7652, allocations: 0 / 0.8712 GB, free: 3.066 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.293e-06/0.7652, allocations: 1.094 kB / 0.8712 GB, free: 3.066 MB / 0.67 GB Notification: Performance of Transformations before backend: time 8.916e-06/0.7652, allocations: 0.7188 kB / 0.8712 GB, free: 3.066 MB / 0.67 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.0005661/0.7658, allocations: 337.7 kB / 0.8715 GB, free: 18.71 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.7658, allocations: 12.16 kB / 0.8715 GB, free: 18.71 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.492e-05/0.7659, allocations: 32.72 kB / 0.8715 GB, free: 18.67 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002161/0.7661, allocations: 19.41 kB / 0.8715 GB, free: 18.67 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001471/0.7662, allocations: 170.5 kB / 0.8717 GB, free: 18.48 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.224e-05/0.7663, allocations: 33.47 kB / 0.8717 GB, free: 18.44 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.078e-05/0.7663, allocations: 0.8438 kB / 0.8717 GB, free: 18.44 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001275/0.7664, allocations: 51.8 kB / 0.8718 GB, free: 18.41 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.7665, allocations: 0 / 0.8718 GB, free: 18.41 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.7665, allocations: 1 kB / 0.8718 GB, free: 18.41 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.871e-05/0.7665, allocations: 4.875 kB / 0.8718 GB, free: 18.41 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.528e-05/0.7665, allocations: 19.11 kB / 0.8718 GB, free: 18.41 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003858/0.7669, allocations: 263.6 kB / 0.8721 GB, free: 18.14 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 3.657e-05/0.767, allocations: 17.67 kB / 0.8721 GB, free: 18.11 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.71e-05/0.767, allocations: 15.97 kB / 0.8721 GB, free: 18.11 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 7.965e-06/0.767, allocations: 0.7812 kB / 0.8721 GB, free: 18.11 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.767, allocations: 32.38 kB / 0.8721 GB, free: 18.07 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=1): time 1.262e-06/0.767, allocations: 0 / 0.8721 GB, free: 18.07 MB / 0.6856 GB Notification: Performance of matching and sorting (n=1): time 0.0001321/0.7671, allocations: 32.73 kB / 0.8722 GB, free: 18.04 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.229e-05/0.7672, allocations: 56.28 kB / 0.8722 GB, free: 17.97 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.878e-05/0.7673, allocations: 111.3 kB / 0.8723 GB, free: 17.87 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.7673, allocations: 26.61 kB / 0.8723 GB, free: 17.84 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 5.128e-05/0.7674, allocations: 92.66 kB / 0.8724 GB, free: 17.75 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 5.56e-06/0.7674, allocations: 3.188 kB / 0.8724 GB, free: 17.75 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.974e-05/0.7674, allocations: 18.16 kB / 0.8724 GB, free: 17.73 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.7675, allocations: 311.9 kB / 0.8727 GB, free: 17.42 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.904e-05/0.7676, allocations: 12.38 kB / 0.8728 GB, free: 17.42 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.191e-05/0.7676, allocations: 20.16 kB / 0.8728 GB, free: 17.4 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.773e-05/0.7676, allocations: 34.66 kB / 0.8728 GB, free: 17.38 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.7676, allocations: 0 / 0.8728 GB, free: 17.38 MB / 0.6856 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.719e-05/0.7677, allocations: 55.3 kB / 0.8729 GB, free: 17.34 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.7677, allocations: 6.594 kB / 0.8729 GB, free: 17.34 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.7677, allocations: 1 kB / 0.8729 GB, free: 17.34 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.7677, allocations: 2.062 kB / 0.8729 GB, free: 17.34 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.844e-05/0.7678, allocations: 6.875 kB / 0.8729 GB, free: 17.34 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.7678, allocations: 9.719 kB / 0.8729 GB, free: 17.34 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.965e-05/0.7678, allocations: 6.828 kB / 0.8729 GB, free: 17.34 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.7678, allocations: 4.062 kB / 0.8729 GB, free: 17.34 MB / 0.6856 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.112e-05/0.7679, allocations: 114.2 kB / 0.873 GB, free: 17.22 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.577e-05/0.768, allocations: 1.844 kB / 0.873 GB, free: 17.22 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.586e-05/0.768, allocations: 8.141 kB / 0.873 GB, free: 17.22 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.768, allocations: 2.062 kB / 0.873 GB, free: 17.22 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.768, allocations: 3.938 kB / 0.873 GB, free: 17.21 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.803e-06/0.768, allocations: 6.172 kB / 0.873 GB, free: 17.21 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002719/0.7682, allocations: 350.1 kB / 0.8734 GB, free: 16.83 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.7682, allocations: 1.656 kB / 0.8734 GB, free: 16.83 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.346e-05/0.7683, allocations: 2.031 kB / 0.8734 GB, free: 16.83 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.7683, allocations: 4.938 kB / 0.8734 GB, free: 16.83 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.87e-06/0.7683, allocations: 0.6094 kB / 0.8734 GB, free: 16.83 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.7683, allocations: 2 kB / 0.8734 GB, free: 16.83 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.7683, allocations: 0 / 0.8734 GB, free: 16.83 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.829e-05/0.7683, allocations: 62.03 kB / 0.8734 GB, free: 16.77 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 4.737e-05/0.7684, allocations: 86.53 kB / 0.8735 GB, free: 16.66 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.519e-05/0.7684, allocations: 0.5156 kB / 0.8735 GB, free: 16.66 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.727e-05/0.7685, allocations: 9.672 kB / 0.8735 GB, free: 16.66 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.431e-05/0.7685, allocations: 1.766 kB / 0.8735 GB, free: 16.66 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-06/0.7685, allocations: 2.156 kB / 0.8735 GB, free: 16.66 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 5.729e-05/0.7686, allocations: 86.19 kB / 0.8736 GB, free: 16.59 MB / 0.6856 GB Notification: Performance of sort global known variables: time 7e-08/0.7686, allocations: 1.094 kB / 0.8736 GB, free: 16.59 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0001886/0.7688, allocations: 6.156 kB / 0.8736 GB, free: 16.59 MB / 0.6856 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.0003834/0.7691, allocations: 0.595 MB / 0.8742 GB, free: 16 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 7.91e-05/0.7692, allocations: 17.05 kB / 0.8742 GB, free: 16 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.7692, allocations: 1.031 kB / 0.8742 GB, free: 16 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 7.294e-06/0.7692, allocations: 5.609 kB / 0.8742 GB, free: 16 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002188/0.7694, allocations: 9.688 kB / 0.8742 GB, free: 16 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003585/0.7698, allocations: 136.6 kB / 0.8744 GB, free: 15.86 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003236/0.7701, allocations: 0.6806 MB / 0.875 GB, free: 15.16 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 4.933e-05/0.7702, allocations: 6.891 kB / 0.875 GB, free: 15.16 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.002e-05/0.7702, allocations: 17.62 kB / 0.875 GB, free: 15.15 MB / 0.6856 GB Notification: Performance of SimCode: time 3.11e-07/0.7702, allocations: 0 / 0.875 GB, free: 15.15 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02518/0.7954, allocations: 1.378 MB / 0.8764 GB, free: 14.84 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.231/9.026, allocations: 25.62 kB / 0.8764 GB, free: 14.82 MB / 0.6856 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file IBPSA_latest_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 IBPSA_latest_IBPSA_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.082589440979064] Failed to read output from testmodel.py, exit status != 0: 9.094119031913579 9.116447169 8.347130696 Calling exit ...