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.007768/0.007768, allocations: 101.7 kB / 15.88 MB, free: 6.312 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.001235/0.001235, allocations: 195.3 kB / 16.79 MB, free: 6.242 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.284/1.284, allocations: 222.9 MB / 240.5 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6412/0.6412, allocations: 115.3 MB / 405.9 MB, free: 2.793 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002226/0.002226, allocations: 71.55 kB / 493 MB, free: 6.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1472, allocations: 76.18 MB / 0.5558 GB, free: 10.75 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003074/0.1504, allocations: 1.687 MB / 0.5575 GB, free: 9.051 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.4176/0.568, allocations: 149.3 MB / 0.7032 GB, free: 16 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.361e-05/0.5681, allocations: 0 / 0.7032 GB, free: 16 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001241/0.5682, allocations: 11.88 kB / 0.7033 GB, free: 4 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002146/0.5685, allocations: 39.88 kB / 0.7033 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003132/0.5688, allocations: 119.6 kB / 0.7034 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001447/0.5689, allocations: 117.2 kB / 0.7035 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.5691, allocations: 35.77 kB / 0.7036 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001612/0.5707, allocations: 137.9 kB / 0.7037 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.543e-05/0.5708, allocations: 55.7 kB / 0.7037 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.839e-05/0.5708, allocations: 4 kB / 0.7037 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000338/0.5711, allocations: 183.6 kB / 0.7039 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.659e-05/0.5712, allocations: 19.92 kB / 0.7039 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.756e-05/0.5712, allocations: 47.73 kB / 0.704 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002551/0.5715, allocations: 175.5 kB / 0.7042 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.5715, allocations: 0 / 0.7042 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of FrontEnd: time 6.81e-07/0.5715, allocations: 0 / 0.7042 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.206e-06/0.5715, allocations: 0 / 0.7042 GB, free: 15.11 MB / 0.5294 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.0005538/0.5721, allocations: 447.7 kB / 0.7046 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.5721, allocations: 12.02 kB / 0.7046 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.345e-05/0.5722, allocations: 46.88 kB / 0.7046 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009081/0.5731, allocations: 75.75 kB / 0.7047 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001841/0.5733, allocations: 210.7 kB / 0.7049 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-06/0.5733, allocations: 8 kB / 0.7049 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.242e-05/0.5733, allocations: 11.94 kB / 0.7049 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004074/0.5737, allocations: 131.8 kB / 0.7051 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.191e-06/0.5737, allocations: 0 / 0.7051 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.974e-05/0.5738, allocations: 11.98 kB / 0.7051 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.5738, allocations: 7.922 kB / 0.7051 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005129/0.5743, allocations: 135.8 kB / 0.7052 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007012/0.575, allocations: 408.5 kB / 0.7056 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006726/0.5757, allocations: 251.7 kB / 0.7058 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002294/0.5759, allocations: 76.8 kB / 0.7059 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.994e-05/0.576, allocations: 4 kB / 0.7059 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.576, allocations: 30.56 kB / 0.7059 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.576, allocations: 3.938 kB / 0.7059 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.0007372/0.5767, allocations: 222.3 kB / 0.7062 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.252e-05/0.5768, allocations: 51.41 kB / 0.7062 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.5769, allocations: 150 kB / 0.7063 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.5769, allocations: 25.7 kB / 0.7064 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.224e-05/0.577, allocations: 100.1 kB / 0.7065 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.289e-05/0.577, allocations: 31.69 kB / 0.7065 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.969e-05/0.5771, allocations: 25.72 kB / 0.7065 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.5772, allocations: 326.8 kB / 0.7068 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002076/0.5774, allocations: 59.92 kB / 0.7069 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002177/0.5776, allocations: 78.52 kB / 0.707 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003796/0.578, allocations: 113.8 kB / 0.7071 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.578, allocations: 0 / 0.7071 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004558/0.5785, allocations: 165.5 kB / 0.7072 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.5785, allocations: 4 kB / 0.7072 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.5785, allocations: 1.172 kB / 0.7072 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.937e-06/0.5785, allocations: 3.938 kB / 0.7072 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001981/0.5787, allocations: 27.97 kB / 0.7073 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.439e-06/0.5787, allocations: 0 / 0.7073 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001467/0.5789, allocations: 23.97 kB / 0.7073 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.5789, allocations: 0 / 0.7073 GB, free: 11.65 MB / 0.5294 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 9.023e-05/0.579, allocations: 121.8 kB / 0.7074 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.755e-05/0.5791, allocations: 11.81 kB / 0.7074 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.983e-05/0.5791, allocations: 20.7 kB / 0.7074 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.5791, allocations: 4 kB / 0.7074 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.5791, allocations: 7.938 kB / 0.7074 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.5791, allocations: 0 / 0.7074 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007378/0.5799, allocations: 462.3 kB / 0.7079 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.5799, allocations: 0 / 0.7079 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001792/0.5801, allocations: 23.97 kB / 0.7079 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.5801, allocations: 4 kB / 0.7079 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.5801, allocations: 0 / 0.7079 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.5801, allocations: 3.938 kB / 0.7079 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.5801, allocations: 5.312 kB / 0.7079 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004915/0.5806, allocations: 263.3 kB / 0.7082 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.842e-05/0.5807, allocations: 96.84 kB / 0.7083 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.118e-05/0.5807, allocations: 0 / 0.7083 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001698/0.5809, allocations: 19.92 kB / 0.7083 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.237e-05/0.5809, allocations: 11.98 kB / 0.7083 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.5809, allocations: 5.188 kB / 0.7083 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.597e-05/0.581, allocations: 111.2 kB / 0.7084 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.581, allocations: 0 / 0.7084 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002527/0.5813, allocations: 31.94 kB / 0.7084 GB, free: 10.37 MB / 0.5294 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.0007572/0.582, allocations: 0.7982 MB / 0.7092 GB, free: 9.547 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004499/0.5825, allocations: 123.9 kB / 0.7093 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.5825, allocations: 0 / 0.7093 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002153/0.5827, allocations: 67.88 kB / 0.7094 GB, free: 9.359 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003157/0.583, allocations: 39.84 kB / 0.7094 GB, free: 9.32 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00234/0.5854, allocations: 1.746 MB / 0.7111 GB, free: 7.496 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002325/0.5856, allocations: 0.7043 MB / 0.7118 GB, free: 6.766 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001484/0.5858, allocations: 28.41 kB / 0.7119 GB, free: 6.738 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.272e-05/0.5859, allocations: 31.41 kB / 0.7119 GB, free: 6.707 MB / 0.5294 GB Notification: Performance of SimCode: time 3.3e-07/0.5859, allocations: 0 / 0.7119 GB, free: 6.707 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1769/0.7628, allocations: 3.028 MB / 0.7148 GB, free: 3.82 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003584/0.7632, allocations: 211.7 kB / 0.715 GB, free: 3.566 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.21/2.973, allocations: 0 / 0.715 GB, free: 3.566 MB / 0.5294 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_MassFraction_pTphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)