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/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.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/BuildSysPro 3.5.0/package.mo): time 0.7422/0.7422, allocations: 128.7 MB / 143.7 MB, free: 2.32 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.001105/0.001104, allocations: 184 kB / 173.7 MB, free: 6.148 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.473/1.473, allocations: 205.4 MB / 409 MB, free: 10.52 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.0009317/0.0009316, allocations: 96.16 kB / 486.6 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003318/0.0003317, allocations: 13.55 kB / 0.5604 GB, free: 97.51 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1503, allocations: 76.77 MB / 0.6354 GB, free: 30.49 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1518/0.3022, allocations: 104.7 MB / 0.7376 GB, free: 5.66 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002265/0.3024, allocations: 79.95 kB / 0.7377 GB, free: 5.582 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.008321/0.3108, allocations: 2.555 MB / 0.7402 GB, free: 3.016 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3108, allocations: 0 / 0.7402 GB, free: 3.016 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.173e-06/0.3108, allocations: 0 / 0.7402 GB, free: 3.016 MB / 0.5105 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.000562/0.3114, allocations: 407.1 kB / 0.7406 GB, free: 2.57 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.3115, allocations: 11.97 kB / 0.7406 GB, free: 2.559 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.699e-05/0.3115, allocations: 34.55 kB / 0.7406 GB, free: 2.516 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.267e-05/0.3116, allocations: 11.86 kB / 0.7406 GB, free: 2.504 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.3117, allocations: 171 kB / 0.7408 GB, free: 2.297 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.3117, allocations: 7.938 kB / 0.7408 GB, free: 2.289 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.379e-05/0.3117, allocations: 4 kB / 0.7408 GB, free: 2.285 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002716/0.312, allocations: 89.62 kB / 0.7409 GB, free: 2.191 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.312, allocations: 0 / 0.7409 GB, free: 2.191 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.3121, allocations: 0 / 0.7409 GB, free: 2.191 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.3121, allocations: 0 / 0.7409 GB, free: 2.191 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003113/0.3124, allocations: 99.88 kB / 0.741 GB, free: 2.094 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004482/0.3128, allocations: 280.7 kB / 0.7413 GB, free: 1.77 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002154/0.3131, allocations: 62.55 kB / 0.7413 GB, free: 1.699 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001879/0.3133, allocations: 97.19 kB / 0.7414 GB, free: 1.586 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/0.3133, allocations: 34.52 kB / 0.7415 GB, free: 1.543 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.3133, allocations: 0 / 0.7415 GB, free: 1.543 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0005851/0.3139, allocations: 173.4 kB / 0.7416 GB, free: 1.367 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.628e-05/0.314, allocations: 53.66 kB / 0.7417 GB, free: 1.305 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/0.3141, allocations: 109 kB / 0.7418 GB, free: 1.191 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.3141, allocations: 25.7 kB / 0.7418 GB, free: 1.16 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.487e-05/0.3142, allocations: 84.14 kB / 0.7419 GB, free: 1.074 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.662e-05/0.3142, allocations: 19.83 kB / 0.7419 GB, free: 1.055 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-06/0.3142, allocations: 0 / 0.7419 GB, free: 1.055 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.3144, allocations: 310.8 kB / 0.7422 GB, free: 0.7422 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001554/0.3145, allocations: 47.95 kB / 0.7422 GB, free: 0.6953 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001471/0.3147, allocations: 43.97 kB / 0.7423 GB, free: 0.6523 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001386/0.3148, allocations: 39.97 kB / 0.7423 GB, free: 0.6133 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3148, allocations: 0 / 0.7423 GB, free: 0.6133 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003312/0.3152, allocations: 125.5 kB / 0.7424 GB, free: 496 kB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.3152, allocations: 4 kB / 0.7424 GB, free: 492 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.3152, allocations: 0 / 0.7424 GB, free: 492 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.3152, allocations: 11.89 kB / 0.7425 GB, free: 480 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/0.3154, allocations: 19.98 kB / 0.7425 GB, free: 460 kB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.3154, allocations: 0 / 0.7425 GB, free: 460 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.689e-05/0.3155, allocations: 15.98 kB / 0.7425 GB, free: 444 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.531e-05/0.3155, allocations: 11.98 kB / 0.7425 GB, free: 432 kB / 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 () * 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 8.022e-05/0.3156, allocations: 117.8 kB / 0.7426 GB, free: 304 kB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.706e-05/0.3156, allocations: 8.234 kB / 0.7426 GB, free: 296 kB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003928/0.316, allocations: 133.4 kB / 0.7427 GB, free: 148 kB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.744e-06/0.3161, allocations: 7.953 kB / 0.7428 GB, free: 140 kB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.3161, allocations: 0 / 0.7428 GB, free: 140 kB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.3161, allocations: 0 / 0.7428 GB, free: 140 kB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3271/0.6432, allocations: 164.2 kB / 0.7429 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.6432, allocations: 0 / 0.7429 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001853/0.6434, allocations: 26.38 kB / 0.7429 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.716e-06/0.6434, allocations: 0.5 kB / 0.7429 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.6434, allocations: 1.094 kB / 0.7429 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.6435, allocations: 1.734 kB / 0.7429 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.666e-06/0.6435, allocations: 6.156 kB / 0.7429 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004479/0.6439, allocations: 214.8 kB / 0.7432 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.427e-05/0.644, allocations: 82.36 kB / 0.7432 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.047e-05/0.644, allocations: 1.062 kB / 0.7432 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/0.6441, allocations: 19.72 kB / 0.7432 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.412e-05/0.6442, allocations: 9.469 kB / 0.7433 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.6442, allocations: 2.906 kB / 0.7433 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 5.943e-05/0.6443, allocations: 92.23 kB / 0.7433 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6443, allocations: 0 / 0.7433 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003643/0.6447, allocations: 37.98 kB / 0.7434 GB, free: 108.5 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 () * 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.0007504/0.6454, allocations: 0.7855 MB / 0.7442 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003714/0.6458, allocations: 94.8 kB / 0.7442 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.6458, allocations: 3.906 kB / 0.7442 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001471/0.646, allocations: 47.78 kB / 0.7443 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002289/0.6462, allocations: 10.75 kB / 0.7443 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.6474, allocations: 0.5817 MB / 0.7449 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001285/0.6475, allocations: 0.688 MB / 0.7455 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.629e-05/0.6475, allocations: 5.594 kB / 0.7455 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.588e-05/0.6476, allocations: 15.72 kB / 0.7456 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of SimCode: time 2.3e-07/0.6476, allocations: 0 / 0.7456 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01474/0.6624, allocations: 2.057 MB / 0.7476 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000167/0.6626, allocations: 185.8 kB / 0.7477 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.741/2.403, allocations: 4 kB / 0.7478 GB, free: 106.4 MB / 0.5105 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)