Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.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_TDewPoi_comparison,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 104.2 kB / 15.99 MB, free: 6.359 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.001219/0.001219, allocations: 199.3 kB / 16.91 MB, free: 6.191 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.222/1.222, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001985/0.001985, allocations: 288.2 kB / 291 MB, free: 14.72 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8895/0.8895, allocations: 169.2 MB / 0.4985 GB, free: 4.762 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001585/0.001585, allocations: 94.27 kB / 0.5953 GB, free: 15.57 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1527, allocations: 86.98 MB / 0.6803 GB, free: 8.602 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison): time 0.002138/0.1548, allocations: 1.358 MB / 0.6816 GB, free: 7.227 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001016/0.1559, allocations: 0.764 MB / 0.6823 GB, free: 6.461 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.959e-05/0.1559, allocations: 0 / 0.6823 GB, free: 6.461 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.818e-05/0.1559, allocations: 3.938 kB / 0.6824 GB, free: 6.457 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.114e-05/0.156, allocations: 3.984 kB / 0.6824 GB, free: 6.453 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004113/0.1564, allocations: 147.4 kB / 0.6825 GB, free: 6.309 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.939e-05/0.1565, allocations: 27.88 kB / 0.6825 GB, free: 6.281 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.412e-05/0.1565, allocations: 7.984 kB / 0.6825 GB, free: 6.273 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.9e-05/0.1565, allocations: 4 kB / 0.6825 GB, free: 6.27 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.457e-05/0.1566, allocations: 11.94 kB / 0.6825 GB, free: 6.258 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.093e-06/0.1566, allocations: 0 / 0.6825 GB, free: 6.258 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003574/0.1569, allocations: 291.5 kB / 0.6828 GB, free: 5.973 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.169e-05/0.157, allocations: 7.984 kB / 0.6828 GB, free: 5.965 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.507e-05/0.157, allocations: 15.92 kB / 0.6828 GB, free: 5.949 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001685/0.1572, allocations: 108.1 kB / 0.6829 GB, free: 5.844 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.1572, allocations: 0 / 0.6829 GB, free: 5.844 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1572, allocations: 4 kB / 0.683 GB, free: 5.84 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.1572, allocations: 4 kB / 0.683 GB, free: 5.836 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003542/0.1576, allocations: 359.5 kB / 0.6833 GB, free: 5.434 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.1576, allocations: 11.97 kB / 0.6833 GB, free: 5.422 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002221/0.1578, allocations: 16.91 kB / 0.6833 GB, free: 5.406 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.581e-05/0.1579, allocations: 164.4 kB / 0.6835 GB, free: 5.207 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.965e-06/0.1579, allocations: 4.359 kB / 0.6835 GB, free: 5.203 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.294e-05/0.158, allocations: 8.312 kB / 0.6835 GB, free: 5.195 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001034/0.1581, allocations: 50.25 kB / 0.6835 GB, free: 5.141 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-06/0.1581, allocations: 192 / 0.6835 GB, free: 5.141 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.1581, allocations: 3.938 kB / 0.6835 GB, free: 5.137 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.1581, allocations: 0 / 0.6835 GB, free: 5.137 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.661e-05/0.1582, allocations: 31.92 kB / 0.6836 GB, free: 5.105 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001535/0.1583, allocations: 165.6 kB / 0.6837 GB, free: 4.895 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/0.1584, allocations: 62.56 kB / 0.6838 GB, free: 4.824 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.95e-05/0.1585, allocations: 28.86 kB / 0.6838 GB, free: 4.793 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/0.1585, allocations: 0 / 0.6838 GB, free: 4.793 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/0.1585, allocations: 38.55 kB / 0.6839 GB, free: 4.746 MB / 494.1 MB Notification: Performance of pre-optimization done (n=6): time 7.92e-07/0.1585, allocations: 0 / 0.6839 GB, free: 4.746 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.0001705/0.1587, allocations: 77.62 kB / 0.6839 GB, free: 4.664 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.533e-05/0.1588, allocations: 51.41 kB / 0.684 GB, free: 4.602 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.188e-05/0.1588, allocations: 89.86 kB / 0.6841 GB, free: 4.504 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.1588, allocations: 33.83 kB / 0.6841 GB, free: 4.465 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.213e-05/0.1589, allocations: 80.14 kB / 0.6842 GB, free: 4.383 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.597e-05/0.1589, allocations: 15.8 kB / 0.6842 GB, free: 4.367 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.548e-05/0.1589, allocations: 21.62 kB / 0.6842 GB, free: 4.34 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.398e-05/0.159, allocations: 318.8 kB / 0.6845 GB, free: 4.02 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.328e-05/0.1591, allocations: 11.98 kB / 0.6845 GB, free: 4.008 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.124e-05/0.1591, allocations: 12 kB / 0.6845 GB, free: 3.996 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.606e-05/0.1592, allocations: 37.22 kB / 0.6846 GB, free: 3.957 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.1592, allocations: 4 kB / 0.6846 GB, free: 3.953 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.134e-05/0.1593, allocations: 65.69 kB / 0.6846 GB, free: 3.883 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.1593, allocations: 6.031 kB / 0.6846 GB, free: 3.879 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.1593, allocations: 3.938 kB / 0.6847 GB, free: 3.875 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-06/0.1593, allocations: 4 kB / 0.6847 GB, free: 3.871 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.1594, allocations: 11.94 kB / 0.6847 GB, free: 3.859 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.1594, allocations: 7.984 kB / 0.6847 GB, free: 3.852 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.508e-05/0.1595, allocations: 4 kB / 0.6847 GB, free: 3.848 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-06/0.1595, allocations: 0 / 0.6847 GB, free: 3.848 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 (6): * Single equations (assignments): 6 * 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 7.148e-05/0.1596, allocations: 117.8 kB / 0.6848 GB, free: 3.723 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.059e-05/0.1596, allocations: 0 / 0.6848 GB, free: 3.723 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001818/0.1598, allocations: 89.56 kB / 0.6849 GB, free: 3.625 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1598, allocations: 4 kB / 0.6849 GB, free: 3.621 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.1598, allocations: 0 / 0.6849 GB, free: 3.621 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.1598, allocations: 3.984 kB / 0.6849 GB, free: 3.617 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001049/0.1599, allocations: 169.5 kB / 0.685 GB, free: 3.402 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.1599, allocations: 7.938 kB / 0.6851 GB, free: 3.395 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.729e-05/0.16, allocations: 15.94 kB / 0.6851 GB, free: 3.379 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.16, allocations: 3.984 kB / 0.6851 GB, free: 3.375 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.16, allocations: 11.94 kB / 0.6851 GB, free: 3.363 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.16, allocations: 0 / 0.6851 GB, free: 3.363 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.16, allocations: 0 / 0.6851 GB, free: 3.363 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001148/0.1602, allocations: 85.12 kB / 0.6852 GB, free: 3.262 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.305e-05/0.1602, allocations: 85.09 kB / 0.6852 GB, free: 3.16 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/0.1602, allocations: 11.94 kB / 0.6853 GB, free: 3.148 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.373e-05/0.1603, allocations: 0 / 0.6853 GB, free: 3.148 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.638e-05/0.1603, allocations: 4 kB / 0.6853 GB, free: 3.145 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.946e-06/0.1603, allocations: 7.984 kB / 0.6853 GB, free: 3.137 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.321e-05/0.1604, allocations: 79.22 kB / 0.6853 GB, free: 3.059 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1604, allocations: 0 / 0.6853 GB, free: 3.059 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001779/0.1606, allocations: 12 kB / 0.6854 GB, free: 3.047 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 (7): * Single equations (assignments): 7 * 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.463e-05/0.1607, allocations: 103.3 kB / 0.6855 GB, free: 2.938 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001001/0.1608, allocations: 39.97 kB / 0.6855 GB, free: 2.898 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1608, allocations: 0 / 0.6855 GB, free: 2.898 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.536e-05/0.1608, allocations: 31.92 kB / 0.6855 GB, free: 2.867 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001853/0.161, allocations: 5.016 kB / 0.6855 GB, free: 2.863 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002856/0.1613, allocations: 168.5 kB / 0.6857 GB, free: 2.668 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002038/0.1615, allocations: 0.6768 MB / 0.6863 GB, free: 1.965 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.903e-05/0.1615, allocations: 15.42 kB / 0.6864 GB, free: 1.953 MB / 494.1 MB Notification: Performance of SimCode: time 2e-07/0.1616, allocations: 0 / 0.6864 GB, free: 1.953 MB / 494.1 MB Notification: Performance of Templates: time 0.001539/0.1631, allocations: 0.599 MB / 0.6869 GB, free: 1.359 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe 2>&1)