Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.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.pW_X,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="BuildSysPro_BuildSysPro_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/BuildSysPro 3.5.0/package.mo): time 0.7071/0.7071, allocations: 127.4 MB / 134.9 MB, free: 3.766 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.001096/0.001096, allocations: 176.8 kB / 164.7 MB, free: 6.508 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.472/1.472, allocations: 205.2 MB / 399.5 MB, free: 5.871 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.0009966/0.0009968, allocations: 89.36 kB / 476.7 MB, free: 8.598 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.664e-05/2.67e-05, allocations: 4 kB / 0.5467 GB, free: 60.39 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1408, allocations: 76.77 MB / 0.6216 GB, free: 15.55 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.499/0.6399, allocations: 102.4 MB / 0.7217 GB, free: 12.94 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002605/0.6402, allocations: 82.12 kB / 0.7218 GB, free: 12.89 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004517/0.6447, allocations: 1.528 MB / 0.7233 GB, free: 11.6 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.6448, allocations: 0 / 0.7233 GB, free: 11.6 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.201e-06/0.6448, allocations: 4.375 kB / 0.7233 GB, free: 11.6 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003464/0.6451, allocations: 330.5 kB / 0.7236 GB, free: 11.23 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.6452, allocations: 8.031 kB / 0.7236 GB, free: 11.23 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002195/0.6454, allocations: 23.92 kB / 0.7236 GB, free: 11.2 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.6456, allocations: 159.1 kB / 0.7238 GB, free: 11.01 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.6456, allocations: 8 kB / 0.7238 GB, free: 11 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.339e-05/0.6456, allocations: 0 / 0.7238 GB, free: 11 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.118e-05/0.6457, allocations: 14.62 kB / 0.7238 GB, free: 10.99 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.824e-05/0.6458, allocations: 47.98 kB / 0.7238 GB, free: 10.94 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.6458, allocations: 0 / 0.7238 GB, free: 10.94 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.6458, allocations: 3.938 kB / 0.7238 GB, free: 10.94 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.6458, allocations: 3.953 kB / 0.7238 GB, free: 10.93 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001935/0.646, allocations: 137.2 kB / 0.724 GB, free: 10.77 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001799/0.6479, allocations: 265.5 kB / 0.7242 GB, free: 10.51 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.605e-05/0.6479, allocations: 24.12 kB / 0.7242 GB, free: 10.48 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.484e-05/0.6479, allocations: 0 / 0.7242 GB, free: 10.48 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.648, allocations: 34.56 kB / 0.7243 GB, free: 10.44 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.648, allocations: 0 / 0.7243 GB, free: 10.44 MB / 490.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001552/0.6481, allocations: 53.66 kB / 0.7243 GB, free: 10.39 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.6482, allocations: 55.41 kB / 0.7244 GB, free: 10.32 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.863e-05/0.6483, allocations: 85 kB / 0.7245 GB, free: 10.23 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.6483, allocations: 25.7 kB / 0.7245 GB, free: 10.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.585e-05/0.6483, allocations: 80.14 kB / 0.7246 GB, free: 10.12 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.286e-05/0.6484, allocations: 15.56 kB / 0.7246 GB, free: 10.11 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-06/0.6484, allocations: 3.938 kB / 0.7246 GB, free: 10.11 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.6485, allocations: 318.8 kB / 0.7249 GB, free: 9.785 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.641e-05/0.6485, allocations: 7.062 kB / 0.7249 GB, free: 9.781 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.357e-05/0.6485, allocations: 7.688 kB / 0.7249 GB, free: 9.777 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.376e-05/0.6486, allocations: 10.64 kB / 0.7249 GB, free: 9.77 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.6486, allocations: 0 / 0.7249 GB, free: 9.77 MB / 490.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.1e-05/0.6487, allocations: 52.62 kB / 0.725 GB, free: 9.719 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.6487, allocations: 4 kB / 0.725 GB, free: 9.715 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.6487, allocations: 0 / 0.725 GB, free: 9.715 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.6487, allocations: 4 kB / 0.725 GB, free: 9.711 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.143e-05/0.6488, allocations: 11.94 kB / 0.725 GB, free: 9.699 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.117e-06/0.6488, allocations: 0 / 0.725 GB, free: 9.699 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.016e-05/0.6488, allocations: 0 / 0.725 GB, free: 9.699 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.6488, allocations: 0 / 0.725 GB, free: 9.699 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 (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 8.698e-05/0.6489, allocations: 108.9 kB / 0.7251 GB, free: 9.586 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.709e-05/0.649, allocations: 59.41 kB / 0.7251 GB, free: 9.531 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.724e-06/0.649, allocations: 0 / 0.7251 GB, free: 9.531 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.583e-05/0.6491, allocations: 11.31 kB / 0.7251 GB, free: 9.523 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.6491, allocations: 4 kB / 0.7251 GB, free: 9.52 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.6491, allocations: 0 / 0.7251 GB, free: 9.52 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.6491, allocations: 4.219 kB / 0.7252 GB, free: 9.516 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000119/0.6492, allocations: 133.2 kB / 0.7253 GB, free: 9.352 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.6493, allocations: 0 / 0.7253 GB, free: 9.352 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.925e-05/0.6493, allocations: 11.92 kB / 0.7253 GB, free: 9.34 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.213e-06/0.6493, allocations: 7.984 kB / 0.7253 GB, free: 9.332 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/0.6493, allocations: 0 / 0.7253 GB, free: 9.332 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.6493, allocations: 0 / 0.7253 GB, free: 9.332 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.6494, allocations: 0 / 0.7253 GB, free: 9.332 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001058/0.6495, allocations: 85.89 kB / 0.7254 GB, free: 9.238 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.855e-05/0.6496, allocations: 77.11 kB / 0.7255 GB, free: 9.145 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/0.6496, allocations: 0 / 0.7255 GB, free: 9.145 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.746e-05/0.6496, allocations: 4 kB / 0.7255 GB, free: 9.141 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.722e-05/0.6497, allocations: 3.984 kB / 0.7255 GB, free: 9.137 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.084e-06/0.6497, allocations: 0 / 0.7255 GB, free: 9.137 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.795e-05/0.6497, allocations: 83.22 kB / 0.7255 GB, free: 9.055 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6497, allocations: 96 / 0.7255 GB, free: 9.055 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001844/0.6499, allocations: 8 kB / 0.7255 GB, free: 9.047 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 (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.0004062/0.6503, allocations: 0.615 MB / 0.7261 GB, free: 8.41 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 8.732e-05/0.6504, allocations: 19.94 kB / 0.7262 GB, free: 8.395 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.6504, allocations: 0 / 0.7262 GB, free: 8.395 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.191e-05/0.6505, allocations: 15.8 kB / 0.7262 GB, free: 8.383 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001736/0.6506, allocations: 11.5 kB / 0.7262 GB, free: 8.375 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003538/0.651, allocations: 96.64 kB / 0.7263 GB, free: 8.246 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002913/0.6513, allocations: 0.6768 MB / 0.7269 GB, free: 7.543 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.642e-05/0.6514, allocations: 4 kB / 0.7269 GB, free: 7.539 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.114e-05/0.6514, allocations: 11.44 kB / 0.727 GB, free: 7.527 MB / 490.7 MB Notification: Performance of SimCode: time 2.5e-07/0.6514, allocations: 0 / 0.727 GB, free: 7.527 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01948/0.6709, allocations: 0.7976 MB / 0.7277 GB, free: 6.738 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001921/0.6712, allocations: 156.4 kB / 0.7279 GB, free: 6.547 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.401/2.072, allocations: 0 / 0.7279 GB, free: 6.547 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_Examples_pW_X_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)