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.001121/0.001121, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.285/1.285, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002051/0.002051, allocations: 282.5 kB / 290.7 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9276/0.9276, allocations: 169.3 MB / 0.4982 GB, free: 13.99 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001629/0.001629, allocations: 101.6 kB / 0.5952 GB, free: 28.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1631, allocations: 86.98 MB / 0.6802 GB, free: 0.6914 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002044/0.1651, allocations: 1.256 MB / 0.6814 GB, free: 15.44 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004741/0.1656, allocations: 285.2 kB / 0.6817 GB, free: 15.16 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.594e-05/0.1656, allocations: 0 / 0.6817 GB, free: 15.16 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.443e-05/0.1657, allocations: 3.984 kB / 0.6817 GB, free: 15.16 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.328e-05/0.1657, allocations: 3.938 kB / 0.6817 GB, free: 15.15 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002273/0.1659, allocations: 48.39 kB / 0.6817 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.847e-05/0.166, allocations: 20.58 kB / 0.6818 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.494e-05/0.1661, allocations: 11.98 kB / 0.6818 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.892e-05/0.1661, allocations: 4.875 kB / 0.6818 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.739e-05/0.1661, allocations: 7.984 kB / 0.6818 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.728e-06/0.1661, allocations: 0.625 kB / 0.6818 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000114/0.1663, allocations: 51.95 kB / 0.6818 GB, free: 15.01 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.204e-05/0.1663, allocations: 5.25 kB / 0.6818 GB, free: 15.01 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.262e-05/0.1663, allocations: 8 kB / 0.6818 GB, free: 15 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000113/0.1664, allocations: 52.11 kB / 0.6819 GB, free: 14.95 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.1664, allocations: 4 kB / 0.6819 GB, free: 14.95 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.1664, allocations: 0.75 kB / 0.6819 GB, free: 14.95 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.1665, allocations: 0 / 0.6819 GB, free: 14.95 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.0003289/0.1668, allocations: 347.4 kB / 0.6822 GB, free: 14.55 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.053e-05/0.1668, allocations: 11.97 kB / 0.6822 GB, free: 14.54 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001985/0.167, allocations: 16.92 kB / 0.6823 GB, free: 14.53 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.308e-05/0.1671, allocations: 160.4 kB / 0.6824 GB, free: 14.33 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.147e-06/0.1672, allocations: 384 / 0.6824 GB, free: 14.33 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.065e-06/0.1672, allocations: 4.375 kB / 0.6824 GB, free: 14.33 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.977e-05/0.1673, allocations: 38.25 kB / 0.6825 GB, free: 14.29 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.1673, allocations: 8.172 kB / 0.6825 GB, free: 14.28 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.1673, allocations: 11.94 kB / 0.6825 GB, free: 14.27 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.1673, allocations: 0 / 0.6825 GB, free: 14.27 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.5e-05/0.1673, allocations: 12 kB / 0.6825 GB, free: 14.25 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001363/0.1675, allocations: 153.7 kB / 0.6826 GB, free: 14.05 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001793/0.1693, allocations: 274.4 kB / 0.6829 GB, free: 13.78 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.844e-05/0.1693, allocations: 20.84 kB / 0.6829 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.155e-05/0.1694, allocations: 3.984 kB / 0.6829 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.843e-05/0.1694, allocations: 30.56 kB / 0.6829 GB, free: 13.71 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.1694, allocations: 0 / 0.6829 GB, free: 13.71 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001455/0.1695, allocations: 77.47 kB / 0.683 GB, free: 13.63 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.366e-05/0.1696, allocations: 51.41 kB / 0.6831 GB, free: 13.57 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.542e-05/0.1696, allocations: 97.8 kB / 0.6832 GB, free: 13.46 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.1697, allocations: 25.7 kB / 0.6832 GB, free: 13.43 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.223e-05/0.1697, allocations: 80.14 kB / 0.6833 GB, free: 13.35 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.273e-05/0.1697, allocations: 11.89 kB / 0.6833 GB, free: 13.34 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.937e-05/0.1697, allocations: 13.72 kB / 0.6833 GB, free: 13.32 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.959e-05/0.1698, allocations: 319 kB / 0.6836 GB, free: 13 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.921e-05/0.1699, allocations: 12 kB / 0.6836 GB, free: 12.98 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.659e-05/0.1699, allocations: 11.98 kB / 0.6836 GB, free: 12.97 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.977e-05/0.1699, allocations: 24.86 kB / 0.6836 GB, free: 12.95 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1699, allocations: 0 / 0.6836 GB, free: 12.95 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.497e-05/0.17, allocations: 57.53 kB / 0.6837 GB, free: 12.88 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/0.17, allocations: 8 kB / 0.6837 GB, free: 12.88 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.17, allocations: 3.938 kB / 0.6837 GB, free: 12.87 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.906e-06/0.1701, allocations: 0 / 0.6837 GB, free: 12.87 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.219e-05/0.1701, allocations: 4 kB / 0.6837 GB, free: 12.87 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.127e-06/0.1701, allocations: 4 kB / 0.6837 GB, free: 12.86 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.963e-05/0.1702, allocations: 11.94 kB / 0.6837 GB, free: 12.85 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.778e-06/0.1702, allocations: 0 / 0.6837 GB, free: 12.85 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 5.793e-05/0.1702, allocations: 107.2 kB / 0.6838 GB, free: 12.74 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.078e-05/0.1702, allocations: 4 kB / 0.6838 GB, free: 12.73 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.338e-05/0.1703, allocations: 15.42 kB / 0.6838 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.1703, allocations: 0 / 0.6838 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.1703, allocations: 0 / 0.6838 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.1703, allocations: 3.938 kB / 0.6838 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.02e-05/0.1704, allocations: 161.7 kB / 0.684 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1704, allocations: 4 kB / 0.684 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.299e-05/0.1705, allocations: 4 kB / 0.684 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.1705, allocations: 0 / 0.684 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/0.1705, allocations: 3.938 kB / 0.684 GB, free: 12.49 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.257e-06/0.1705, allocations: 0 / 0.684 GB, free: 12.49 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1705, allocations: 3.938 kB / 0.684 GB, free: 12.49 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.877e-05/0.1706, allocations: 81.12 kB / 0.6841 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.018e-05/0.1707, allocations: 81.09 kB / 0.6842 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.1707, allocations: 7.938 kB / 0.6842 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.122e-05/0.1707, allocations: 7.938 kB / 0.6842 GB, free: 12.28 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.183e-05/0.1708, allocations: 0 / 0.6842 GB, free: 12.28 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.601e-06/0.1708, allocations: 4.375 kB / 0.6842 GB, free: 12.27 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.377e-05/0.1708, allocations: 75.28 kB / 0.6843 GB, free: 12.2 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1708, allocations: 4 kB / 0.6843 GB, free: 12.2 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001744/0.171, allocations: 4 kB / 0.6843 GB, free: 12.19 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 8.711e-05/0.1711, allocations: 103.3 kB / 0.6844 GB, free: 12.08 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.935e-05/0.1712, allocations: 27.94 kB / 0.6844 GB, free: 12.05 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1712, allocations: 0 / 0.6844 GB, free: 12.05 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.321e-05/0.1712, allocations: 20.06 kB / 0.6844 GB, free: 12.03 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002038/0.1714, allocations: 15.98 kB / 0.6844 GB, free: 12.02 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000251/0.1717, allocations: 128.5 kB / 0.6846 GB, free: 11.87 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002109/0.1719, allocations: 0.6768 MB / 0.6852 GB, free: 11.16 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.195e-05/0.1719, allocations: 0 / 0.6852 GB, free: 11.16 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.093e-05/0.172, allocations: 15.44 kB / 0.6852 GB, free: 11.15 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.172, allocations: 0 / 0.6852 GB, free: 11.15 MB / 494.1 MB Notification: Performance of Templates: time 0.002155/0.1741, allocations: 0.5138 MB / 0.6857 GB, free: 10.64 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)