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.001353/0.001353, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001643/0.001643, allocations: 190.7 kB / 16.25 MB, free: 6.629 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.339/1.339, allocations: 222.9 MB / 239.9 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002149/0.002149, allocations: 271.1 kB / 290.3 MB, free: 2.125 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9702/0.9702, allocations: 169.2 MB / 0.4978 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001691/0.001691, allocations: 90.81 kB / 0.5947 GB, free: 28.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1609, allocations: 86.99 MB / 0.6796 GB, free: 1.066 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002386/0.1633, allocations: 1.328 MB / 0.6809 GB, free: 15.74 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005385/0.1639, allocations: 288.5 kB / 0.6812 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.187e-05/0.1639, allocations: 4 kB / 0.6812 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.406e-05/0.1639, allocations: 1.125 kB / 0.6812 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.102e-05/0.164, allocations: 0 / 0.6812 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002923/0.1643, allocations: 44.75 kB / 0.6812 GB, free: 15.41 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.423e-05/0.1644, allocations: 27.81 kB / 0.6813 GB, free: 15.38 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.042e-05/0.1644, allocations: 7.984 kB / 0.6813 GB, free: 15.38 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.833e-05/0.1645, allocations: 4 kB / 0.6813 GB, free: 15.37 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.673e-05/0.1645, allocations: 8 kB / 0.6813 GB, free: 15.36 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.427e-05/0.1645, allocations: 3.984 kB / 0.6813 GB, free: 15.36 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001199/0.1647, allocations: 51.95 kB / 0.6813 GB, free: 15.31 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.363e-05/0.1647, allocations: 7.922 kB / 0.6814 GB, free: 15.3 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.297e-05/0.1647, allocations: 4 kB / 0.6814 GB, free: 15.3 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001293/0.1648, allocations: 52.11 kB / 0.6814 GB, free: 15.25 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.5e-05/0.1649, allocations: 4 kB / 0.6814 GB, free: 15.24 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1649, allocations: 8 kB / 0.6814 GB, free: 15.23 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.053e-05/0.1649, allocations: 0 / 0.6814 GB, free: 15.23 MB / 494.1 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.0004225/0.1653, allocations: 331.5 kB / 0.6817 GB, free: 14.86 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.1654, allocations: 8.031 kB / 0.6817 GB, free: 14.85 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002544/0.1656, allocations: 24.91 kB / 0.6818 GB, free: 14.83 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001641/0.1658, allocations: 160.4 kB / 0.6819 GB, free: 14.63 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.1658, allocations: 384 / 0.6819 GB, free: 14.63 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.424e-05/0.1658, allocations: 384 / 0.6819 GB, free: 14.63 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.166, allocations: 50.19 kB / 0.682 GB, free: 14.58 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.166, allocations: 192 / 0.682 GB, free: 14.58 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.805e-05/0.166, allocations: 7.922 kB / 0.682 GB, free: 14.57 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.166, allocations: 4 kB / 0.682 GB, free: 14.57 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.972e-05/0.1661, allocations: 19.98 kB / 0.682 GB, free: 14.55 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002219/0.1663, allocations: 157.7 kB / 0.6821 GB, free: 14.34 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001914/0.1683, allocations: 266.4 kB / 0.6824 GB, free: 14.07 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.74e-05/0.1683, allocations: 24.8 kB / 0.6824 GB, free: 14.05 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.109e-05/0.1683, allocations: 0 / 0.6824 GB, free: 14.05 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/0.1684, allocations: 30.56 kB / 0.6825 GB, free: 14.01 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.213e-06/0.1684, allocations: 4 kB / 0.6825 GB, free: 14 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001943/0.1686, allocations: 65.53 kB / 0.6825 GB, free: 13.93 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/0.1686, allocations: 63.33 kB / 0.6826 GB, free: 13.86 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/0.1688, allocations: 93.86 kB / 0.6827 GB, free: 13.76 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.1688, allocations: 29.64 kB / 0.6827 GB, free: 13.72 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.081e-05/0.1688, allocations: 80.14 kB / 0.6828 GB, free: 13.64 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.207e-05/0.1689, allocations: 3.906 kB / 0.6828 GB, free: 13.64 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.674e-05/0.1689, allocations: 17.72 kB / 0.6828 GB, free: 13.61 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001732/0.1691, allocations: 319 kB / 0.6831 GB, free: 13.29 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.485e-05/0.1691, allocations: 11.94 kB / 0.6831 GB, free: 13.28 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.678e-05/0.1692, allocations: 12 kB / 0.6831 GB, free: 13.27 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.01e-05/0.1692, allocations: 24.86 kB / 0.6831 GB, free: 13.24 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1692, allocations: 0 / 0.6831 GB, free: 13.24 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.033e-05/0.1693, allocations: 53.59 kB / 0.6832 GB, free: 13.18 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.1693, allocations: 8 kB / 0.6832 GB, free: 13.18 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.1693, allocations: 3.938 kB / 0.6832 GB, free: 13.17 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.1694, allocations: 0 / 0.6832 GB, free: 13.17 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.874e-05/0.1694, allocations: 11.98 kB / 0.6832 GB, free: 13.16 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.303e-06/0.1694, allocations: 3.938 kB / 0.6832 GB, free: 13.16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.032e-05/0.1695, allocations: 7.938 kB / 0.6832 GB, free: 13.15 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.1695, allocations: 0 / 0.6832 GB, free: 13.15 MB / 494.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.876e-05/0.1696, allocations: 111.2 kB / 0.6833 GB, free: 13.03 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.03e-05/0.1696, allocations: 4 kB / 0.6833 GB, free: 13.03 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.353e-05/0.1696, allocations: 11.44 kB / 0.6834 GB, free: 13.01 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.1696, allocations: 0 / 0.6834 GB, free: 13.01 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.1697, allocations: 0 / 0.6834 GB, free: 13.01 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.1697, allocations: 4 kB / 0.6834 GB, free: 13.01 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001258/0.1698, allocations: 153.7 kB / 0.6835 GB, free: 12.81 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1698, allocations: 0 / 0.6835 GB, free: 12.81 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.457e-05/0.1699, allocations: 11.98 kB / 0.6835 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.1699, allocations: 336 / 0.6835 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.1699, allocations: 3.938 kB / 0.6835 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/0.1699, allocations: 0 / 0.6835 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1699, allocations: 0 / 0.6835 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001137/0.17, allocations: 93.05 kB / 0.6836 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.186e-05/0.1701, allocations: 77.11 kB / 0.6837 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.1701, allocations: 3.938 kB / 0.6837 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.859e-05/0.1702, allocations: 3.984 kB / 0.6837 GB, free: 12.58 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.874e-05/0.1702, allocations: 7.938 kB / 0.6837 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.1702, allocations: 4 kB / 0.6837 GB, free: 12.57 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.514e-05/0.1702, allocations: 75.28 kB / 0.6838 GB, free: 12.5 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1702, allocations: 0 / 0.6838 GB, free: 12.5 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001802/0.1704, allocations: 8 kB / 0.6838 GB, free: 12.49 MB / 494.1 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 (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.0001117/0.1706, allocations: 103.3 kB / 0.6839 GB, free: 12.38 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001041/0.1707, allocations: 27.92 kB / 0.6839 GB, free: 12.35 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1707, allocations: 0 / 0.6839 GB, free: 12.35 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.178e-05/0.1707, allocations: 15.94 kB / 0.6839 GB, free: 12.33 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002513/0.171, allocations: 13.88 kB / 0.6839 GB, free: 12.32 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002926/0.1713, allocations: 126.6 kB / 0.6841 GB, free: 12.17 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002095/0.1715, allocations: 0.6747 MB / 0.6847 GB, free: 11.47 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.082e-05/0.1715, allocations: 11.98 kB / 0.6847 GB, free: 11.46 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.194e-05/0.1716, allocations: 7.438 kB / 0.6847 GB, free: 11.46 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1716, allocations: 0 / 0.6847 GB, free: 11.46 MB / 494.1 MB Notification: Performance of Templates: time 0.002366/0.1739, allocations: 0.5145 MB / 0.6852 GB, free: 10.95 MB / 494.1 MB 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)