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 3.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 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.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: translateModel(IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X") translateModel(IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 173 kB / 16.76 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4527/0.4527, allocations: 86.27 MB / 103.8 MB, free: 14.57 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.429/1.429, allocations: 223.3 MB / 348.4 MB, free: 4.887 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.0009649/0.0009652, allocations: 94.23 kB / 420.2 MB, free: 9.637 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003628/0.0003628, allocations: 15.98 kB / 0.4901 GB, free: 7.973 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3435/0.3439, allocations: 71.01 MB / 0.5595 GB, free: 43.77 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1268/0.4707, allocations: 100.4 MB / 0.6575 GB, free: 9.047 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002597/0.471, allocations: 83.94 kB / 0.6576 GB, free: 8.965 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004152/0.4752, allocations: 1.515 MB / 0.6591 GB, free: 7.461 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.406e-06/0.4752, allocations: 0 / 0.6591 GB, free: 7.461 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.4752, allocations: 0 / 0.6591 GB, free: 7.461 MB / 474.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.0003059/0.4755, allocations: 339.5 kB / 0.6594 GB, free: 7.078 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.4756, allocations: 8.031 kB / 0.6594 GB, free: 7.07 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001924/0.4758, allocations: 20.91 kB / 0.6595 GB, free: 7.051 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.4759, allocations: 168.4 kB / 0.6596 GB, free: 6.848 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.4759, allocations: 384 / 0.6596 GB, free: 6.848 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.203e-05/0.4759, allocations: 8.312 kB / 0.6596 GB, free: 6.84 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001214/0.4761, allocations: 38.25 kB / 0.6597 GB, free: 6.797 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.4761, allocations: 192 / 0.6597 GB, free: 6.797 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.4761, allocations: 7.938 kB / 0.6597 GB, free: 6.789 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.401e-06/0.4761, allocations: 0 / 0.6597 GB, free: 6.789 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.182e-05/0.4762, allocations: 15.98 kB / 0.6597 GB, free: 6.773 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001708/0.4764, allocations: 165.6 kB / 0.6598 GB, free: 6.562 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001751/0.4781, allocations: 274.4 kB / 0.6601 GB, free: 6.285 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.595e-05/0.4782, allocations: 24.84 kB / 0.6601 GB, free: 6.258 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.265e-05/0.4782, allocations: 0 / 0.6601 GB, free: 6.258 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/0.4782, allocations: 34.56 kB / 0.6602 GB, free: 6.215 MB / 474.7 MB Notification: Performance of pre-optimization done (n=4): time 1.292e-06/0.4782, allocations: 0 / 0.6602 GB, free: 6.215 MB / 474.7 MB Notification: Performance of matching and sorting (n=4): time 0.00016/0.4784, allocations: 61.62 kB / 0.6602 GB, free: 6.148 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.759e-05/0.4784, allocations: 51.41 kB / 0.6603 GB, free: 6.086 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.466e-05/0.4785, allocations: 97.86 kB / 0.6604 GB, free: 5.98 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.4785, allocations: 29.83 kB / 0.6604 GB, free: 5.945 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.446e-05/0.4786, allocations: 80.14 kB / 0.6605 GB, free: 5.863 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.963e-05/0.4786, allocations: 15.69 kB / 0.6605 GB, free: 5.848 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-06/0.4786, allocations: 0 / 0.6605 GB, free: 5.848 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.4787, allocations: 322.8 kB / 0.6608 GB, free: 5.523 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.993e-05/0.4788, allocations: 4 kB / 0.6608 GB, free: 5.52 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.661e-05/0.4788, allocations: 8 kB / 0.6608 GB, free: 5.512 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.894e-05/0.4788, allocations: 28.84 kB / 0.6608 GB, free: 5.48 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.4788, allocations: 0 / 0.6608 GB, free: 5.48 MB / 474.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.839e-05/0.4789, allocations: 49.7 kB / 0.6609 GB, free: 5.426 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.479, allocations: 8 kB / 0.6609 GB, free: 5.418 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.479, allocations: 3.938 kB / 0.6609 GB, free: 5.414 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.479, allocations: 3.984 kB / 0.6609 GB, free: 5.41 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.735e-05/0.4791, allocations: 11.88 kB / 0.6609 GB, free: 5.398 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.4791, allocations: 3.938 kB / 0.6609 GB, free: 5.395 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.811e-05/0.4791, allocations: 8 kB / 0.6609 GB, free: 5.387 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.549e-06/0.4791, allocations: 0 / 0.6609 GB, free: 5.387 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.338e-05/0.4792, allocations: 105.8 kB / 0.661 GB, free: 5.273 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.228e-06/0.4792, allocations: 8 kB / 0.661 GB, free: 5.266 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.685e-05/0.4793, allocations: 11.44 kB / 0.661 GB, free: 5.246 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.4793, allocations: 0 / 0.661 GB, free: 5.246 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.4793, allocations: 0 / 0.661 GB, free: 5.246 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.4793, allocations: 3.984 kB / 0.661 GB, free: 5.242 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001152/0.4794, allocations: 153.7 kB / 0.6612 GB, free: 5.043 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.4794, allocations: 4 kB / 0.6612 GB, free: 5.039 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.626e-05/0.4795, allocations: 11.98 kB / 0.6612 GB, free: 5.027 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.4795, allocations: 0 / 0.6612 GB, free: 5.027 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.4795, allocations: 3.938 kB / 0.6612 GB, free: 5.023 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.4795, allocations: 0 / 0.6612 GB, free: 5.023 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.4795, allocations: 4 kB / 0.6612 GB, free: 5.02 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001148/0.4796, allocations: 85.39 kB / 0.6613 GB, free: 4.918 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.931e-05/0.4797, allocations: 81.02 kB / 0.6614 GB, free: 4.82 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/0.4797, allocations: 7.969 kB / 0.6614 GB, free: 4.812 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.892e-05/0.4798, allocations: 3.984 kB / 0.6614 GB, free: 4.809 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.967e-05/0.4798, allocations: 4 kB / 0.6614 GB, free: 4.805 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.4798, allocations: 4 kB / 0.6614 GB, free: 4.801 MB / 474.7 MB Notification: Performance of sorting global known variables: time 3.908e-05/0.4799, allocations: 79.28 kB / 0.6615 GB, free: 4.723 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4799, allocations: 0 / 0.6615 GB, free: 4.723 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.000179/0.4801, allocations: 8 kB / 0.6615 GB, free: 4.715 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.0001359/0.4802, allocations: 95.25 kB / 0.6616 GB, free: 4.609 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001018/0.4803, allocations: 23.98 kB / 0.6616 GB, free: 4.586 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4803, allocations: 4 kB / 0.6616 GB, free: 4.582 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 2.421e-05/0.4803, allocations: 15.94 kB / 0.6616 GB, free: 4.566 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002661/0.4806, allocations: 16.02 kB / 0.6616 GB, free: 4.551 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003846/0.481, allocations: 140.5 kB / 0.6618 GB, free: 4.383 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002902/0.4813, allocations: 0.677 MB / 0.6624 GB, free: 3.68 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 5.166e-05/0.4814, allocations: 4 kB / 0.6624 GB, free: 3.676 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.488e-05/0.4814, allocations: 7.438 kB / 0.6624 GB, free: 3.668 MB / 474.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4814, allocations: 0 / 0.6624 GB, free: 3.668 MB / 474.7 MB Notification: Performance of Templates: time 0.002201/0.4836, allocations: 485.5 kB / 0.6629 GB, free: 3.199 MB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (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 & ./IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)