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.7408/0.7408, 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.001172/0.001172, allocations: 180.4 kB / 173.7 MB, free: 6.113 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.697/1.697, 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.0009596/0.0009596, allocations: 87.25 kB / 486.6 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003403/0.0003403, allocations: 10.66 kB / 0.5604 GB, free: 97.48 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.1741, allocations: 76.78 MB / 0.6354 GB, free: 30.44 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1495/0.3237, allocations: 104.1 MB / 0.737 GB, free: 6.238 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002797/0.324, allocations: 83.94 kB / 0.7371 GB, free: 6.156 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.006322/0.3303, allocations: 2.002 MB / 0.7391 GB, free: 4.148 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.034e-06/0.3304, allocations: 0 / 0.7391 GB, free: 4.148 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.132e-06/0.3304, allocations: 0 / 0.7391 GB, free: 4.148 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003778/0.3308, allocations: 363.3 kB / 0.7394 GB, free: 3.746 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/0.3308, allocations: 12.03 kB / 0.7394 GB, free: 3.734 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.261e-05/0.3309, allocations: 30.56 kB / 0.7395 GB, free: 3.695 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.196e-05/0.3309, allocations: 7.859 kB / 0.7395 GB, free: 3.688 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001488/0.3311, allocations: 167.1 kB / 0.7396 GB, free: 3.484 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.493e-05/0.3312, allocations: 33.64 kB / 0.7397 GB, free: 3.445 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.359e-05/0.3312, allocations: 8 kB / 0.7397 GB, free: 3.438 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/0.3313, allocations: 41.56 kB / 0.7397 GB, free: 3.391 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.3314, allocations: 0 / 0.7397 GB, free: 3.391 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.318e-06/0.3314, allocations: 0 / 0.7397 GB, free: 3.391 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.3314, allocations: 3.953 kB / 0.7397 GB, free: 3.387 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.673e-05/0.3315, allocations: 19.97 kB / 0.7397 GB, free: 3.367 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001916/0.3317, allocations: 153.7 kB / 0.7399 GB, free: 3.168 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001084/0.3318, allocations: 34.52 kB / 0.7399 GB, free: 3.125 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001952/0.332, allocations: 89.19 kB / 0.74 GB, free: 3.02 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.332, allocations: 34.56 kB / 0.74 GB, free: 2.977 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.332, allocations: 0 / 0.74 GB, free: 2.977 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.000238/0.3323, allocations: 53.67 kB / 0.7401 GB, free: 2.918 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.237e-05/0.3323, allocations: 51.41 kB / 0.7401 GB, free: 2.855 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.661e-05/0.3324, allocations: 101 kB / 0.7402 GB, free: 2.75 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.3324, allocations: 25.7 kB / 0.7402 GB, free: 2.719 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.431e-05/0.3325, allocations: 80.14 kB / 0.7403 GB, free: 2.637 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.879e-05/0.3325, allocations: 7.906 kB / 0.7403 GB, free: 2.629 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-06/0.3325, allocations: 0 / 0.7403 GB, free: 2.629 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.3327, allocations: 318.8 kB / 0.7406 GB, free: 2.309 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.503e-05/0.3327, allocations: 11.92 kB / 0.7406 GB, free: 2.297 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.081e-05/0.3328, allocations: 4 kB / 0.7406 GB, free: 2.293 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.449e-05/0.3328, allocations: 12 kB / 0.7407 GB, free: 2.281 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3328, allocations: 0 / 0.7407 GB, free: 2.281 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001193/0.333, allocations: 57.58 kB / 0.7407 GB, free: 2.219 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.333, allocations: 4 kB / 0.7407 GB, free: 2.215 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.333, allocations: 0 / 0.7407 GB, free: 2.215 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.333, allocations: 0 / 0.7407 GB, free: 2.215 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.288e-05/0.3331, allocations: 8 kB / 0.7407 GB, free: 2.207 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.3331, allocations: 3.984 kB / 0.7407 GB, free: 2.203 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.101e-05/0.3332, allocations: 3.938 kB / 0.7407 GB, free: 2.199 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.228e-06/0.3332, allocations: 7.984 kB / 0.7407 GB, free: 2.191 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 () * 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 0.0001109/0.3333, allocations: 115.9 kB / 0.7408 GB, free: 2.07 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.07e-05/0.3333, allocations: 0 / 0.7408 GB, free: 2.07 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001783/0.3335, allocations: 61.11 kB / 0.7409 GB, free: 2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.3335, allocations: 4 kB / 0.7409 GB, free: 1.996 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.3335, allocations: 0 / 0.7409 GB, free: 1.996 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.3335, allocations: 0 / 0.7409 GB, free: 1.996 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000126/0.3337, allocations: 161.6 kB / 0.7411 GB, free: 1.789 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.3337, allocations: 4 kB / 0.7411 GB, free: 1.785 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.965e-05/0.3337, allocations: 4 kB / 0.7411 GB, free: 1.781 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.3337, allocations: 0 / 0.7411 GB, free: 1.781 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.3337, allocations: 0 / 0.7411 GB, free: 1.781 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.364e-06/0.3338, allocations: 8 kB / 0.7411 GB, free: 1.773 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.3338, allocations: 4.5 kB / 0.7411 GB, free: 1.77 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001539/0.3339, allocations: 77 kB / 0.7412 GB, free: 1.676 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.532e-05/0.334, allocations: 89.05 kB / 0.7412 GB, free: 1.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/0.334, allocations: 4 kB / 0.7412 GB, free: 1.566 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.854e-05/0.3341, allocations: 4 kB / 0.7412 GB, free: 1.562 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.102e-05/0.3341, allocations: 7.984 kB / 0.7413 GB, free: 1.555 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.3341, allocations: 0 / 0.7413 GB, free: 1.555 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.725e-05/0.3342, allocations: 79.28 kB / 0.7413 GB, free: 1.477 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3342, allocations: 0 / 0.7413 GB, free: 1.477 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002305/0.3344, allocations: 31.92 kB / 0.7414 GB, free: 1.445 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.000534/0.3349, allocations: 0.6512 MB / 0.742 GB, free: 0.7617 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001464/0.3351, allocations: 19.98 kB / 0.742 GB, free: 0.7422 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.3351, allocations: 0 / 0.742 GB, free: 0.7422 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.139e-05/0.3352, allocations: 8 kB / 0.742 GB, free: 0.7344 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001537/0.3353, allocations: 15.98 kB / 0.742 GB, free: 0.7188 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004122/0.3357, allocations: 184 kB / 0.7422 GB, free: 0.5 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3105/0.6463, allocations: 0.6786 MB / 0.7429 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 7.915e-05/0.6464, allocations: 2.312 kB / 0.7429 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.95e-05/0.6465, allocations: 12.66 kB / 0.7429 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of SimCode: time 1.263e-06/0.6465, allocations: 0 / 0.7429 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01298/0.6595, allocations: 1.503 MB / 0.7444 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000164/0.6597, allocations: 196.1 kB / 0.7445 GB, free: 108 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.573/2.233, allocations: 0 / 0.7445 GB, free: 108 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)