Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_Phi_pTX",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.001087/0.001087, 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.00127/0.00127, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 223.2 MB / 239.9 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.075/1.075, allocations: 143.3 MB / 434.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003569/0.000357, allocations: 8 kB / 0.5159 GB, free: 11.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.166, allocations: 83.42 MB / 0.5974 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.001902/0.168, allocations: 1.194 MB / 0.5985 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001188/0.1692, allocations: 0.6672 MB / 0.5992 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.256e-05/0.1693, allocations: 0 / 0.5992 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.061e-05/0.1693, allocations: 0 / 0.5992 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.611e-05/0.1694, allocations: 15.97 kB / 0.5992 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005411/0.17, allocations: 99.64 kB / 0.5993 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.315e-05/0.1701, allocations: 31.95 kB / 0.5993 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001423/0.1702, allocations: 12 kB / 0.5993 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.505e-05/0.1703, allocations: 19.92 kB / 0.5993 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.523e-05/0.1704, allocations: 19.92 kB / 0.5994 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.344e-05/0.1704, allocations: 0 / 0.5994 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003566/0.1708, allocations: 167.8 kB / 0.5995 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.634e-05/0.1708, allocations: 11.97 kB / 0.5995 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.989e-05/0.1708, allocations: 37.64 kB / 0.5996 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002117/0.171, allocations: 92.03 kB / 0.5997 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1711, allocations: 4 kB / 0.5997 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.196e-06/0.1711, allocations: 4 kB / 0.5997 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.1711, allocations: 0 / 0.5997 GB, free: 5.402 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000567/0.1717, allocations: 391.2 kB / 0.6 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.1717, allocations: 16.03 kB / 0.6001 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.223e-05/0.1718, allocations: 30.56 kB / 0.6001 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.863e-05/0.1718, allocations: 11.86 kB / 0.6001 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.1719, allocations: 171 kB / 0.6003 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.172, allocations: 0 / 0.6003 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.167e-06/0.172, allocations: 0 / 0.6003 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002836/0.1723, allocations: 93.58 kB / 0.6003 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.1723, allocations: 0 / 0.6003 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.1723, allocations: 0 / 0.6003 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.1723, allocations: 0 / 0.6003 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003086/0.1726, allocations: 95.88 kB / 0.6004 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003919/0.173, allocations: 280.8 kB / 0.6007 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002102/0.1732, allocations: 70.48 kB / 0.6008 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001793/0.1734, allocations: 89.19 kB / 0.6009 GB, free: 4 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.1735, allocations: 34.55 kB / 0.6009 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 2.535e-06/0.1735, allocations: 7.984 kB / 0.6009 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005611/0.174, allocations: 165.5 kB / 0.6011 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.727e-05/0.1741, allocations: 51.41 kB / 0.6011 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.347e-05/0.1742, allocations: 121.8 kB / 0.6012 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.1742, allocations: 33.58 kB / 0.6013 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.313e-05/0.1743, allocations: 92.08 kB / 0.6013 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.112e-05/0.1743, allocations: 15.84 kB / 0.6014 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-06/0.1743, allocations: 0 / 0.6014 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.1744, allocations: 318.8 kB / 0.6017 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001504/0.1746, allocations: 35.97 kB / 0.6017 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001363/0.1747, allocations: 47.95 kB / 0.6017 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001385/0.1749, allocations: 43.97 kB / 0.6018 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1749, allocations: 0 / 0.6018 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003241/0.1752, allocations: 121.5 kB / 0.6019 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.1752, allocations: 4 kB / 0.6019 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.1752, allocations: 0 / 0.6019 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.1752, allocations: 3.953 kB / 0.6019 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.1754, allocations: 27.97 kB / 0.6019 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.1754, allocations: 0 / 0.6019 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.333e-05/0.1755, allocations: 19.98 kB / 0.602 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.1755, allocations: 0 / 0.602 GB, free: 2.816 MB / 0.4981 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 (3): * Single equations (assignments): 3 * 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.235e-05/0.1756, allocations: 113.8 kB / 0.6021 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.598e-05/0.1756, allocations: 7.906 kB / 0.6021 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000371/0.176, allocations: 125.5 kB / 0.6022 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.176, allocations: 7.953 kB / 0.6022 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.176, allocations: 0 / 0.6022 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.176, allocations: 7.984 kB / 0.6022 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001684/0.1762, allocations: 169.7 kB / 0.6024 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.1762, allocations: 0 / 0.6024 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.513e-05/0.1763, allocations: 23.97 kB / 0.6024 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.1763, allocations: 0 / 0.6024 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.1763, allocations: 4 kB / 0.6024 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.1763, allocations: 0 / 0.6024 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.1763, allocations: 3.953 kB / 0.6024 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003641/0.1767, allocations: 223.4 kB / 0.6026 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.805e-05/0.1768, allocations: 81.02 kB / 0.6027 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.733e-05/0.1768, allocations: 3.984 kB / 0.6027 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.1769, allocations: 19.98 kB / 0.6027 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.525e-05/0.1769, allocations: 4 kB / 0.6027 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.177, allocations: 3.953 kB / 0.6027 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.55e-05/0.177, allocations: 99.2 kB / 0.6028 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.177, allocations: 0 / 0.6028 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002763/0.1773, allocations: 35.92 kB / 0.6028 GB, free: 1.793 MB / 0.4981 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 (3): * Single equations (assignments): 3 * 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.0007393/0.178, allocations: 0.7831 MB / 0.6036 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003507/0.1784, allocations: 95.89 kB / 0.6037 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.1784, allocations: 4 kB / 0.6037 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001524/0.1786, allocations: 43.97 kB / 0.6037 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002094/0.1788, allocations: 7.984 kB / 0.6038 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/0.1799, allocations: 0.5744 MB / 0.6043 GB, free: 224 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3271/0.5069, allocations: 0.6831 MB / 0.605 GB, free: 40.35 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.448e-05/0.5071, allocations: 4.922 kB / 0.605 GB, free: 40.35 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.583e-05/0.5071, allocations: 16.94 kB / 0.605 GB, free: 40.34 MB / 0.4981 GB Notification: Performance of SimCode: time 1.323e-06/0.5071, allocations: 0 / 0.605 GB, free: 40.34 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01139/0.5185, allocations: 2.104 MB / 0.6071 GB, free: 40.25 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001353/0.5187, allocations: 194.5 kB / 0.6072 GB, free: 40.01 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.774/2.293, allocations: 0 / 0.6072 GB, free: 40.01 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) Environment - environmentSimulation: