Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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.Functions.Examples.phi_pTX,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_Examples_phi_pTX",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.8444/0.8444, allocations: 127.4 MB / 134.9 MB, free: 3.438 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.001023/0.001023, allocations: 177.8 kB / 164.6 MB, free: 11.64 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.514/1.514, allocations: 205.2 MB / 399.5 MB, free: 13.59 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.000832/0.0008319, allocations: 100.9 kB / 476.7 MB, free: 1.555 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.709e-05/2.713e-05, allocations: 5.969 kB / 0.5467 GB, free: 95.45 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1607/0.1608, allocations: 76.76 MB / 0.6216 GB, free: 43.07 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1399/0.3007, allocations: 103.3 MB / 0.7225 GB, free: 3.629 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002829/0.3011, allocations: 87.94 kB / 0.7226 GB, free: 3.543 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.00655/0.3076, allocations: 1.987 MB / 0.7245 GB, free: 1.551 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.384e-06/0.3077, allocations: 0 / 0.7245 GB, free: 1.551 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.536e-06/0.3077, allocations: 4 kB / 0.7245 GB, free: 1.547 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004462/0.3082, allocations: 358.4 kB / 0.7249 GB, free: 1.152 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.242e-05/0.3082, allocations: 8.031 kB / 0.7249 GB, free: 1.145 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.077e-05/0.3083, allocations: 7.953 kB / 0.7249 GB, free: 1.137 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001739/0.3085, allocations: 159.1 kB / 0.725 GB, free: 0.9414 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.65e-05/0.3086, allocations: 33.69 kB / 0.7251 GB, free: 0.9023 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.113e-05/0.3086, allocations: 0 / 0.7251 GB, free: 0.9023 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.058e-05/0.3087, allocations: 8 kB / 0.7251 GB, free: 0.8945 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.197e-05/0.3087, allocations: 29.7 kB / 0.7251 GB, free: 0.8594 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.3088, allocations: 4 kB / 0.7251 GB, free: 0.8555 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.3088, allocations: 0 / 0.7251 GB, free: 0.8555 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.3088, allocations: 3.953 kB / 0.7251 GB, free: 0.8516 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001778/0.309, allocations: 134.2 kB / 0.7252 GB, free: 0.6836 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.551e-05/0.309, allocations: 30.52 kB / 0.7253 GB, free: 0.6445 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.549e-05/0.3091, allocations: 8.859 kB / 0.7253 GB, free: 0.6328 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001949/0.3093, allocations: 97.17 kB / 0.7254 GB, free: 0.5195 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/0.3093, allocations: 34.55 kB / 0.7254 GB, free: 488 kB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.363e-06/0.3093, allocations: 0 / 0.7254 GB, free: 488 kB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0003381/0.3097, allocations: 61.58 kB / 0.7255 GB, free: 420 kB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.3097, allocations: 55.41 kB / 0.7255 GB, free: 352 kB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.813e-05/0.3098, allocations: 97.02 kB / 0.7256 GB, free: 248 kB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.3098, allocations: 25.7 kB / 0.7256 GB, free: 216 kB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.6e-05/0.3099, allocations: 80.14 kB / 0.7257 GB, free: 132 kB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.104e-05/0.3099, allocations: 15.84 kB / 0.7257 GB, free: 116 kB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.122e-06/0.3099, allocations: 0 / 0.7257 GB, free: 116 kB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.3101, allocations: 322.7 kB / 0.726 GB, free: 15.79 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.48e-05/0.3101, allocations: 4 kB / 0.726 GB, free: 15.79 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.024e-05/0.3101, allocations: 2.156 kB / 0.726 GB, free: 15.79 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000183/0.3103, allocations: 31.95 kB / 0.7261 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3103, allocations: 0 / 0.7261 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002149/0.3106, allocations: 61.67 kB / 0.7261 GB, free: 15.69 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.3106, allocations: 4 kB / 0.7261 GB, free: 15.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.3106, allocations: 4 kB / 0.7261 GB, free: 15.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.3106, allocations: 3.984 kB / 0.7261 GB, free: 15.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.874e-05/0.3107, allocations: 8 kB / 0.7262 GB, free: 15.67 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.3107, allocations: 0 / 0.7262 GB, free: 15.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.866e-05/0.3107, allocations: 0 / 0.7262 GB, free: 15.67 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.3107, allocations: 0 / 0.7262 GB, free: 15.67 MB / 0.5105 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 () * 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.892e-05/0.3108, allocations: 108.9 kB / 0.7263 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002128/0.3111, allocations: 69.59 kB / 0.7263 GB, free: 15.48 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.027e-06/0.3111, allocations: 11.91 kB / 0.7263 GB, free: 15.47 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002888/0.3114, allocations: 65.78 kB / 0.7264 GB, free: 15.4 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.3114, allocations: 0 / 0.7264 GB, free: 15.4 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.3114, allocations: 3.984 kB / 0.7264 GB, free: 15.39 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.3114, allocations: 4 kB / 0.7264 GB, free: 15.39 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.859e-05/0.3115, allocations: 130.2 kB / 0.7265 GB, free: 15.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3115, allocations: 0 / 0.7265 GB, free: 15.23 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.305e-05/0.3116, allocations: 11.98 kB / 0.7265 GB, free: 15.21 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.3116, allocations: 0 / 0.7265 GB, free: 15.21 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.3116, allocations: 7.938 kB / 0.7265 GB, free: 15.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.3116, allocations: 4 kB / 0.7266 GB, free: 15.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.3116, allocations: 0 / 0.7266 GB, free: 15.2 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002518/0.3119, allocations: 93.05 kB / 0.7266 GB, free: 15.09 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.574e-05/0.3119, allocations: 85.05 kB / 0.7267 GB, free: 14.99 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.215e-05/0.3119, allocations: 0 / 0.7267 GB, free: 14.99 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.186e-05/0.312, allocations: 3.984 kB / 0.7267 GB, free: 14.99 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.39e-05/0.312, allocations: 0 / 0.7267 GB, free: 14.99 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/0.312, allocations: 7.938 kB / 0.7267 GB, free: 14.98 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.753e-05/0.3121, allocations: 79.75 kB / 0.7268 GB, free: 14.9 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3121, allocations: 3.938 kB / 0.7268 GB, free: 14.9 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002195/0.3123, allocations: 31.98 kB / 0.7268 GB, free: 14.87 MB / 0.5105 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 () * 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.0006749/0.313, allocations: 0.6738 MB / 0.7275 GB, free: 14.16 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 8.006e-05/0.3131, allocations: 16.02 kB / 0.7275 GB, free: 14.15 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3131, allocations: 0 / 0.7275 GB, free: 14.15 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.026e-05/0.3131, allocations: 12 kB / 0.7275 GB, free: 14.14 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001573/0.3133, allocations: 4.688 kB / 0.7275 GB, free: 14.14 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003104/0.3136, allocations: 97.53 kB / 0.7276 GB, free: 14 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000279/0.3139, allocations: 0.6768 MB / 0.7283 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 4.186e-05/0.3139, allocations: 8 kB / 0.7283 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.873e-05/0.314, allocations: 11.44 kB / 0.7283 GB, free: 13.28 MB / 0.5105 GB Notification: Performance of SimCode: time 2.51e-07/0.314, allocations: 0 / 0.7283 GB, free: 13.28 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02032/0.3343, allocations: 1.207 MB / 0.7295 GB, free: 12.08 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001973/0.3346, allocations: 159.2 kB / 0.7296 GB, free: 11.89 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.495/1.83, allocations: 0 / 0.7296 GB, free: 11.89 MB / 0.5105 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)