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.001562/0.001562, allocations: 108.1 kB / 15.99 MB, free: 6.332 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.001568/0.001569, allocations: 194.3 kB / 16.91 MB, free: 6.18 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.416/1.416, allocations: 222.9 MB / 240.6 MB, free: 13.67 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7228/0.7228, allocations: 115.3 MB / 406.1 MB, free: 6.422 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001788/0.001789, allocations: 71.88 kB / 493.2 MB, free: 0.625 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4592/0.461, allocations: 76.17 MB / 0.556 GB, free: 35.41 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002728/0.4638, allocations: 1.688 MB / 0.5577 GB, free: 34.25 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1653/0.6291, allocations: 149.4 MB / 0.7035 GB, free: 13.08 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002003/0.6293, allocations: 7.938 kB / 0.7035 GB, free: 13.07 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002063/0.6296, allocations: 11.92 kB / 0.7035 GB, free: 13.06 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003992/0.63, allocations: 39.72 kB / 0.7036 GB, free: 13.02 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005533/0.6306, allocations: 139.5 kB / 0.7037 GB, free: 12.89 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002239/0.6308, allocations: 123.6 kB / 0.7038 GB, free: 12.77 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001435/0.631, allocations: 27.59 kB / 0.7039 GB, free: 12.74 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00201/0.633, allocations: 171.1 kB / 0.704 GB, free: 12.6 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.281e-05/0.6331, allocations: 47.77 kB / 0.7041 GB, free: 12.55 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.361e-05/0.6331, allocations: 8 kB / 0.7041 GB, free: 12.55 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004417/0.6336, allocations: 187.7 kB / 0.7042 GB, free: 12.36 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.886e-05/0.6336, allocations: 19.92 kB / 0.7043 GB, free: 12.34 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.893e-05/0.6337, allocations: 47.67 kB / 0.7043 GB, free: 12.3 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003414/0.634, allocations: 183.5 kB / 0.7045 GB, free: 12.12 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.6341, allocations: 0 / 0.7045 GB, free: 12.12 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.683e-06/0.6341, allocations: 0 / 0.7045 GB, free: 12.12 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.134e-06/0.6341, allocations: 0 / 0.7045 GB, free: 12.12 MB / 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.0006518/0.6347, allocations: 447 kB / 0.7049 GB, free: 11.63 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.6348, allocations: 8.031 kB / 0.7049 GB, free: 11.62 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.615e-05/0.6348, allocations: 46.67 kB / 0.705 GB, free: 11.57 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001034/0.6359, allocations: 79.75 kB / 0.705 GB, free: 11.49 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002557/0.6362, allocations: 211.4 kB / 0.7052 GB, free: 11.25 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.6362, allocations: 8 kB / 0.7053 GB, free: 11.24 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.558e-05/0.6362, allocations: 4 kB / 0.7053 GB, free: 11.23 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004628/0.6367, allocations: 137.6 kB / 0.7054 GB, free: 11.09 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.6367, allocations: 0 / 0.7054 GB, free: 11.09 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.047e-05/0.6367, allocations: 7.938 kB / 0.7054 GB, free: 11.09 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.6367, allocations: 0 / 0.7054 GB, free: 11.09 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005345/0.6373, allocations: 139.9 kB / 0.7055 GB, free: 10.95 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008113/0.6381, allocations: 412.4 kB / 0.7059 GB, free: 10.5 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007051/0.6388, allocations: 251.7 kB / 0.7062 GB, free: 10.22 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002511/0.6391, allocations: 72.8 kB / 0.7062 GB, free: 10.15 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.636e-05/0.6391, allocations: 4 kB / 0.7062 GB, free: 10.14 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.6391, allocations: 30.56 kB / 0.7063 GB, free: 10.11 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.523e-06/0.6391, allocations: 0 / 0.7063 GB, free: 10.11 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0007823/0.6399, allocations: 217.3 kB / 0.7065 GB, free: 9.887 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.865e-05/0.64, allocations: 55.41 kB / 0.7065 GB, free: 9.82 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/0.6401, allocations: 144.7 kB / 0.7067 GB, free: 9.672 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.6402, allocations: 33.64 kB / 0.7067 GB, free: 9.633 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.045e-05/0.6402, allocations: 104.1 kB / 0.7068 GB, free: 9.527 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.076e-05/0.6403, allocations: 35.67 kB / 0.7068 GB, free: 9.492 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.294e-05/0.6404, allocations: 21.72 kB / 0.7068 GB, free: 9.465 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.6405, allocations: 322.8 kB / 0.7072 GB, free: 9.141 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002234/0.6407, allocations: 55.94 kB / 0.7072 GB, free: 9.086 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002281/0.6409, allocations: 86.81 kB / 0.7073 GB, free: 8.992 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003993/0.6414, allocations: 120.7 kB / 0.7074 GB, free: 8.871 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.6414, allocations: 0 / 0.7074 GB, free: 8.871 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004649/0.6418, allocations: 157.5 kB / 0.7076 GB, free: 8.711 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.6419, allocations: 4 kB / 0.7076 GB, free: 8.707 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.6419, allocations: 3.938 kB / 0.7076 GB, free: 8.703 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.6419, allocations: 4 kB / 0.7076 GB, free: 8.699 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002128/0.6421, allocations: 31.97 kB / 0.7076 GB, free: 8.668 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.6421, allocations: 0 / 0.7076 GB, free: 8.668 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001553/0.6423, allocations: 19.97 kB / 0.7076 GB, free: 8.648 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/0.6423, allocations: 7.938 kB / 0.7076 GB, free: 8.641 MB / 0.545 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 8.727e-05/0.6424, allocations: 117.8 kB / 0.7077 GB, free: 8.516 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.735e-05/0.6424, allocations: 15.81 kB / 0.7078 GB, free: 8.5 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.798e-05/0.6425, allocations: 24.69 kB / 0.7078 GB, free: 8.477 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.6425, allocations: 0 / 0.7078 GB, free: 8.477 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.6425, allocations: 4 kB / 0.7078 GB, free: 8.473 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.6425, allocations: 0 / 0.7078 GB, free: 8.473 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007947/0.6433, allocations: 466.2 kB / 0.7082 GB, free: 7.961 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.6433, allocations: 0 / 0.7082 GB, free: 7.961 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001881/0.6435, allocations: 27.97 kB / 0.7083 GB, free: 7.934 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.6435, allocations: 4 kB / 0.7083 GB, free: 7.93 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.6436, allocations: 0 / 0.7083 GB, free: 7.93 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.6436, allocations: 7.938 kB / 0.7083 GB, free: 7.922 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.6436, allocations: 0 / 0.7083 GB, free: 7.922 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004991/0.6441, allocations: 255.3 kB / 0.7085 GB, free: 7.656 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.364e-05/0.6441, allocations: 96.92 kB / 0.7086 GB, free: 7.543 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.791e-05/0.6442, allocations: 3.984 kB / 0.7086 GB, free: 7.539 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001765/0.6444, allocations: 19.86 kB / 0.7086 GB, free: 7.52 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.341e-05/0.6444, allocations: 11.98 kB / 0.7086 GB, free: 7.508 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.6444, allocations: 4 kB / 0.7086 GB, free: 7.504 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.035e-05/0.6445, allocations: 109.5 kB / 0.7087 GB, free: 7.398 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.91e-07/0.6445, allocations: 0 / 0.7087 GB, free: 7.398 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002667/0.6448, allocations: 31.94 kB / 0.7088 GB, free: 7.367 MB / 0.545 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.0008139/0.6456, allocations: 0.806 MB / 0.7096 GB, free: 6.535 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004819/0.6461, allocations: 120.3 kB / 0.7097 GB, free: 6.418 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.6461, allocations: 7.938 kB / 0.7097 GB, free: 6.41 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000227/0.6463, allocations: 72.03 kB / 0.7097 GB, free: 6.34 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003505/0.6467, allocations: 40.05 kB / 0.7098 GB, free: 6.301 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0026/0.6493, allocations: 1.732 MB / 0.7115 GB, free: 4.488 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002863/0.6496, allocations: 0.7041 MB / 0.7122 GB, free: 3.758 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001598/0.6498, allocations: 20.42 kB / 0.7122 GB, free: 3.738 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.054e-05/0.6499, allocations: 35.42 kB / 0.7122 GB, free: 3.703 MB / 0.545 GB Notification: Performance of SimCode: time 5.51e-07/0.6499, allocations: 0 / 0.7122 GB, free: 3.703 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02214/0.672, allocations: 3.135 MB / 0.7153 GB, free: 0.7578 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002881/0.6724, allocations: 211.9 kB / 0.7155 GB, free: 0.5039 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.87/2.542, allocations: 7.125 kB / 0.7155 GB, free: 0.5 MB / 0.545 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)