Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.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.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_AirTemperatureEnthalpyInversion",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.001342/0.001342, allocations: 105.9 kB / 16.4 MB, free: 6.457 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.001398/0.001398, allocations: 193.2 kB / 17.34 MB, free: 5.715 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.422/1.422, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8329/0.8329, allocations: 126.7 MB / 417.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00307/0.00307, allocations: 68.98 kB / 0.5735 GB, free: 27.12 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1561, allocations: 78.86 MB / 0.6505 GB, free: 3.621 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirTemperatureEnthalpyInversion): time 0.4937/0.6498, allocations: 148.3 MB / 0.7953 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0001237/0.6499, allocations: 60.31 kB / 0.7954 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.241e-05/0.65, allocations: 1.156 kB / 0.7954 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001002/0.6501, allocations: 6.375 kB / 0.7954 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 6.864e-05/0.6502, allocations: 10.58 kB / 0.7954 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006699/0.6509, allocations: 213 kB / 0.7956 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 8.603e-05/0.6509, allocations: 29.41 kB / 0.7956 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.985e-05/0.651, allocations: 1.156 kB / 0.7956 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.987e-05/0.6511, allocations: 25.48 kB / 0.7957 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 6.776e-05/0.6511, allocations: 11.33 kB / 0.7957 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.279e-05/0.6511, allocations: 1.188 kB / 0.7957 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004053/0.6516, allocations: 196.1 kB / 0.7959 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.31e-05/0.6516, allocations: 8.328 kB / 0.7959 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.057e-05/0.6516, allocations: 14.11 kB / 0.7959 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002583/0.6519, allocations: 119.9 kB / 0.796 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.6519, allocations: 4 kB / 0.796 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.124e-06/0.652, allocations: 0 / 0.796 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.209e-06/0.652, allocations: 0.9688 kB / 0.796 GB, free: 12.53 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.0004438/0.6524, allocations: 339.8 kB / 0.7963 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.6525, allocations: 9.031 kB / 0.7963 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.562e-05/0.6525, allocations: 38.39 kB / 0.7964 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002962/0.6528, allocations: 22.3 kB / 0.7964 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001438/0.653, allocations: 165.6 kB / 0.7965 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.227e-05/0.653, allocations: 30.67 kB / 0.7966 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.516e-06/0.6531, allocations: 1.312 kB / 0.7966 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001338/0.6532, allocations: 51.84 kB / 0.7966 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.6532, allocations: 0 / 0.7966 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.6532, allocations: 4.594 kB / 0.7966 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.5e-05/0.6532, allocations: 3 kB / 0.7966 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.291e-05/0.6533, allocations: 21.45 kB / 0.7966 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003964/0.6537, allocations: 268.6 kB / 0.7969 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 5.681e-05/0.6538, allocations: 27.67 kB / 0.7969 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.39e-05/0.6538, allocations: 9.578 kB / 0.7969 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001574/0.654, allocations: 89.17 kB / 0.797 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.34e-05/0.654, allocations: 41.64 kB / 0.7971 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=2): time 3.357e-06/0.654, allocations: 0 / 0.7971 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2): time 0.00024/0.6543, allocations: 49.44 kB / 0.7971 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.852e-05/0.6543, allocations: 52.53 kB / 0.7972 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.137e-05/0.6544, allocations: 108 kB / 0.7973 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.6545, allocations: 25.7 kB / 0.7973 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 6.661e-05/0.6545, allocations: 89.19 kB / 0.7974 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 9.458e-06/0.6546, allocations: 5.172 kB / 0.7974 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.531e-05/0.6546, allocations: 22.25 kB / 0.7974 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.6547, allocations: 315.4 kB / 0.7977 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.736e-05/0.6548, allocations: 5.891 kB / 0.7977 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.402e-05/0.6548, allocations: 19.14 kB / 0.7977 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.257e-05/0.6549, allocations: 37.61 kB / 0.7978 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.6549, allocations: 5.031 kB / 0.7978 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.6e-05/0.655, allocations: 52.72 kB / 0.7978 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.655, allocations: 6.406 kB / 0.7978 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.655, allocations: 0 / 0.7978 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.655, allocations: 2.156 kB / 0.7978 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.804e-05/0.6551, allocations: 4.656 kB / 0.7978 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.984e-05/0.6551, allocations: 5.938 kB / 0.7978 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.006e-05/0.6551, allocations: 3.812 kB / 0.7978 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.6552, allocations: 5.094 kB / 0.7978 GB, free: 10.66 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.372e-05/0.6552, allocations: 114.8 kB / 0.798 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.887e-05/0.6553, allocations: 6.203 kB / 0.798 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.984e-05/0.6553, allocations: 4.75 kB / 0.798 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.6553, allocations: 0 / 0.798 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.098e-06/0.6553, allocations: 6.469 kB / 0.798 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.6553, allocations: 4.922 kB / 0.798 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003489/0.6557, allocations: 366.7 kB / 0.7983 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.6557, allocations: 0 / 0.7983 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.529e-05/0.6557, allocations: 3.281 kB / 0.7983 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.139e-06/0.6557, allocations: 5.094 kB / 0.7983 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-06/0.6558, allocations: 1.25 kB / 0.7983 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.6558, allocations: 0 / 0.7983 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.6558, allocations: 4.969 kB / 0.7983 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.841e-05/0.6559, allocations: 77.34 kB / 0.7984 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.899e-05/0.6559, allocations: 87.94 kB / 0.7985 GB, free: 9.953 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.089e-05/0.656, allocations: 1.188 kB / 0.7985 GB, free: 9.953 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.503e-05/0.6561, allocations: 9.797 kB / 0.7985 GB, free: 9.949 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.082e-05/0.6561, allocations: 1.406 kB / 0.7985 GB, free: 9.949 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.6561, allocations: 0.625 kB / 0.7985 GB, free: 9.949 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.58e-05/0.6561, allocations: 85.2 kB / 0.7986 GB, free: 9.875 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6561, allocations: 4.031 kB / 0.7986 GB, free: 9.871 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002002/0.6564, allocations: 6.531 kB / 0.7986 GB, free: 9.871 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0004164/0.6568, allocations: 0.6086 MB / 0.7992 GB, free: 9.27 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 8.055e-05/0.6569, allocations: 22.06 kB / 0.7992 GB, free: 9.262 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.6569, allocations: 0 / 0.7992 GB, free: 9.262 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.238e-05/0.6569, allocations: 5.969 kB / 0.7992 GB, free: 9.262 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000232/0.6571, allocations: 4.719 kB / 0.7992 GB, free: 9.262 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003826/0.6575, allocations: 151.8 kB / 0.7994 GB, free: 9.113 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003201/0.6579, allocations: 0.6832 MB / 0.8 GB, free: 8.41 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 5.226e-05/0.6579, allocations: 10.05 kB / 0.8 GB, free: 8.406 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.11e-05/0.658, allocations: 9.969 kB / 0.8001 GB, free: 8.398 MB / 0.5919 GB Notification: Performance of SimCode: time 4.31e-07/0.658, allocations: 0 / 0.8001 GB, free: 8.398 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02125/0.6792, allocations: 1.46 MB / 0.8015 GB, free: 8.012 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.795/8.475, allocations: 4.578 kB / 0.8015 GB, free: 8.008 MB / 0.5919 GB (rm -f IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion_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_Examples_AirTemperatureEnthalpyInversion.fmu > IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)