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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001484/0.001484, allocations: 105.5 kB / 16.41 MB, free: 6.469 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 191.9 kB / 17.34 MB, free: 5.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8297/0.8297, allocations: 126.7 MB / 417.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001846/0.001846, allocations: 65.7 kB / 0.5735 GB, free: 27.11 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1515, allocations: 78.87 MB / 0.6506 GB, free: 3.594 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.5864/0.738, allocations: 147.8 MB / 0.7949 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0001352/0.7382, allocations: 53.19 kB / 0.795 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.666e-05/0.7382, allocations: 0 / 0.795 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001004/0.7383, allocations: 3.938 kB / 0.795 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 7.298e-05/0.7384, allocations: 14.23 kB / 0.795 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004805/0.7389, allocations: 112.9 kB / 0.7951 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001014/0.739, allocations: 38.98 kB / 0.7951 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.906e-05/0.7391, allocations: 1.312 kB / 0.7951 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.415e-05/0.7391, allocations: 11.97 kB / 0.7951 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 7.079e-05/0.7392, allocations: 13.27 kB / 0.7952 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.953e-05/0.7392, allocations: 1.375 kB / 0.7952 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002775/0.7395, allocations: 86.47 kB / 0.7952 GB, free: 13 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.906e-05/0.7396, allocations: 7.297 kB / 0.7953 GB, free: 13 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.054e-05/0.7396, allocations: 11.34 kB / 0.7953 GB, free: 13 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002028/0.7398, allocations: 76.89 kB / 0.7953 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.7398, allocations: 3.562 kB / 0.7953 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.635e-06/0.7398, allocations: 2.25 kB / 0.7953 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.417e-06/0.7398, allocations: 1.188 kB / 0.7953 GB, free: 12.98 MB / 0.5919 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.0004733/0.7403, allocations: 338.4 kB / 0.7957 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.7404, allocations: 9.906 kB / 0.7957 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.103e-05/0.7404, allocations: 32.22 kB / 0.7957 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002321/0.7407, allocations: 21.61 kB / 0.7957 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.7408, allocations: 163.9 kB / 0.7959 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.517e-05/0.7409, allocations: 30.73 kB / 0.7959 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.043e-05/0.7409, allocations: 0.9375 kB / 0.7959 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/0.7411, allocations: 48.69 kB / 0.796 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.7411, allocations: 0 / 0.796 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.7411, allocations: 0 / 0.796 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.991e-05/0.7411, allocations: 2.219 kB / 0.796 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.012e-05/0.7412, allocations: 26.75 kB / 0.796 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004291/0.7416, allocations: 268.7 kB / 0.7962 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 4.416e-05/0.7417, allocations: 16.86 kB / 0.7963 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.758e-05/0.7417, allocations: 6.016 kB / 0.7963 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 5.651e-06/0.7417, allocations: 0 / 0.7963 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.923e-05/0.7418, allocations: 35.53 kB / 0.7963 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=1): time 4.399e-06/0.7418, allocations: 0 / 0.7963 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1): time 0.000145/0.7419, allocations: 40.52 kB / 0.7963 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.345e-05/0.742, allocations: 56.38 kB / 0.7964 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.796e-05/0.7421, allocations: 111.6 kB / 0.7965 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.776e-05/0.7421, allocations: 25.7 kB / 0.7965 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.663e-05/0.7422, allocations: 89.47 kB / 0.7966 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.893e-06/0.7422, allocations: 3.953 kB / 0.7966 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.115e-05/0.7422, allocations: 23.02 kB / 0.7966 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.7424, allocations: 315.9 kB / 0.7969 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.703e-05/0.7424, allocations: 5.844 kB / 0.7969 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.335e-05/0.7425, allocations: 27.14 kB / 0.797 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.246e-05/0.7425, allocations: 36.38 kB / 0.797 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.7425, allocations: 0 / 0.797 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.137e-05/0.7426, allocations: 53.16 kB / 0.7971 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.7426, allocations: 7.562 kB / 0.7971 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.7427, allocations: 1.031 kB / 0.7971 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.7427, allocations: 1.156 kB / 0.7971 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.91e-05/0.7427, allocations: 5.688 kB / 0.7971 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.7428, allocations: 9 kB / 0.7971 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.618e-05/0.7428, allocations: 10.14 kB / 0.7971 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.7428, allocations: 9.031 kB / 0.7971 GB, free: 11.2 MB / 0.5919 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.516e-05/0.7429, allocations: 110.4 kB / 0.7972 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.646e-05/0.7429, allocations: 1.219 kB / 0.7972 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.756e-05/0.743, allocations: 4.094 kB / 0.7972 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.743, allocations: 1.125 kB / 0.7972 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.984e-06/0.743, allocations: 3.938 kB / 0.7972 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.743, allocations: 3.078 kB / 0.7972 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003216/0.7433, allocations: 346 kB / 0.7975 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.7433, allocations: 0 / 0.7975 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.624e-05/0.7433, allocations: 2.031 kB / 0.7975 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.7434, allocations: 10.5 kB / 0.7976 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.7434, allocations: 9.047 kB / 0.7976 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.7434, allocations: 0 / 0.7976 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.7434, allocations: 0 / 0.7976 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.06e-05/0.7435, allocations: 57.56 kB / 0.7976 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.961e-05/0.7435, allocations: 90.25 kB / 0.7977 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/0.7435, allocations: 1.25 kB / 0.7977 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.039e-05/0.7436, allocations: 3.125 kB / 0.7977 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.616e-06/0.7436, allocations: 1.188 kB / 0.7977 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-06/0.7437, allocations: 1.594 kB / 0.7977 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.135e-05/0.7437, allocations: 85.55 kB / 0.7978 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7437, allocations: 0 / 0.7978 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0001995/0.7439, allocations: 6.594 kB / 0.7978 GB, free: 10.45 MB / 0.5919 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.0003723/0.7443, allocations: 0.6017 MB / 0.7984 GB, free: 9.844 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 7.42e-05/0.7444, allocations: 14.45 kB / 0.7984 GB, free: 9.844 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.7444, allocations: 1.031 kB / 0.7984 GB, free: 9.844 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 8.345e-06/0.7444, allocations: 5.844 kB / 0.7984 GB, free: 9.84 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002388/0.7446, allocations: 13.89 kB / 0.7984 GB, free: 9.832 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003545/0.745, allocations: 136 kB / 0.7985 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003188/0.7453, allocations: 0.6793 MB / 0.7992 GB, free: 8.992 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.556e-05/0.7454, allocations: 5.281 kB / 0.7992 GB, free: 8.992 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.823e-05/0.7454, allocations: 8.562 kB / 0.7992 GB, free: 8.984 MB / 0.5919 GB Notification: Performance of SimCode: time 2.41e-07/0.7454, allocations: 5.156 kB / 0.7992 GB, free: 8.98 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02205/0.7675, allocations: 1.37 MB / 0.8006 GB, free: 8.645 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.831/8.599, allocations: 8.125 kB / 0.8006 GB, free: 8.641 MB / 0.5919 GB (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)