Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004911/0.004911, allocations: 100.8 kB / 15.73 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 190.9 kB / 16.67 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.322/1.322, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002111/0.002111, allocations: 279 kB / 290.8 MB, free: 1.914 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.954/0.954, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001714/0.001714, allocations: 95.86 kB / 0.6815 GB, free: 15.48 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1607/0.1624, allocations: 86.97 MB / 0.7664 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002229/0.1647, allocations: 1.261 MB / 0.7676 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.000551/0.1653, allocations: 295.1 kB / 0.7679 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.506e-05/0.1653, allocations: 0 / 0.7679 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.925e-05/0.1653, allocations: 0 / 0.7679 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.05e-05/0.1654, allocations: 11.92 kB / 0.7679 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003273/0.1658, allocations: 43.75 kB / 0.768 GB, free: 6.816 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.47e-05/0.1658, allocations: 23.94 kB / 0.768 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.878e-05/0.1659, allocations: 0 / 0.768 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.642e-05/0.1659, allocations: 15.92 kB / 0.768 GB, free: 6.777 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.182e-05/0.166, allocations: 7.922 kB / 0.768 GB, free: 6.77 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.335e-05/0.166, allocations: 7.938 kB / 0.768 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001377/0.1662, allocations: 51.95 kB / 0.7681 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.211e-05/0.1662, allocations: 0 / 0.7681 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.952e-05/0.1662, allocations: 15.92 kB / 0.7681 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001438/0.1664, allocations: 51.77 kB / 0.7681 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.1664, allocations: 0 / 0.7681 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.082e-06/0.1664, allocations: 0 / 0.7681 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.1664, allocations: 4 kB / 0.7681 GB, free: 6.641 MB / 0.5606 GB 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.0004456/0.1668, allocations: 339.3 kB / 0.7684 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.1669, allocations: 12.03 kB / 0.7685 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002226/0.1671, allocations: 16.91 kB / 0.7685 GB, free: 6.23 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/0.1672, allocations: 164.4 kB / 0.7686 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.1672, allocations: 384 / 0.7686 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.012e-05/0.1673, allocations: 4.375 kB / 0.7686 GB, free: 6.027 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001021/0.1674, allocations: 46.25 kB / 0.7687 GB, free: 5.977 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.1674, allocations: 192 / 0.7687 GB, free: 5.977 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.1674, allocations: 3.938 kB / 0.7687 GB, free: 5.973 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.1674, allocations: 0 / 0.7687 GB, free: 5.973 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.49e-05/0.1675, allocations: 23.92 kB / 0.7687 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000155/0.1676, allocations: 153.7 kB / 0.7689 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001704/0.1693, allocations: 266.4 kB / 0.7691 GB, free: 5.48 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.2e-05/0.1694, allocations: 16.86 kB / 0.7691 GB, free: 5.461 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.305e-05/0.1694, allocations: 4 kB / 0.7691 GB, free: 5.457 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.1694, allocations: 30.56 kB / 0.7692 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.293e-06/0.1694, allocations: 4 kB / 0.7692 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.0001741/0.1696, allocations: 69.7 kB / 0.7692 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/0.1697, allocations: 51.41 kB / 0.7693 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.068e-05/0.1697, allocations: 93.84 kB / 0.7694 GB, free: 5.176 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.1698, allocations: 33.7 kB / 0.7694 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.151e-05/0.1698, allocations: 80.14 kB / 0.7695 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.588e-05/0.1698, allocations: 7.906 kB / 0.7695 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.549e-05/0.1699, allocations: 17.72 kB / 0.7695 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.17, allocations: 315 kB / 0.7698 GB, free: 4.707 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.324e-05/0.17, allocations: 15.92 kB / 0.7698 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.653e-05/0.17, allocations: 8.031 kB / 0.7698 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.501e-05/0.1701, allocations: 24.86 kB / 0.7698 GB, free: 4.656 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1701, allocations: 3.938 kB / 0.7698 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.81e-05/0.1702, allocations: 57.69 kB / 0.7699 GB, free: 4.59 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.1702, allocations: 4 kB / 0.7699 GB, free: 4.586 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.1702, allocations: 7.938 kB / 0.7699 GB, free: 4.578 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.1702, allocations: 3.938 kB / 0.7699 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.511e-05/0.1703, allocations: 11.98 kB / 0.7699 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.1703, allocations: 0 / 0.7699 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.973e-05/0.1703, allocations: 3.953 kB / 0.7699 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.1703, allocations: 4 kB / 0.7699 GB, free: 4.555 MB / 0.5606 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.346e-05/0.1704, allocations: 106.5 kB / 0.77 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.188e-06/0.1704, allocations: 0 / 0.77 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.058e-05/0.1705, allocations: 15.44 kB / 0.7701 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.1705, allocations: 0 / 0.7701 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.1705, allocations: 0 / 0.7701 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1705, allocations: 4 kB / 0.7701 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001075/0.1706, allocations: 157.6 kB / 0.7702 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.1706, allocations: 4 kB / 0.7702 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.316e-05/0.1707, allocations: 11.94 kB / 0.7702 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.1707, allocations: 3.984 kB / 0.7702 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.427e-06/0.1707, allocations: 7.938 kB / 0.7702 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1707, allocations: 0 / 0.7702 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1707, allocations: 0 / 0.7702 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001077/0.1708, allocations: 77.12 kB / 0.7703 GB, free: 4.098 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.782e-05/0.1709, allocations: 81.11 kB / 0.7704 GB, free: 4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.1709, allocations: 3.938 kB / 0.7704 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.792e-05/0.1709, allocations: 0 / 0.7704 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.987e-05/0.171, allocations: 11.98 kB / 0.7704 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-06/0.171, allocations: 0 / 0.7704 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.605e-05/0.171, allocations: 75.28 kB / 0.7705 GB, free: 3.91 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/0.171, allocations: 0 / 0.7705 GB, free: 3.91 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001842/0.1712, allocations: 8 kB / 0.7705 GB, free: 3.902 MB / 0.5606 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000111/0.1713, allocations: 107.2 kB / 0.7706 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000105/0.1714, allocations: 27.98 kB / 0.7706 GB, free: 3.758 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1714, allocations: 0 / 0.7706 GB, free: 3.758 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.359e-05/0.1715, allocations: 12 kB / 0.7706 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000225/0.1717, allocations: 14.31 kB / 0.7706 GB, free: 3.734 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003101/0.172, allocations: 138.6 kB / 0.7708 GB, free: 3.57 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002571/0.1723, allocations: 0.6767 MB / 0.7714 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.084e-05/0.1723, allocations: 384 / 0.7714 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.808e-05/0.1724, allocations: 15.44 kB / 0.7714 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of SimCode: time 2.1e-07/0.1724, allocations: 0 / 0.7714 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of Templates: time 0.002557/0.1749, allocations: 0.524 MB / 0.772 GB, free: 2.336 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)