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.001063/0.001063, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001164/0.001164, allocations: 191.4 kB / 16.14 MB, free: 6.734 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.419/1.419, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002164/0.002164, allocations: 286.8 kB / 290.2 MB, free: 2.203 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9193/0.9193, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001597/0.001597, allocations: 92.84 kB / 0.5945 GB, free: 28.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.1601, allocations: 86.99 MB / 0.6794 GB, free: 1.18 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002115/0.1622, allocations: 1.312 MB / 0.6807 GB, free: 15.86 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000568/0.1628, allocations: 300.5 kB / 0.681 GB, free: 15.57 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.428e-05/0.1629, allocations: 2 kB / 0.681 GB, free: 15.57 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.264e-05/0.1629, allocations: 3.938 kB / 0.681 GB, free: 15.57 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.441e-05/0.1629, allocations: 7.984 kB / 0.681 GB, free: 15.56 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002101/0.1632, allocations: 47.81 kB / 0.6811 GB, free: 15.52 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.036e-05/0.1632, allocations: 11.94 kB / 0.6811 GB, free: 15.5 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.7e-05/0.1632, allocations: 4 kB / 0.6811 GB, free: 15.5 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.282e-05/0.1633, allocations: 11.94 kB / 0.6811 GB, free: 15.49 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.097e-05/0.1633, allocations: 15.86 kB / 0.6811 GB, free: 15.47 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.025e-05/0.1633, allocations: 0 / 0.6811 GB, free: 15.47 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001178/0.1635, allocations: 51.95 kB / 0.6812 GB, free: 15.42 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.128e-06/0.1635, allocations: 0 / 0.6812 GB, free: 15.42 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.5e-05/0.1635, allocations: 11.92 kB / 0.6812 GB, free: 15.41 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001211/0.1636, allocations: 52.17 kB / 0.6812 GB, free: 15.36 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1637, allocations: 4 kB / 0.6812 GB, free: 15.36 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.92e-07/0.1637, allocations: 0 / 0.6812 GB, free: 15.36 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.1637, allocations: 0 / 0.6812 GB, free: 15.36 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.0003273/0.164, allocations: 335.5 kB / 0.6815 GB, free: 14.98 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.164, allocations: 12.03 kB / 0.6816 GB, free: 14.96 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002112/0.1643, allocations: 12.92 kB / 0.6816 GB, free: 14.95 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.56e-05/0.1644, allocations: 168.4 kB / 0.6817 GB, free: 14.75 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.977e-06/0.1644, allocations: 384 / 0.6817 GB, free: 14.75 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.447e-06/0.1644, allocations: 4.375 kB / 0.6817 GB, free: 14.75 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001044/0.1645, allocations: 42.25 kB / 0.6818 GB, free: 14.7 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.1645, allocations: 4.172 kB / 0.6818 GB, free: 14.7 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.1645, allocations: 3.938 kB / 0.6818 GB, free: 14.69 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.1645, allocations: 0 / 0.6818 GB, free: 14.69 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.133e-05/0.1646, allocations: 23.88 kB / 0.6818 GB, free: 14.67 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001419/0.1647, allocations: 157.7 kB / 0.682 GB, free: 14.46 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002052/0.1668, allocations: 262.5 kB / 0.6822 GB, free: 14.2 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.633e-05/0.1669, allocations: 24.84 kB / 0.6822 GB, free: 14.17 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.152e-05/0.1669, allocations: 4 kB / 0.6822 GB, free: 14.17 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.1669, allocations: 34.56 kB / 0.6823 GB, free: 14.12 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.1669, allocations: 0 / 0.6823 GB, free: 14.12 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001642/0.1671, allocations: 73.47 kB / 0.6823 GB, free: 14.05 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.99e-05/0.1671, allocations: 51.41 kB / 0.6824 GB, free: 13.98 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.3e-05/0.1672, allocations: 89.86 kB / 0.6825 GB, free: 13.89 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.1672, allocations: 29.7 kB / 0.6825 GB, free: 13.85 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.292e-05/0.1672, allocations: 84.12 kB / 0.6826 GB, free: 13.77 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.75e-05/0.1673, allocations: 11.89 kB / 0.6826 GB, free: 13.75 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.582e-05/0.1673, allocations: 17.84 kB / 0.6826 GB, free: 13.73 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.794e-05/0.1674, allocations: 314.8 kB / 0.6829 GB, free: 13.41 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.045e-05/0.1674, allocations: 4 kB / 0.6829 GB, free: 13.41 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.172e-05/0.1675, allocations: 15.98 kB / 0.6829 GB, free: 13.39 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.503e-05/0.1675, allocations: 24.8 kB / 0.683 GB, free: 13.37 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1675, allocations: 0 / 0.683 GB, free: 13.37 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.262e-05/0.1676, allocations: 61.59 kB / 0.683 GB, free: 13.3 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.1676, allocations: 4 kB / 0.683 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.1676, allocations: 7.938 kB / 0.683 GB, free: 13.29 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.1677, allocations: 4 kB / 0.683 GB, free: 13.29 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.074e-05/0.1677, allocations: 7.938 kB / 0.683 GB, free: 13.28 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.1677, allocations: 0 / 0.683 GB, free: 13.28 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.171e-05/0.1678, allocations: 3.938 kB / 0.683 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.1678, allocations: 4 kB / 0.683 GB, free: 13.27 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 6.761e-05/0.1679, allocations: 115.1 kB / 0.6832 GB, free: 13.15 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.367e-06/0.1679, allocations: 0 / 0.6832 GB, free: 13.15 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.978e-05/0.1679, allocations: 15.44 kB / 0.6832 GB, free: 13.13 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1679, allocations: 0 / 0.6832 GB, free: 13.13 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.1679, allocations: 7.938 kB / 0.6832 GB, free: 13.12 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.1679, allocations: 0 / 0.6832 GB, free: 13.12 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001022/0.168, allocations: 157.9 kB / 0.6833 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.168, allocations: 0 / 0.6833 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.992e-05/0.1681, allocations: 8 kB / 0.6833 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.1681, allocations: 0 / 0.6833 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.1681, allocations: 3.938 kB / 0.6833 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1681, allocations: 0 / 0.6833 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.1681, allocations: 0 / 0.6833 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001/0.1682, allocations: 89.09 kB / 0.6834 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.558e-05/0.1683, allocations: 81.11 kB / 0.6835 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.219e-05/0.1683, allocations: 3.938 kB / 0.6835 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.274e-05/0.1684, allocations: 0 / 0.6835 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.393e-05/0.1684, allocations: 4 kB / 0.6835 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.211e-06/0.1684, allocations: 3.984 kB / 0.6835 GB, free: 12.69 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.801e-05/0.1684, allocations: 79.22 kB / 0.6836 GB, free: 12.61 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1684, allocations: 0 / 0.6836 GB, free: 12.61 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001852/0.1686, allocations: 12 kB / 0.6836 GB, free: 12.6 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 9.925e-05/0.1687, allocations: 99.34 kB / 0.6837 GB, free: 12.49 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.752e-05/0.1688, allocations: 23.98 kB / 0.6837 GB, free: 12.47 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1688, allocations: 0 / 0.6837 GB, free: 12.47 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.192e-05/0.1689, allocations: 12 kB / 0.6837 GB, free: 12.46 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000248/0.1691, allocations: 11.98 kB / 0.6837 GB, free: 12.45 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002971/0.1694, allocations: 136.2 kB / 0.6839 GB, free: 12.29 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002343/0.1697, allocations: 0.677 MB / 0.6845 GB, free: 11.58 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.086e-05/0.1697, allocations: 4 kB / 0.6845 GB, free: 11.58 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.388e-05/0.1697, allocations: 11.44 kB / 0.6845 GB, free: 11.57 MB / 494.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1698, allocations: 0 / 0.6845 GB, free: 11.57 MB / 494.1 MB Notification: Performance of Templates: time 0.002427/0.1722, allocations: 0.5006 MB / 0.685 GB, free: 11.08 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)