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.7415/0.7415, allocations: 127.3 MB / 139.8 MB, free: 15.45 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001027/0.001027, allocations: 188.7 kB / 169.7 MB, free: 1.742 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.568/1.568, allocations: 205.1 MB / 404.5 MB, free: 1.668 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.0009667/0.0009667, allocations: 89.23 kB / 481.8 MB, free: 4.316 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.094e-05/4.107e-05, allocations: 11.97 kB / 0.5533 GB, free: 54.74 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1508, allocations: 76.76 MB / 0.6283 GB, free: 9.926 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5347/0.6856, allocations: 104 MB / 0.7298 GB, free: 9.383 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002609/0.6859, allocations: 81.45 kB / 0.7299 GB, free: 9.336 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006255/0.6922, allocations: 1.992 MB / 0.7318 GB, free: 7.586 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.6922, allocations: 4 kB / 0.7318 GB, free: 7.582 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.6922, allocations: 0 / 0.7318 GB, free: 7.582 MB / 490.7 MB 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.0003924/0.6926, allocations: 349.9 kB / 0.7322 GB, free: 7.199 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.404e-05/0.6927, allocations: 8.031 kB / 0.7322 GB, free: 7.191 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.341e-05/0.6928, allocations: 42.36 kB / 0.7322 GB, free: 7.145 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.91e-05/0.6928, allocations: 7.938 kB / 0.7322 GB, free: 7.137 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.693, allocations: 163 kB / 0.7324 GB, free: 6.938 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.428e-05/0.6931, allocations: 29.7 kB / 0.7324 GB, free: 6.902 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.6931, allocations: 0 / 0.7324 GB, free: 6.902 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.6932, allocations: 44.44 kB / 0.7324 GB, free: 6.855 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.6933, allocations: 0 / 0.7324 GB, free: 6.855 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.6933, allocations: 0 / 0.7324 GB, free: 6.855 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.6933, allocations: 3.953 kB / 0.7324 GB, free: 6.852 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.792e-05/0.6933, allocations: 7.188 kB / 0.7324 GB, free: 6.848 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001951/0.6935, allocations: 158.4 kB / 0.7326 GB, free: 6.648 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.076e-05/0.6936, allocations: 30.45 kB / 0.7326 GB, free: 6.613 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.434e-05/0.6936, allocations: 9.516 kB / 0.7326 GB, free: 6.602 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001851/0.6938, allocations: 93.19 kB / 0.7327 GB, free: 6.492 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/0.6939, allocations: 34.44 kB / 0.7328 GB, free: 6.453 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 1.563e-06/0.6939, allocations: 0 / 0.7328 GB, free: 6.453 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001668/0.6941, allocations: 45.59 kB / 0.7328 GB, free: 6.402 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.611e-05/0.6941, allocations: 51.41 kB / 0.7329 GB, free: 6.34 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.81e-05/0.6942, allocations: 99.08 kB / 0.7329 GB, free: 6.242 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/0.6942, allocations: 29.7 kB / 0.733 GB, free: 6.207 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.438e-05/0.6943, allocations: 80.14 kB / 0.7331 GB, free: 6.125 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.635e-05/0.6943, allocations: 11.83 kB / 0.7331 GB, free: 6.113 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-06/0.6943, allocations: 3.812 kB / 0.7331 GB, free: 6.113 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.6945, allocations: 314.8 kB / 0.7334 GB, free: 5.797 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.837e-05/0.6945, allocations: 3.938 kB / 0.7334 GB, free: 5.793 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.251e-05/0.6945, allocations: 4 kB / 0.7334 GB, free: 5.789 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.616e-05/0.6946, allocations: 7.938 kB / 0.7334 GB, free: 5.785 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.6946, allocations: 0 / 0.7334 GB, free: 5.785 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.6e-05/0.6947, allocations: 46.02 kB / 0.7334 GB, free: 5.734 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.6947, allocations: 4 kB / 0.7334 GB, free: 5.73 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.6947, allocations: 0 / 0.7334 GB, free: 5.73 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.6947, allocations: 3.938 kB / 0.7334 GB, free: 5.727 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.496e-05/0.6948, allocations: 12.67 kB / 0.7334 GB, free: 5.719 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.6948, allocations: 3.984 kB / 0.7334 GB, free: 5.715 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.503e-05/0.6949, allocations: 3.984 kB / 0.7335 GB, free: 5.711 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.6949, allocations: 3.953 kB / 0.7335 GB, free: 5.707 MB / 490.7 MB 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 8.727e-05/0.695, allocations: 108.9 kB / 0.7336 GB, free: 5.594 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.338e-05/0.695, allocations: 4 kB / 0.7336 GB, free: 5.59 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001478/0.6952, allocations: 53 kB / 0.7336 GB, free: 5.535 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.6952, allocations: 0 / 0.7336 GB, free: 5.535 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.6952, allocations: 4 kB / 0.7336 GB, free: 5.531 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.6952, allocations: 0 / 0.7336 GB, free: 5.531 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001336/0.6954, allocations: 161.3 kB / 0.7338 GB, free: 5.328 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.6954, allocations: 0 / 0.7338 GB, free: 5.328 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.528e-05/0.6954, allocations: 7.984 kB / 0.7338 GB, free: 5.32 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.6954, allocations: 0 / 0.7338 GB, free: 5.32 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.6954, allocations: 7.125 kB / 0.7338 GB, free: 5.316 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.6954, allocations: 4 kB / 0.7338 GB, free: 5.312 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.6955, allocations: 0 / 0.7338 GB, free: 5.312 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001025/0.6956, allocations: 72.27 kB / 0.7339 GB, free: 5.227 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.646e-05/0.6956, allocations: 77.11 kB / 0.7339 GB, free: 5.133 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.6956, allocations: 2.75 kB / 0.7339 GB, free: 5.133 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.068e-05/0.6957, allocations: 4 kB / 0.7339 GB, free: 5.129 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.939e-05/0.6957, allocations: 3.984 kB / 0.7339 GB, free: 5.125 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.6957, allocations: 0 / 0.7339 GB, free: 5.125 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.811e-05/0.6958, allocations: 83.28 kB / 0.734 GB, free: 5.043 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6958, allocations: 0 / 0.734 GB, free: 5.043 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002633/0.6961, allocations: 31.19 kB / 0.7341 GB, free: 5.016 MB / 490.7 MB 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.0005149/0.6966, allocations: 0.651 MB / 0.7347 GB, free: 4.344 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 8.291e-05/0.6967, allocations: 16 kB / 0.7347 GB, free: 4.328 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.6967, allocations: 0 / 0.7347 GB, free: 4.328 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.464e-05/0.6967, allocations: 11.92 kB / 0.7347 GB, free: 4.32 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001785/0.6969, allocations: 4 kB / 0.7347 GB, free: 4.316 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003418/0.6973, allocations: 103 kB / 0.7348 GB, free: 4.184 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002408/0.6975, allocations: 0.6809 MB / 0.7355 GB, free: 3.477 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.717e-05/0.6976, allocations: 4.625 kB / 0.7355 GB, free: 3.473 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.514e-05/0.6976, allocations: 11.44 kB / 0.7355 GB, free: 3.461 MB / 490.7 MB Notification: Performance of SimCode: time 7.51e-07/0.6976, allocations: 0 / 0.7355 GB, free: 3.461 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01403/0.7117, allocations: 1.507 MB / 0.737 GB, free: 2.082 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002079/0.7119, allocations: 178.2 kB / 0.7371 GB, free: 1.852 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.563/2.275, allocations: 0 / 0.7371 GB, free: 1.852 MB / 490.7 MB (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)