Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 183.9 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5464/0.5464, allocations: 91.98 MB / 108.5 MB, free: 13.09 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.573/1.573, allocations: 223.2 MB / 354.3 MB, free: 12.2 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001049/0.001048, allocations: 103.1 kB / 427.4 MB, free: 3.938 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003981/0.0003981, allocations: 12 kB / 0.4983 GB, free: 42.21 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1988/0.1993, allocations: 72.3 MB / 0.5689 GB, free: 1.848 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5365/0.7358, allocations: 101.8 MB / 0.6684 GB, free: 2.605 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002551/0.7361, allocations: 79.94 kB / 0.6685 GB, free: 2.527 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004222/0.7404, allocations: 1.516 MB / 0.6699 GB, free: 1.027 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.7404, allocations: 0 / 0.6699 GB, free: 1.027 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.281e-06/0.7404, allocations: 4 kB / 0.6699 GB, free: 1.023 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003453/0.7408, allocations: 339.8 kB / 0.6703 GB, free: 0.6445 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.7408, allocations: 16.03 kB / 0.6703 GB, free: 0.6289 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4e-05/0.7409, allocations: 30.56 kB / 0.6703 GB, free: 0.5898 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002024/0.7411, allocations: 23.94 kB / 0.6703 GB, free: 0.5664 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.7412, allocations: 163.1 kB / 0.6705 GB, free: 376 kB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.7412, allocations: 0 / 0.6705 GB, free: 376 kB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.124e-05/0.7412, allocations: 7.938 kB / 0.6705 GB, free: 368 kB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001184/0.7414, allocations: 37.69 kB / 0.6705 GB, free: 324 kB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.7414, allocations: 0 / 0.6705 GB, free: 324 kB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.7414, allocations: 4 kB / 0.6705 GB, free: 320 kB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.7414, allocations: 13.27 kB / 0.6705 GB, free: 308 kB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.135e-05/0.7415, allocations: 12 kB / 0.6706 GB, free: 296 kB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000172/0.7416, allocations: 157.7 kB / 0.6707 GB, free: 88 kB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002065/0.7437, allocations: 274.4 kB / 0.671 GB, free: 15.81 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.049e-05/0.7437, allocations: 0 / 0.671 GB, free: 15.81 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/0.7438, allocations: 38.62 kB / 0.671 GB, free: 15.76 MB / 474.7 MB Notification: Performance of pre-optimization done (n=4): time 9.21e-07/0.7438, allocations: 0 / 0.671 GB, free: 15.76 MB / 474.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001862/0.744, allocations: 61.69 kB / 0.6711 GB, free: 15.7 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.505e-05/0.744, allocations: 55.41 kB / 0.6711 GB, free: 15.63 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.538e-05/0.7441, allocations: 85 kB / 0.6712 GB, free: 15.54 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.7441, allocations: 33.7 kB / 0.6712 GB, free: 15.5 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.49e-05/0.7442, allocations: 80.14 kB / 0.6713 GB, free: 15.42 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.515e-05/0.7442, allocations: 15.73 kB / 0.6713 GB, free: 15.4 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.809e-06/0.7442, allocations: 0 / 0.6713 GB, free: 15.4 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.7443, allocations: 318.7 kB / 0.6716 GB, free: 15.08 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.403e-05/0.7444, allocations: 11.98 kB / 0.6716 GB, free: 15.07 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.709e-05/0.7444, allocations: 16.06 kB / 0.6717 GB, free: 15.05 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.845e-05/0.7444, allocations: 12 kB / 0.6717 GB, free: 15.04 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.7444, allocations: 0 / 0.6717 GB, free: 15.04 MB / 474.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.625e-05/0.7445, allocations: 53.69 kB / 0.6717 GB, free: 14.98 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.7445, allocations: 4 kB / 0.6717 GB, free: 14.98 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.7446, allocations: 0 / 0.6717 GB, free: 14.98 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.7446, allocations: 0 / 0.6717 GB, free: 14.98 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.52e-05/0.7446, allocations: 8 kB / 0.6717 GB, free: 14.97 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.7447, allocations: 0 / 0.6717 GB, free: 14.97 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.284e-05/0.7447, allocations: 3.984 kB / 0.6717 GB, free: 14.97 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-06/0.7447, allocations: 0 / 0.6717 GB, free: 14.97 MB / 474.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.467e-05/0.7448, allocations: 125.7 kB / 0.6719 GB, free: 14.84 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.426e-06/0.7448, allocations: 0 / 0.6719 GB, free: 14.84 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.526e-05/0.7448, allocations: 8.75 kB / 0.6719 GB, free: 14.83 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.7449, allocations: 0 / 0.6719 GB, free: 14.83 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.7449, allocations: 0 / 0.6719 GB, free: 14.83 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.7449, allocations: 4 kB / 0.6719 GB, free: 14.82 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001249/0.745, allocations: 161.5 kB / 0.672 GB, free: 14.62 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.745, allocations: 0 / 0.672 GB, free: 14.62 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.942e-05/0.7451, allocations: 4 kB / 0.672 GB, free: 14.61 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.7451, allocations: 4 kB / 0.672 GB, free: 14.61 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.7451, allocations: 0 / 0.672 GB, free: 14.61 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.751e-06/0.7451, allocations: 7.938 kB / 0.672 GB, free: 14.61 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.7451, allocations: 7.969 kB / 0.672 GB, free: 14.6 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000113/0.7452, allocations: 81.08 kB / 0.6721 GB, free: 14.5 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.048e-05/0.7453, allocations: 77.11 kB / 0.6722 GB, free: 14.41 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.226e-05/0.7453, allocations: 7.875 kB / 0.6722 GB, free: 14.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.622e-05/0.7454, allocations: 4 kB / 0.6722 GB, free: 14.39 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.545e-05/0.7454, allocations: 7.984 kB / 0.6722 GB, free: 14.39 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.7454, allocations: 0 / 0.6722 GB, free: 14.39 MB / 474.7 MB Notification: Performance of sorting global known variables: time 3.049e-05/0.7455, allocations: 79.28 kB / 0.6723 GB, free: 14.31 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7455, allocations: 0 / 0.6723 GB, free: 14.31 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0001791/0.7456, allocations: 4 kB / 0.6723 GB, free: 14.3 MB / 474.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0004067/0.7461, allocations: 0.6129 MB / 0.6729 GB, free: 13.66 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 9.14e-05/0.7462, allocations: 35.86 kB / 0.6729 GB, free: 13.63 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.7462, allocations: 0 / 0.6729 GB, free: 13.63 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 2.162e-05/0.7462, allocations: 12.14 kB / 0.6729 GB, free: 13.62 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001951/0.7464, allocations: 7.984 kB / 0.6729 GB, free: 13.61 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004251/0.7468, allocations: 174.8 kB / 0.6731 GB, free: 13.39 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002513/0.7471, allocations: 0.6819 MB / 0.6738 GB, free: 12.69 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 4.989e-05/0.7471, allocations: 0 / 0.6738 GB, free: 12.69 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.344e-05/0.7472, allocations: 11.44 kB / 0.6738 GB, free: 12.68 MB / 474.7 MB Notification: Performance of SimCode: time 2.184e-06/0.7472, allocations: 0 / 0.6738 GB, free: 12.68 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0124/0.7596, allocations: 1.08 MB / 0.6748 GB, free: 11.73 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002321/0.7599, allocations: 179.9 kB / 0.675 GB, free: 11.49 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.562/2.322, allocations: 6.672 kB / 0.675 GB, free: 11.49 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_pW_X_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)