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.001354/0.001354, allocations: 102.9 kB / 16.4 MB, free: 6.484 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.00148/0.00148, allocations: 189.2 kB / 17.34 MB, free: 5.742 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.44/1.44, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7101/0.7101, allocations: 115.3 MB / 406.5 MB, free: 6.184 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 61.2 kB / 0.5572 GB, free: 32.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1457, allocations: 76.18 MB / 0.6316 GB, free: 5.039 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003217/0.149, allocations: 1.618 MB / 0.6332 GB, free: 3.406 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.5874/0.7364, allocations: 151.5 MB / 0.7812 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001491/0.7366, allocations: 1.625 kB / 0.7812 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001809/0.7369, allocations: 15.41 kB / 0.7812 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00027/0.7372, allocations: 53.84 kB / 0.7812 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004383/0.7376, allocations: 141.4 kB / 0.7814 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001659/0.7378, allocations: 122.9 kB / 0.7815 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001371/0.738, allocations: 30.88 kB / 0.7815 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001099/0.7391, allocations: 178.9 kB / 0.7817 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 7.343e-05/0.7392, allocations: 42.92 kB / 0.7817 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.607e-05/0.7392, allocations: 7.438 kB / 0.7817 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004095/0.7396, allocations: 186.2 kB / 0.7819 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.938e-05/0.7397, allocations: 19.33 kB / 0.7819 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 7.784e-05/0.7397, allocations: 45.28 kB / 0.782 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0003884/0.7401, allocations: 188.9 kB / 0.7821 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.7402, allocations: 1.188 kB / 0.7821 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.774e-06/0.7402, allocations: 4 kB / 0.7821 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.113e-06/0.7402, allocations: 2.25 kB / 0.7821 GB, free: 13.73 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.0006835/0.7409, allocations: 447 kB / 0.7826 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.7409, allocations: 9.812 kB / 0.7826 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.394e-05/0.741, allocations: 43.97 kB / 0.7826 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009357/0.7419, allocations: 83.39 kB / 0.7827 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000254/0.7422, allocations: 207.7 kB / 0.7829 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.7422, allocations: 7.031 kB / 0.7829 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.274e-05/0.7423, allocations: 5.375 kB / 0.7829 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004131/0.7427, allocations: 138.7 kB / 0.783 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.7427, allocations: 0.9375 kB / 0.783 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.788e-05/0.7427, allocations: 0 / 0.783 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.7427, allocations: 7.5 kB / 0.7831 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004816/0.7432, allocations: 143 kB / 0.7832 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007963/0.744, allocations: 410.9 kB / 0.7836 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006998/0.7447, allocations: 252.2 kB / 0.7838 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002319/0.745, allocations: 73.84 kB / 0.7839 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.677e-05/0.745, allocations: 3.172 kB / 0.7839 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/0.745, allocations: 31.75 kB / 0.7839 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=8): time 1.563e-06/0.745, allocations: 4 kB / 0.7839 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8): time 0.0007738/0.7458, allocations: 216 kB / 0.7841 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/0.7459, allocations: 58.22 kB / 0.7842 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001476/0.746, allocations: 144.1 kB / 0.7843 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.341e-05/0.7461, allocations: 29.2 kB / 0.7844 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.7e-05/0.7461, allocations: 100.4 kB / 0.7845 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.577e-05/0.7462, allocations: 26.11 kB / 0.7845 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.619e-05/0.7462, allocations: 28.39 kB / 0.7845 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.7464, allocations: 324 kB / 0.7848 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002124/0.7466, allocations: 58.39 kB / 0.7849 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002144/0.7468, allocations: 75.03 kB / 0.7849 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003931/0.7472, allocations: 120.2 kB / 0.7851 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.7472, allocations: 0 / 0.7851 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004611/0.7477, allocations: 167.5 kB / 0.7852 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.7477, allocations: 5.812 kB / 0.7852 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.7477, allocations: 0 / 0.7852 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.7477, allocations: 1.344 kB / 0.7852 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002189/0.748, allocations: 27.59 kB / 0.7852 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.748, allocations: 0.5469 kB / 0.7852 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001532/0.7481, allocations: 22.94 kB / 0.7853 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.328e-05/0.7482, allocations: 3.797 kB / 0.7853 GB, free: 11.8 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 9.52e-05/0.7483, allocations: 127.2 kB / 0.7854 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.919e-05/0.7483, allocations: 10.77 kB / 0.7854 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.339e-05/0.7484, allocations: 18.25 kB / 0.7854 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.7484, allocations: 3.984 kB / 0.7854 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.7484, allocations: 6.344 kB / 0.7854 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.7484, allocations: 1.922 kB / 0.7854 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007616/0.7492, allocations: 467.6 kB / 0.7859 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.7492, allocations: 0 / 0.7859 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001788/0.7494, allocations: 28.27 kB / 0.7859 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.7494, allocations: 0 / 0.7859 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.7494, allocations: 11.06 kB / 0.7859 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.7494, allocations: 7.875 kB / 0.7859 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.7494, allocations: 2.484 kB / 0.7859 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004619/0.7499, allocations: 256.8 kB / 0.7862 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.404e-05/0.7499, allocations: 88.59 kB / 0.7863 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.609e-05/0.75, allocations: 3 kB / 0.7863 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001723/0.7501, allocations: 15.36 kB / 0.7863 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.011e-05/0.7502, allocations: 11.95 kB / 0.7863 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/0.7502, allocations: 1.938 kB / 0.7863 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 6.554e-05/0.7503, allocations: 115 kB / 0.7864 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7503, allocations: 0 / 0.7864 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002999/0.7506, allocations: 32.41 kB / 0.7864 GB, free: 11.01 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.0007881/0.7514, allocations: 0.803 MB / 0.7872 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00044/0.7518, allocations: 120 kB / 0.7873 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.7519, allocations: 0 / 0.7873 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002105/0.7521, allocations: 73.56 kB / 0.7874 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003503/0.7524, allocations: 36.38 kB / 0.7874 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002485/0.7549, allocations: 1.747 MB / 0.7891 GB, free: 9.102 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002618/0.7552, allocations: 0.7027 MB / 0.7898 GB, free: 8.406 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001303/0.7553, allocations: 27.77 kB / 0.7899 GB, free: 8.398 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.981e-05/0.7554, allocations: 27.72 kB / 0.7899 GB, free: 8.391 MB / 0.5919 GB Notification: Performance of SimCode: time 2.4e-07/0.7554, allocations: 1.203 kB / 0.7899 GB, free: 8.391 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0199/0.7753, allocations: 3.417 MB / 0.7932 GB, free: 7.902 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.775/8.55, allocations: 2.688 kB / 0.7932 GB, free: 7.902 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 & /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)