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.001148/0.001148, allocations: 101.2 kB / 16.27 MB, free: 5.969 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.001171/0.001172, allocations: 192 kB / 17.2 MB, free: 5.598 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.333/1.333, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7795/0.7795, allocations: 122.9 MB / 413.9 MB, free: 15.94 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002412/0.002412, allocations: 60.12 kB / 0.4912 GB, free: 7.367 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3588/0.3613, allocations: 77.91 MB / 0.5673 GB, free: 32.85 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002569/0.3639, allocations: 1.631 MB / 0.5689 GB, free: 31.72 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1568/0.5207, allocations: 151.5 MB / 0.7169 GB, free: 1.141 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001599/0.5209, allocations: 3.938 kB / 0.7169 GB, free: 1.137 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000167/0.5211, allocations: 7.875 kB / 0.7169 GB, free: 1.129 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002931/0.5214, allocations: 51.64 kB / 0.7169 GB, free: 1.078 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004492/0.5219, allocations: 147.4 kB / 0.7171 GB, free: 0.9336 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002087/0.5221, allocations: 119.6 kB / 0.7172 GB, free: 0.8164 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001417/0.5223, allocations: 27.64 kB / 0.7172 GB, free: 0.793 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001201/0.5235, allocations: 185.7 kB / 0.7174 GB, free: 0.6367 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.407e-05/0.5236, allocations: 39.83 kB / 0.7174 GB, free: 0.5977 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.356e-05/0.5236, allocations: 8 kB / 0.7174 GB, free: 0.5898 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003824/0.524, allocations: 183.6 kB / 0.7176 GB, free: 420 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.99e-05/0.5241, allocations: 19.92 kB / 0.7176 GB, free: 400 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.998e-05/0.5241, allocations: 43.8 kB / 0.7177 GB, free: 356 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003525/0.5245, allocations: 195.3 kB / 0.7179 GB, free: 160 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.5245, allocations: 0 / 0.7179 GB, free: 160 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.272e-06/0.5245, allocations: 0 / 0.7179 GB, free: 160 kB / 0.545 GB Notification: Performance of Transformations before backend: time 9.057e-06/0.5245, allocations: 4 kB / 0.7179 GB, free: 156 kB / 0.545 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.0005998/0.5251, allocations: 439 kB / 0.7183 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.5252, allocations: 12.62 kB / 0.7183 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.122e-05/0.5252, allocations: 42.73 kB / 0.7183 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009112/0.5261, allocations: 83.75 kB / 0.7184 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002406/0.5264, allocations: 206.7 kB / 0.7186 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.5264, allocations: 4 kB / 0.7186 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.626e-05/0.5265, allocations: 8 kB / 0.7186 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004326/0.5269, allocations: 139.8 kB / 0.7187 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.5269, allocations: 3.984 kB / 0.7188 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.066e-05/0.5269, allocations: 7.938 kB / 0.7188 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.5269, allocations: 0 / 0.7188 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005391/0.5275, allocations: 135.9 kB / 0.7189 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007368/0.5282, allocations: 416.2 kB / 0.7193 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000719/0.529, allocations: 251.7 kB / 0.7195 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002396/0.5292, allocations: 72.8 kB / 0.7196 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.44e-05/0.5293, allocations: 0 / 0.7196 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.5293, allocations: 42.5 kB / 0.7196 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 9.62e-07/0.5293, allocations: 0 / 0.7196 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0007845/0.5301, allocations: 213.4 kB / 0.7198 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.468e-05/0.5301, allocations: 51.41 kB / 0.7199 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.5302, allocations: 149.5 kB / 0.72 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.5303, allocations: 29.64 kB / 0.7201 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.254e-05/0.5303, allocations: 108.1 kB / 0.7202 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.441e-05/0.5304, allocations: 27.69 kB / 0.7202 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.453e-05/0.5304, allocations: 21.72 kB / 0.7202 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.5306, allocations: 326.8 kB / 0.7205 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002289/0.5308, allocations: 59.94 kB / 0.7206 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002283/0.531, allocations: 78.45 kB / 0.7207 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004178/0.5315, allocations: 116.8 kB / 0.7208 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.5315, allocations: 0 / 0.7208 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005049/0.532, allocations: 157.5 kB / 0.7209 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.532, allocations: 11.94 kB / 0.7209 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.532, allocations: 0 / 0.7209 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.532, allocations: 4 kB / 0.7209 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000215/0.5323, allocations: 23.97 kB / 0.721 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-06/0.5323, allocations: 0 / 0.721 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001514/0.5324, allocations: 27.81 kB / 0.721 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.5325, allocations: 3.938 kB / 0.721 GB, free: 12.69 MB / 0.5606 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.0001011/0.5326, allocations: 129.8 kB / 0.7211 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.729e-05/0.5326, allocations: 7.906 kB / 0.7211 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.683e-05/0.5327, allocations: 16.7 kB / 0.7211 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.5327, allocations: 0 / 0.7211 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.5327, allocations: 4 kB / 0.7211 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.5327, allocations: 0 / 0.7211 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008213/0.5335, allocations: 466.8 kB / 0.7216 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.5335, allocations: 0 / 0.7216 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001888/0.5337, allocations: 31.91 kB / 0.7216 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.5338, allocations: 0 / 0.7216 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.5338, allocations: 4 kB / 0.7216 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.5338, allocations: 3.938 kB / 0.7216 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.5338, allocations: 4 kB / 0.7216 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005221/0.5343, allocations: 263.4 kB / 0.7219 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.989e-05/0.5344, allocations: 85 kB / 0.722 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.487e-05/0.5344, allocations: 4 kB / 0.722 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001744/0.5346, allocations: 19.92 kB / 0.722 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.516e-05/0.5346, allocations: 3.984 kB / 0.722 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.906e-06/0.5346, allocations: 4 kB / 0.722 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.636e-05/0.5347, allocations: 119.2 kB / 0.7221 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.5347, allocations: 0 / 0.7221 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002654/0.535, allocations: 28 kB / 0.7221 GB, free: 11.42 MB / 0.5606 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.0008395/0.5358, allocations: 0.7982 MB / 0.7229 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005145/0.5364, allocations: 135.8 kB / 0.723 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.5364, allocations: 0 / 0.723 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002348/0.5366, allocations: 67.94 kB / 0.7231 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003636/0.537, allocations: 27.91 kB / 0.7231 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002462/0.5395, allocations: 1.732 MB / 0.7248 GB, free: 8.555 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002422/0.5397, allocations: 0.7002 MB / 0.7255 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000153/0.5399, allocations: 28.86 kB / 0.7255 GB, free: 7.801 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.307e-05/0.54, allocations: 31.42 kB / 0.7256 GB, free: 7.77 MB / 0.5606 GB Notification: Performance of SimCode: time 3.01e-07/0.54, allocations: 0 / 0.7256 GB, free: 7.77 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0187/0.5587, allocations: 3.325 MB / 0.7288 GB, free: 4.586 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.172/7.73, allocations: 5.719 kB / 0.7288 GB, free: 4.582 MB / 0.5606 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)