Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="Buildings_8_Buildings_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.001706/0.001706, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001982/0.001982, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.044/4.044, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 3.356/3.356, allocations: 292.6 MB / 0.5497 GB, free: 14.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007848/0.0007849, allocations: 19.91 kB / 0.6737 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5423/0.5431, allocations: 116.3 MB / 0.7872 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003382/0.5466, allocations: 1.317 MB / 0.7885 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 1.543/2.089, allocations: 127.9 MB / 0.9134 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002313/2.09, allocations: 0 / 0.9134 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002012/2.09, allocations: 15.02 kB / 0.9134 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004361/2.09, allocations: 40.47 kB / 0.9135 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009568/2.091, allocations: 126.5 kB / 0.9136 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003082/2.092, allocations: 81.59 kB / 0.9137 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002226/2.092, allocations: 26.09 kB / 0.9137 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004586/2.092, allocations: 89.66 kB / 0.9138 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001384/2.093, allocations: 39.72 kB / 0.9138 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.521e-05/2.093, allocations: 6.781 kB / 0.9138 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007422/2.093, allocations: 189.6 kB / 0.914 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.132e-05/2.093, allocations: 16.48 kB / 0.914 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005491/2.094, allocations: 39.86 kB / 0.9141 GB, free: 21.8 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0005204/2.095, allocations: 134.3 kB / 0.9142 GB, free: 21.79 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.154e-06/2.095, allocations: 3.781 kB / 0.9142 GB, free: 21.79 MB / 0.7325 GB Notification: Performance of FrontEnd: time 5.781e-06/2.095, allocations: 0 / 0.9142 GB, free: 21.79 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.014e-05/2.095, allocations: 0 / 0.9142 GB, free: 21.79 MB / 0.7325 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.001271/2.096, allocations: 439.2 kB / 0.9146 GB, free: 21.4 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001024/2.096, allocations: 9.156 kB / 0.9146 GB, free: 21.4 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.794e-05/2.096, allocations: 39.44 kB / 0.9147 GB, free: 21.36 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001614/2.098, allocations: 82.14 kB / 0.9147 GB, free: 21.35 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005726/2.098, allocations: 197.8 kB / 0.9149 GB, free: 21.14 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.277e-05/2.098, allocations: 12.38 kB / 0.9149 GB, free: 21.14 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.525e-05/2.098, allocations: 9.188 kB / 0.9149 GB, free: 21.14 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000836/2.099, allocations: 144.6 kB / 0.9151 GB, free: 21.11 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.993e-05/2.099, allocations: 0 / 0.9151 GB, free: 21.11 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.929e-05/2.099, allocations: 8.172 kB / 0.9151 GB, free: 21.1 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.777e-05/2.099, allocations: 2.812 kB / 0.9151 GB, free: 21.1 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009986/2.1, allocations: 155.9 kB / 0.9152 GB, free: 21.1 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001348/2.102, allocations: 412.7 kB / 0.9156 GB, free: 20.82 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001191/2.103, allocations: 271 kB / 0.9159 GB, free: 20.69 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.587e-05/2.103, allocations: 4.234 kB / 0.9159 GB, free: 20.69 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.036e-05/2.103, allocations: 31.62 kB / 0.9159 GB, free: 20.65 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 2.875e-06/2.103, allocations: 0 / 0.9159 GB, free: 20.65 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.001475/2.105, allocations: 244.9 kB / 0.9162 GB, free: 20.61 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.502e-05/2.105, allocations: 54.92 kB / 0.9162 GB, free: 20.55 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000313/2.105, allocations: 144.5 kB / 0.9163 GB, free: 20.45 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.635e-05/2.105, allocations: 26.64 kB / 0.9164 GB, free: 20.41 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001458/2.105, allocations: 106.3 kB / 0.9165 GB, free: 20.33 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.797e-05/2.105, allocations: 29.03 kB / 0.9165 GB, free: 20.31 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.343e-05/2.105, allocations: 2.375 kB / 0.9165 GB, free: 20.31 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002462/2.106, allocations: 326.7 kB / 0.9168 GB, free: 19.99 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003821/2.106, allocations: 59.44 kB / 0.9169 GB, free: 19.99 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004431/2.106, allocations: 92.33 kB / 0.917 GB, free: 19.96 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003926/2.107, allocations: 71.8 kB / 0.917 GB, free: 19.96 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/2.107, allocations: 0 / 0.917 GB, free: 19.96 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0009165/2.108, allocations: 176.3 kB / 0.9172 GB, free: 19.92 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.602e-05/2.108, allocations: 5.312 kB / 0.9172 GB, free: 19.92 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/2.108, allocations: 6.906 kB / 0.9172 GB, free: 19.92 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.546e-05/2.108, allocations: 3.984 kB / 0.9172 GB, free: 19.92 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003845/2.108, allocations: 32.31 kB / 0.9172 GB, free: 19.92 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.393e-05/2.108, allocations: 8.875 kB / 0.9173 GB, free: 19.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002651/2.109, allocations: 32.38 kB / 0.9173 GB, free: 19.9 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.32e-05/2.109, allocations: 2.375 kB / 0.9173 GB, free: 19.9 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002181/2.109, allocations: 121.5 kB / 0.9174 GB, free: 19.79 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.118e-05/2.109, allocations: 14.41 kB / 0.9174 GB, free: 19.78 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.693e-05/2.109, allocations: 12.28 kB / 0.9174 GB, free: 19.78 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.553e-06/2.109, allocations: 1.312 kB / 0.9174 GB, free: 19.78 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/2.109, allocations: 1.688 kB / 0.9174 GB, free: 19.78 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/2.109, allocations: 0 / 0.9174 GB, free: 19.78 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001718/2.111, allocations: 493.7 kB / 0.9179 GB, free: 19.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/2.111, allocations: 0 / 0.9179 GB, free: 19.46 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004064/2.111, allocations: 36.72 kB / 0.9179 GB, free: 19.46 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.576e-06/2.111, allocations: 0.7969 kB / 0.9179 GB, free: 19.46 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.896e-05/2.111, allocations: 5.344 kB / 0.9179 GB, free: 19.46 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.65e-06/2.111, allocations: 2.125 kB / 0.9179 GB, free: 19.46 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/2.111, allocations: 1.531 kB / 0.9179 GB, free: 19.46 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001208/2.113, allocations: 282.4 kB / 0.9182 GB, free: 19.32 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001186/2.113, allocations: 83.73 kB / 0.9183 GB, free: 19.22 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.883e-05/2.113, allocations: 1.312 kB / 0.9183 GB, free: 19.22 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002859/2.113, allocations: 27.59 kB / 0.9183 GB, free: 19.22 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/2.113, allocations: 10.03 kB / 0.9183 GB, free: 19.22 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-05/2.113, allocations: 4.969 kB / 0.9183 GB, free: 19.22 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002049/2.113, allocations: 116.2 kB / 0.9184 GB, free: 19.14 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3e-07/2.113, allocations: 2.844 kB / 0.9184 GB, free: 19.14 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004786/2.114, allocations: 30.91 kB / 0.9185 GB, free: 19.13 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001899/2.116, allocations: 0.8278 MB / 0.9193 GB, free: 18.46 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001006/2.117, allocations: 144.7 kB / 0.9194 GB, free: 18.46 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/2.117, allocations: 2.734 kB / 0.9194 GB, free: 18.46 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004374/2.117, allocations: 83.36 kB / 0.9195 GB, free: 18.45 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006854/2.118, allocations: 34.03 kB / 0.9195 GB, free: 18.45 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004293/2.122, allocations: 0.8148 MB / 0.9203 GB, free: 18.05 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001112/2.124, allocations: 0.7039 MB / 0.921 GB, free: 17.36 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003644/2.124, allocations: 27.78 kB / 0.921 GB, free: 17.35 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001603/2.124, allocations: 32.39 kB / 0.9211 GB, free: 17.34 MB / 0.7325 GB Notification: Performance of SimCode: time 2.825e-06/2.124, allocations: 0 / 0.9211 GB, free: 17.34 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03506/2.159, allocations: 2.961 MB / 0.924 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005292/2.16, allocations: 202.7 kB / 0.9242 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.43/5.59, allocations: 0 / 0.9242 GB, free: 16.88 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) Environment - environmentSimulation: