Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7963/0.7963, allocations: 128.7 MB / 143.7 MB, free: 2.312 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001212/0.001212, allocations: 178.3 kB / 173.7 MB, free: 6.141 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.678/1.678, allocations: 205.4 MB / 409 MB, free: 10.5 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008609/0.0008609, allocations: 94.66 kB / 486.6 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003389/0.000339, allocations: 9.281 kB / 0.5604 GB, free: 97.5 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1341, allocations: 76.77 MB / 0.6354 GB, free: 30.47 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.115/5.249, allocations: 2.145 GB / 2.78 GB, free: 231.3 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003148/5.25, allocations: 89.58 kB / 2.78 GB, free: 231.2 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.1205/5.37, allocations: 66.96 MB / 2.846 GB, free: 165.2 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.363e-06/5.37, allocations: 0 / 2.846 GB, free: 165.2 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.148e-05/5.37, allocations: 8 kB / 2.846 GB, free: 165.2 MB / 0.6511 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.0006192/5.371, allocations: 459.7 kB / 2.846 GB, free: 164.7 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/5.371, allocations: 8.031 kB / 2.846 GB, free: 164.7 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.256e-05/5.371, allocations: 42.55 kB / 2.846 GB, free: 164.6 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008078/5.372, allocations: 71.81 kB / 2.846 GB, free: 164.5 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002453/5.372, allocations: 222.7 kB / 2.847 GB, free: 164.3 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/5.372, allocations: 4 kB / 2.847 GB, free: 164.3 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.395e-05/5.372, allocations: 12 kB / 2.847 GB, free: 164.3 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004035/5.373, allocations: 138.1 kB / 2.847 GB, free: 164.1 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/5.373, allocations: 4 kB / 2.847 GB, free: 164.1 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.96e-05/5.373, allocations: 4 kB / 2.847 GB, free: 164.1 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/5.373, allocations: 3.984 kB / 2.847 GB, free: 164.1 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004773/5.373, allocations: 155.9 kB / 2.847 GB, free: 164 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007263/5.374, allocations: 412.4 kB / 2.847 GB, free: 163.5 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006355/5.375, allocations: 263.7 kB / 2.848 GB, free: 163.2 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.337e-05/5.375, allocations: 4 kB / 2.848 GB, free: 163.2 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.815e-05/5.375, allocations: 34.55 kB / 2.848 GB, free: 163.2 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=8): time 1.142e-06/5.375, allocations: 0 / 2.848 GB, free: 163.2 MB / 0.6511 GB Notification: Performance of matching and sorting (n=8): time 0.0007514/5.375, allocations: 249.3 kB / 2.848 GB, free: 162.9 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.06e-05/5.375, allocations: 59.41 kB / 2.848 GB, free: 162.8 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.485e-05/5.375, allocations: 128.5 kB / 2.848 GB, free: 162.7 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/5.376, allocations: 29.7 kB / 2.848 GB, free: 162.7 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.461e-05/5.376, allocations: 104.3 kB / 2.848 GB, free: 162.6 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.692e-05/5.376, allocations: 31.64 kB / 2.848 GB, free: 162.5 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.353e-06/5.376, allocations: 0 / 2.848 GB, free: 162.5 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 6.301e-05/5.376, allocations: 322.8 kB / 2.848 GB, free: 162.2 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001983/5.376, allocations: 67.94 kB / 2.849 GB, free: 162.1 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002005/5.376, allocations: 86.52 kB / 2.849 GB, free: 162.1 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001941/5.376, allocations: 68.14 kB / 2.849 GB, free: 162 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/5.376, allocations: 0 / 2.849 GB, free: 162 MB / 0.6511 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004494/5.377, allocations: 173.5 kB / 2.849 GB, free: 161.8 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/5.377, allocations: 11.98 kB / 2.849 GB, free: 161.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/5.377, allocations: 4 kB / 2.849 GB, free: 161.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/5.377, allocations: 0 / 2.849 GB, free: 161.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002176/5.377, allocations: 43.86 kB / 2.849 GB, free: 161.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/5.377, allocations: 0 / 2.849 GB, free: 161.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001548/5.377, allocations: 23.98 kB / 2.849 GB, free: 161.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.238e-05/5.377, allocations: 3.984 kB / 2.849 GB, free: 161.7 MB / 0.6511 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 7.624e-05/5.377, allocations: 115.4 kB / 2.849 GB, free: 161.6 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.188e-05/5.377, allocations: 15.81 kB / 2.849 GB, free: 161.6 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.971e-05/5.377, allocations: 16.66 kB / 2.849 GB, free: 161.6 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/5.377, allocations: 4 kB / 2.849 GB, free: 161.6 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/5.377, allocations: 11.94 kB / 2.849 GB, free: 161.6 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/5.377, allocations: 4 kB / 2.849 GB, free: 161.6 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006844/5.378, allocations: 486.8 kB / 2.85 GB, free: 161 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/5.378, allocations: 0 / 2.85 GB, free: 161 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001832/5.378, allocations: 31.97 kB / 2.85 GB, free: 161 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.666e-06/5.378, allocations: 7.984 kB / 2.85 GB, free: 161 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/5.378, allocations: 7.891 kB / 2.85 GB, free: 161 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/5.378, allocations: 0 / 2.85 GB, free: 161 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/5.378, allocations: 0 / 2.85 GB, free: 161 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004602/5.379, allocations: 287.2 kB / 2.85 GB, free: 160.7 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.181e-05/5.379, allocations: 85.02 kB / 2.85 GB, free: 160.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.522e-05/5.379, allocations: 7.984 kB / 2.85 GB, free: 160.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001765/5.379, allocations: 19.94 kB / 2.85 GB, free: 160.6 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.884e-05/5.379, allocations: 11.98 kB / 2.85 GB, free: 160.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.698e-06/5.379, allocations: 4 kB / 2.85 GB, free: 160.5 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.755e-05/5.379, allocations: 110.3 kB / 2.85 GB, free: 160.4 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/5.379, allocations: 0 / 2.85 GB, free: 160.4 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004547/5.38, allocations: 79.92 kB / 2.85 GB, free: 160.4 MB / 0.6511 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.0014/5.381, allocations: 1.334 MB / 2.851 GB, free: 159 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004739/5.382, allocations: 155.8 kB / 2.852 GB, free: 158.8 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/5.382, allocations: 0 / 2.852 GB, free: 158.8 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002037/5.382, allocations: 71.95 kB / 2.852 GB, free: 158.8 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002867/5.382, allocations: 39.8 kB / 2.852 GB, free: 158.7 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001583/5.384, allocations: 0.8343 MB / 2.853 GB, free: 157.9 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001761/5.384, allocations: 0.7043 MB / 2.853 GB, free: 157.1 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001466/5.384, allocations: 28.41 kB / 2.853 GB, free: 157.1 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.169e-05/5.384, allocations: 33.17 kB / 2.853 GB, free: 157.1 MB / 0.6511 GB Notification: Performance of SimCode: time 3.11e-07/5.384, allocations: 0 / 2.853 GB, free: 157.1 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02454/5.409, allocations: 13.44 MB / 2.866 GB, free: 143.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001444/5.409, allocations: 207.1 kB / 2.867 GB, free: 143.6 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.006/7.415, allocations: 4 kB / 2.867 GB, free: 143.6 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_MassFraction_pTphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)