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.001189/0.001189, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4908/0.4908, allocations: 90.91 MB / 99.34 MB, free: 2.207 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 221.5 MB / 343.2 MB, free: 1.57 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 95.19 kB / 415.9 MB, free: 11.12 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.72e-05/2.721e-05, allocations: 4 kB / 494.6 MB, free: 52.3 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1546, allocations: 72.31 MB / 0.5536 GB, free: 12.18 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5386/0.6932, allocations: 101.1 MB / 0.6524 GB, free: 8.891 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002504/0.6935, allocations: 81 kB / 0.6524 GB, free: 8.844 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004005/0.6975, allocations: 1.509 MB / 0.6539 GB, free: 7.566 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.6975, allocations: 0 / 0.6539 GB, free: 7.566 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.6976, allocations: 0 / 0.6539 GB, free: 7.566 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.0003456/0.6979, allocations: 334.6 kB / 0.6542 GB, free: 7.199 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.242e-05/0.698, allocations: 8.031 kB / 0.6542 GB, free: 7.191 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002148/0.6982, allocations: 27.78 kB / 0.6543 GB, free: 7.164 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.6983, allocations: 163.1 kB / 0.6544 GB, free: 6.965 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.6983, allocations: 0 / 0.6544 GB, free: 6.965 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.346e-06/0.6984, allocations: 0 / 0.6544 GB, free: 6.965 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.847e-05/0.6984, allocations: 15.62 kB / 0.6544 GB, free: 6.953 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.35e-05/0.6985, allocations: 44.25 kB / 0.6545 GB, free: 6.91 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.6986, allocations: 0 / 0.6545 GB, free: 6.91 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.6986, allocations: 4 kB / 0.6545 GB, free: 6.906 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.6986, allocations: 3.953 kB / 0.6545 GB, free: 6.902 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000161/0.6988, allocations: 133.9 kB / 0.6546 GB, free: 6.738 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001805/0.7006, allocations: 269.4 kB / 0.6549 GB, free: 6.477 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.238e-05/0.7006, allocations: 20.03 kB / 0.6549 GB, free: 6.457 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.146e-05/0.7006, allocations: 0 / 0.6549 GB, free: 6.457 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.7007, allocations: 42.02 kB / 0.6549 GB, free: 6.41 MB / 458.7 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.7007, allocations: 0 / 0.6549 GB, free: 6.41 MB / 458.7 MB Notification: Performance of matching and sorting (n=4): time 0.000136/0.7008, allocations: 45.02 kB / 0.655 GB, free: 6.363 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.799e-05/0.7009, allocations: 51.41 kB / 0.655 GB, free: 6.301 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.548e-05/0.7009, allocations: 92.48 kB / 0.6551 GB, free: 6.207 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.701, allocations: 29.7 kB / 0.6551 GB, free: 6.172 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.419e-05/0.701, allocations: 80.14 kB / 0.6552 GB, free: 6.09 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.535e-05/0.701, allocations: 12.41 kB / 0.6552 GB, free: 6.078 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-06/0.7011, allocations: 0 / 0.6552 GB, free: 6.078 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.7012, allocations: 318.4 kB / 0.6555 GB, free: 5.762 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.712e-05/0.7012, allocations: 12.06 kB / 0.6555 GB, free: 5.75 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.678e-05/0.7012, allocations: 11.62 kB / 0.6556 GB, free: 5.742 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.248e-05/0.7013, allocations: 11.11 kB / 0.6556 GB, free: 5.734 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.7013, allocations: 0 / 0.6556 GB, free: 5.734 MB / 458.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.538e-05/0.7014, allocations: 49.08 kB / 0.6556 GB, free: 5.684 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.7014, allocations: 8 kB / 0.6556 GB, free: 5.676 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.7014, allocations: 0 / 0.6556 GB, free: 5.676 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.7014, allocations: 3.984 kB / 0.6556 GB, free: 5.672 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.617e-05/0.7015, allocations: 4 kB / 0.6556 GB, free: 5.668 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.7015, allocations: 0 / 0.6556 GB, free: 5.668 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.058e-05/0.7015, allocations: 8 kB / 0.6556 GB, free: 5.66 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.7015, allocations: 3.312 kB / 0.6556 GB, free: 5.66 MB / 458.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.122e-05/0.7016, allocations: 104.9 kB / 0.6557 GB, free: 5.551 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.365e-05/0.7017, allocations: 52.75 kB / 0.6558 GB, free: 5.496 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.057e-06/0.7017, allocations: 3.906 kB / 0.6558 GB, free: 5.492 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.366e-05/0.7017, allocations: 7.5 kB / 0.6558 GB, free: 5.488 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.7018, allocations: 0 / 0.6558 GB, free: 5.488 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.7018, allocations: 4 kB / 0.6558 GB, free: 5.484 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.7018, allocations: 0 / 0.6558 GB, free: 5.484 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001039/0.7019, allocations: 145.3 kB / 0.6559 GB, free: 5.309 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.7019, allocations: 0 / 0.6559 GB, free: 5.309 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.465e-05/0.7019, allocations: 6.688 kB / 0.6559 GB, free: 5.305 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.7019, allocations: 0 / 0.6559 GB, free: 5.305 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.702, allocations: 0 / 0.6559 GB, free: 5.305 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.702, allocations: 1.625 kB / 0.656 GB, free: 5.305 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.702, allocations: 4 kB / 0.656 GB, free: 5.301 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.033e-05/0.7021, allocations: 79.75 kB / 0.656 GB, free: 5.211 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.013e-05/0.7021, allocations: 81.11 kB / 0.6561 GB, free: 5.113 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.297e-05/0.7022, allocations: 4 kB / 0.6561 GB, free: 5.109 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.414e-05/0.7022, allocations: 0 / 0.6561 GB, free: 5.109 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.974e-05/0.7022, allocations: 4 kB / 0.6561 GB, free: 5.105 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-06/0.7023, allocations: 3.984 kB / 0.6561 GB, free: 5.102 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.134e-05/0.7023, allocations: 79.09 kB / 0.6562 GB, free: 5.027 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7023, allocations: 0 / 0.6562 GB, free: 5.027 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001827/0.7025, allocations: 8 kB / 0.6562 GB, free: 5.02 MB / 458.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.0003684/0.7029, allocations: 0.611 MB / 0.6568 GB, free: 4.383 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 7.631e-05/0.7029, allocations: 21.81 kB / 0.6568 GB, free: 4.367 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.703, allocations: 0 / 0.6568 GB, free: 4.367 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.888e-05/0.703, allocations: 16.69 kB / 0.6568 GB, free: 4.355 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001858/0.7032, allocations: 11.97 kB / 0.6568 GB, free: 4.344 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003203/0.7035, allocations: 107 kB / 0.6569 GB, free: 4.207 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002345/0.7037, allocations: 0.6806 MB / 0.6576 GB, free: 3.5 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 5.066e-05/0.7038, allocations: 11.98 kB / 0.6576 GB, free: 3.488 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.399e-05/0.7038, allocations: 7.438 kB / 0.6576 GB, free: 3.48 MB / 458.7 MB Notification: Performance of SimCode: time 2.4e-07/0.7039, allocations: 0 / 0.6576 GB, free: 3.48 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01921/0.7231, allocations: 0.792 MB / 0.6584 GB, free: 2.707 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001994/0.7233, allocations: 151.8 kB / 0.6586 GB, free: 2.508 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.469/2.193, allocations: 0 / 0.6586 GB, free: 2.508 MB / 458.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)