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.001154/0.001154, allocations: 105.7 kB / 16.35 MB, free: 5.824 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.001129/0.001129, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.26/1.26, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002152/0.002152, allocations: 300.2 kB / 291.4 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9037/0.9037, allocations: 169.3 MB / 0.4989 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001689/0.001689, allocations: 99.5 kB / 0.5967 GB, free: 14.41 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1619, allocations: 86.97 MB / 0.6816 GB, free: 7.43 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.003115/0.1651, allocations: 1.254 MB / 0.6828 GB, free: 6.164 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007352/0.1658, allocations: 299 kB / 0.6831 GB, free: 5.871 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.446e-05/0.1659, allocations: 4 kB / 0.6831 GB, free: 5.867 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.8e-05/0.1659, allocations: 0 / 0.6831 GB, free: 5.867 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.224e-05/0.166, allocations: 3.938 kB / 0.6831 GB, free: 5.863 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003438/0.1663, allocations: 55.73 kB / 0.6832 GB, free: 5.809 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.615e-05/0.1664, allocations: 15.88 kB / 0.6832 GB, free: 5.793 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.108e-05/0.1664, allocations: 3.984 kB / 0.6832 GB, free: 5.789 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.853e-05/0.1665, allocations: 8 kB / 0.6832 GB, free: 5.781 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.908e-05/0.1665, allocations: 7.938 kB / 0.6832 GB, free: 5.773 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.182e-05/0.1666, allocations: 0 / 0.6832 GB, free: 5.773 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001573/0.1667, allocations: 63.95 kB / 0.6833 GB, free: 5.711 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.741e-05/0.1668, allocations: 7.922 kB / 0.6833 GB, free: 5.703 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.967e-05/0.1668, allocations: 7.984 kB / 0.6833 GB, free: 5.695 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000159/0.167, allocations: 51.84 kB / 0.6833 GB, free: 5.645 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.167, allocations: 0 / 0.6833 GB, free: 5.645 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.167, allocations: 0 / 0.6833 GB, free: 5.645 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.706e-06/0.167, allocations: 0 / 0.6833 GB, free: 5.645 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.0004065/0.1674, allocations: 331.5 kB / 0.6836 GB, free: 5.27 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.1675, allocations: 8.031 kB / 0.6836 GB, free: 5.262 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002824/0.1678, allocations: 28.91 kB / 0.6837 GB, free: 5.234 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/0.1679, allocations: 160.4 kB / 0.6838 GB, free: 5.039 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.1679, allocations: 4.375 kB / 0.6838 GB, free: 5.035 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.1679, allocations: 384 / 0.6838 GB, free: 5.035 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/0.1681, allocations: 42.25 kB / 0.6839 GB, free: 4.988 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.1681, allocations: 192 / 0.6839 GB, free: 4.988 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.1681, allocations: 7.922 kB / 0.6839 GB, free: 4.98 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.1681, allocations: 0 / 0.6839 GB, free: 4.98 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.346e-05/0.1682, allocations: 19.92 kB / 0.6839 GB, free: 4.961 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001924/0.1684, allocations: 161.7 kB / 0.6841 GB, free: 4.754 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002556/0.171, allocations: 266.4 kB / 0.6843 GB, free: 4.484 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.988e-05/0.171, allocations: 20.86 kB / 0.6843 GB, free: 4.461 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.499e-05/0.1711, allocations: 0 / 0.6843 GB, free: 4.461 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.933e-05/0.1711, allocations: 34.56 kB / 0.6844 GB, free: 4.418 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.1711, allocations: 0 / 0.6844 GB, free: 4.418 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002046/0.1713, allocations: 73.47 kB / 0.6844 GB, free: 4.34 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.213e-05/0.1714, allocations: 55.39 kB / 0.6845 GB, free: 4.273 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.582e-05/0.1715, allocations: 93.86 kB / 0.6846 GB, free: 4.172 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.1715, allocations: 25.7 kB / 0.6846 GB, free: 4.141 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.615e-05/0.1715, allocations: 80.14 kB / 0.6847 GB, free: 4.059 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.361e-05/0.1716, allocations: 19.83 kB / 0.6847 GB, free: 4.039 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.583e-05/0.1716, allocations: 17.66 kB / 0.6847 GB, free: 4.016 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.1718, allocations: 318.8 kB / 0.685 GB, free: 3.695 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.758e-05/0.1718, allocations: 4 kB / 0.685 GB, free: 3.691 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.482e-05/0.1719, allocations: 8 kB / 0.685 GB, free: 3.684 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.823e-05/0.1719, allocations: 28.92 kB / 0.6851 GB, free: 3.652 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1719, allocations: 4 kB / 0.6851 GB, free: 3.648 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001177/0.1721, allocations: 53.69 kB / 0.6851 GB, free: 3.59 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.1721, allocations: 6.188 kB / 0.6851 GB, free: 3.586 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.351e-06/0.1721, allocations: 3.938 kB / 0.6851 GB, free: 3.582 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.1721, allocations: 0 / 0.6851 GB, free: 3.582 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.695e-05/0.1722, allocations: 11.98 kB / 0.6851 GB, free: 3.57 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.1722, allocations: 0 / 0.6851 GB, free: 3.57 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.684e-05/0.1723, allocations: 7.844 kB / 0.6851 GB, free: 3.562 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/0.1723, allocations: 0 / 0.6851 GB, free: 3.562 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.924e-05/0.1724, allocations: 117.8 kB / 0.6853 GB, free: 3.438 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.406e-05/0.1724, allocations: 0 / 0.6853 GB, free: 3.438 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.381e-05/0.1725, allocations: 11.44 kB / 0.6853 GB, free: 3.422 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.808e-06/0.1725, allocations: 4 kB / 0.6853 GB, free: 3.418 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.1725, allocations: 0 / 0.6853 GB, free: 3.418 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.1725, allocations: 0 / 0.6853 GB, free: 3.418 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001357/0.1726, allocations: 153.7 kB / 0.6854 GB, free: 3.219 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1726, allocations: 4.266 kB / 0.6854 GB, free: 3.215 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.283e-05/0.1727, allocations: 7.984 kB / 0.6854 GB, free: 3.207 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.1727, allocations: 4 kB / 0.6854 GB, free: 3.203 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.1728, allocations: 7.938 kB / 0.6854 GB, free: 3.195 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.1728, allocations: 0 / 0.6854 GB, free: 3.195 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.1728, allocations: 4 kB / 0.6854 GB, free: 3.191 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001424/0.1729, allocations: 81.11 kB / 0.6855 GB, free: 3.094 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.305e-05/0.173, allocations: 77.11 kB / 0.6856 GB, free: 3 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/0.173, allocations: 7.938 kB / 0.6856 GB, free: 2.992 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.225e-05/0.1731, allocations: 3.984 kB / 0.6856 GB, free: 2.988 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.446e-05/0.1731, allocations: 0 / 0.6856 GB, free: 2.988 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.1732, allocations: 8 kB / 0.6856 GB, free: 2.98 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.055e-05/0.1732, allocations: 79.22 kB / 0.6857 GB, free: 2.902 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1732, allocations: 0 / 0.6857 GB, free: 2.902 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003295/0.1736, allocations: 8 kB / 0.6857 GB, free: 2.895 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.0001362/0.1737, allocations: 103.2 kB / 0.6858 GB, free: 2.781 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001229/0.1738, allocations: 19.98 kB / 0.6858 GB, free: 2.762 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.1739, allocations: 4 kB / 0.6858 GB, free: 2.758 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.39e-05/0.1739, allocations: 16.09 kB / 0.6858 GB, free: 2.742 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003038/0.1742, allocations: 17.47 kB / 0.6858 GB, free: 2.727 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000343/0.1746, allocations: 126.6 kB / 0.686 GB, free: 2.578 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002369/0.1748, allocations: 0.6758 MB / 0.6866 GB, free: 1.879 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.84e-05/0.1749, allocations: 8 kB / 0.6866 GB, free: 1.871 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.457e-05/0.1749, allocations: 11.42 kB / 0.6866 GB, free: 1.859 MB / 494.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1749, allocations: 0 / 0.6866 GB, free: 1.859 MB / 494.1 MB Notification: Performance of Templates: time 0.002815/0.1777, allocations: 0.5123 MB / 0.6871 GB, free: 1.352 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)