Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.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.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_MassFraction_pTphi",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.001285/0.001285, allocations: 106.2 kB / 16.4 MB, free: 6.5 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.001399/0.001399, allocations: 189.2 kB / 17.34 MB, free: 5.738 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.357/1.357, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7378/0.7378, allocations: 122.8 MB / 414.1 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 67.77 kB / 0.5679 GB, free: 29.09 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1399, allocations: 77.94 MB / 0.644 GB, free: 9.578 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002682/0.1426, allocations: 1.626 MB / 0.6456 GB, free: 7.941 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5134/0.656, allocations: 151.5 MB / 0.7936 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001319/0.6562, allocations: 1.156 kB / 0.7936 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001577/0.6564, allocations: 17.61 kB / 0.7937 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0002447/0.6566, allocations: 45.33 kB / 0.7937 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004423/0.6571, allocations: 144.8 kB / 0.7938 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001639/0.6572, allocations: 127.3 kB / 0.794 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.6574, allocations: 28.72 kB / 0.794 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00116/0.6585, allocations: 167.2 kB / 0.7941 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 8.417e-05/0.6586, allocations: 48.31 kB / 0.7942 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.496e-05/0.6587, allocations: 9.156 kB / 0.7942 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004359/0.6591, allocations: 179.9 kB / 0.7944 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.94e-05/0.6592, allocations: 27.48 kB / 0.7944 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 7.223e-05/0.6593, allocations: 45.73 kB / 0.7944 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0004349/0.6597, allocations: 187.6 kB / 0.7946 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.6597, allocations: 0 / 0.7946 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.894e-06/0.6597, allocations: 0 / 0.7946 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.273e-05/0.6597, allocations: 2.344 kB / 0.7946 GB, free: 12.7 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007422/0.6605, allocations: 456 kB / 0.7951 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.224e-05/0.6605, allocations: 9.844 kB / 0.7951 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.699e-05/0.6606, allocations: 40.41 kB / 0.7951 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009864/0.6616, allocations: 80.81 kB / 0.7952 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002959/0.6619, allocations: 209.7 kB / 0.7954 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.6619, allocations: 7.188 kB / 0.7954 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.145e-05/0.662, allocations: 7.938 kB / 0.7954 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004492/0.6624, allocations: 129.6 kB / 0.7955 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.6625, allocations: 10.42 kB / 0.7955 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.897e-05/0.6625, allocations: 4.25 kB / 0.7955 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/0.6625, allocations: 6.375 kB / 0.7955 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005671/0.6631, allocations: 137.7 kB / 0.7957 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007458/0.6638, allocations: 409.6 kB / 0.7961 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007207/0.6646, allocations: 251.3 kB / 0.7963 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002678/0.6648, allocations: 79.84 kB / 0.7964 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.137e-05/0.6649, allocations: 0 / 0.7964 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.6649, allocations: 34.75 kB / 0.7964 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=8): time 1.352e-06/0.6649, allocations: 1 kB / 0.7964 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8): time 0.0008919/0.6658, allocations: 213.4 kB / 0.7966 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.063e-05/0.6659, allocations: 54.64 kB / 0.7967 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001739/0.6661, allocations: 152.1 kB / 0.7968 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.581e-05/0.6661, allocations: 25.7 kB / 0.7968 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 7.688e-05/0.6662, allocations: 109.1 kB / 0.7969 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.736e-05/0.6662, allocations: 35.19 kB / 0.797 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.053e-05/0.6663, allocations: 22.36 kB / 0.797 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.6665, allocations: 327.1 kB / 0.7973 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000247/0.6667, allocations: 52.2 kB / 0.7974 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002341/0.667, allocations: 82.2 kB / 0.7974 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004126/0.6674, allocations: 117.7 kB / 0.7975 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.6674, allocations: 4.031 kB / 0.7975 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004924/0.6679, allocations: 160.9 kB / 0.7977 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.6679, allocations: 4.688 kB / 0.7977 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.6679, allocations: 0 / 0.7977 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.668, allocations: 2.531 kB / 0.7977 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000222/0.6682, allocations: 31.62 kB / 0.7977 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.822e-06/0.6682, allocations: 0 / 0.7977 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001603/0.6684, allocations: 26.89 kB / 0.7978 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.437e-05/0.6684, allocations: 5.031 kB / 0.7978 GB, free: 10.73 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (8): * Single equations (assignments): 8 * 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 0.0001004/0.6685, allocations: 121.8 kB / 0.7979 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.82e-05/0.6685, allocations: 7.422 kB / 0.7979 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.048e-05/0.6686, allocations: 19.27 kB / 0.7979 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.6686, allocations: 2.781 kB / 0.7979 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.6686, allocations: 0 / 0.7979 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.6686, allocations: 2.438 kB / 0.7979 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008366/0.6695, allocations: 470.9 kB / 0.7984 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.6695, allocations: 0 / 0.7984 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001796/0.6697, allocations: 27.88 kB / 0.7984 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.6697, allocations: 0 / 0.7984 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.6697, allocations: 2.188 kB / 0.7984 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.02e-06/0.6697, allocations: 6.422 kB / 0.7984 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.6697, allocations: 3.938 kB / 0.7984 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005017/0.6702, allocations: 260.7 kB / 0.7987 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.24e-05/0.6703, allocations: 84.03 kB / 0.7987 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.529e-05/0.6703, allocations: 0 / 0.7987 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001805/0.6705, allocations: 25.64 kB / 0.7988 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.6706, allocations: 11.2 kB / 0.7988 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.858e-06/0.6706, allocations: 0 / 0.7988 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 7.615e-05/0.6707, allocations: 115.8 kB / 0.7989 GB, free: 9.965 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6707, allocations: 3.938 kB / 0.7989 GB, free: 9.961 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002916/0.671, allocations: 32.84 kB / 0.7989 GB, free: 9.957 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 (8): * Single equations (assignments): 8 * 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.0008944/0.6719, allocations: 0.8049 MB / 0.7997 GB, free: 9.281 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005026/0.6724, allocations: 129.7 kB / 0.7998 GB, free: 9.277 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.6724, allocations: 0 / 0.7998 GB, free: 9.277 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002261/0.6727, allocations: 67.19 kB / 0.7999 GB, free: 9.273 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003541/0.673, allocations: 45.3 kB / 0.7999 GB, free: 9.258 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002507/0.6755, allocations: 1.717 MB / 0.8016 GB, free: 8.059 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002696/0.6758, allocations: 0.7032 MB / 0.8023 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001467/0.676, allocations: 25.86 kB / 0.8023 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.662e-05/0.6761, allocations: 36.36 kB / 0.8024 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of SimCode: time 2.3e-07/0.6761, allocations: 4 kB / 0.8024 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01954/0.6956, allocations: 3.356 MB / 0.8056 GB, free: 6.566 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.654/8.349, allocations: 2.234 kB / 0.8056 GB, free: 6.566 MB / 0.5919 GB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi_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_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)