Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 112.6 kB / 16.37 MB, free: 6 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.001177/0.001177, allocations: 196 kB / 17.31 MB, free: 5.613 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.255/1.255, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002023/0.002023, allocations: 295.7 kB / 291.5 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.9105/0.9105, allocations: 169.3 MB / 0.4989 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001728/0.001729, allocations: 95.34 kB / 0.5967 GB, free: 14.39 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1521, allocations: 86.98 MB / 0.6816 GB, free: 7.398 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.00218/0.1543, allocations: 1.277 MB / 0.6829 GB, free: 6.113 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001272/0.1556, allocations: 0.8504 MB / 0.6837 GB, free: 5.258 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.918e-05/0.1557, allocations: 0 / 0.6837 GB, free: 5.258 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.555e-05/0.1557, allocations: 4 kB / 0.6837 GB, free: 5.254 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.716e-05/0.1557, allocations: 11.86 kB / 0.6837 GB, free: 5.242 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006016/0.1564, allocations: 202.2 kB / 0.6839 GB, free: 5.047 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.315e-05/0.1564, allocations: 15.94 kB / 0.6839 GB, free: 5.031 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.643e-05/0.1565, allocations: 0 / 0.6839 GB, free: 5.031 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.431e-05/0.1565, allocations: 8 kB / 0.6839 GB, free: 5.023 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.892e-05/0.1565, allocations: 11.92 kB / 0.6839 GB, free: 5.012 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.001e-05/0.1566, allocations: 4 kB / 0.6839 GB, free: 5.008 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003405/0.1569, allocations: 236.5 kB / 0.6842 GB, free: 4.777 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.174e-05/0.1569, allocations: 4 kB / 0.6842 GB, free: 4.773 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.246e-05/0.157, allocations: 4 kB / 0.6842 GB, free: 4.77 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002387/0.1572, allocations: 155.6 kB / 0.6843 GB, free: 4.617 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.1572, allocations: 0 / 0.6843 GB, free: 4.617 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1572, allocations: 4 kB / 0.6843 GB, free: 4.613 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.1572, allocations: 0 / 0.6843 GB, free: 4.613 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.00035/0.1576, allocations: 351.5 kB / 0.6847 GB, free: 4.223 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.1576, allocations: 16.03 kB / 0.6847 GB, free: 4.207 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001561/0.1578, allocations: 8.922 kB / 0.6847 GB, free: 4.199 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.1579, allocations: 164.4 kB / 0.6848 GB, free: 4 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.1579, allocations: 4.375 kB / 0.6848 GB, free: 3.996 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/0.1579, allocations: 8.125 kB / 0.6848 GB, free: 3.988 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001098/0.158, allocations: 45.69 kB / 0.6849 GB, free: 3.938 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.081e-06/0.1581, allocations: 0 / 0.6849 GB, free: 3.938 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.1581, allocations: 0 / 0.6849 GB, free: 3.938 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.1581, allocations: 0 / 0.6849 GB, free: 3.938 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.702e-05/0.1581, allocations: 19.92 kB / 0.6849 GB, free: 3.918 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001385/0.1583, allocations: 161.7 kB / 0.6851 GB, free: 3.711 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000893/0.1592, allocations: 130.5 kB / 0.6852 GB, free: 3.574 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.127e-05/0.1592, allocations: 24.78 kB / 0.6852 GB, free: 3.547 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001179/0.1594, allocations: 97.09 kB / 0.6853 GB, free: 3.434 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.566e-05/0.1594, allocations: 30.56 kB / 0.6853 GB, free: 3.395 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.543e-06/0.1594, allocations: 0 / 0.6853 GB, free: 3.395 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001631/0.1596, allocations: 65.53 kB / 0.6854 GB, free: 3.324 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.924e-05/0.1596, allocations: 51.41 kB / 0.6854 GB, free: 3.262 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.671e-05/0.1597, allocations: 93.86 kB / 0.6855 GB, free: 3.16 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.1597, allocations: 29.7 kB / 0.6856 GB, free: 3.125 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.853e-05/0.1597, allocations: 84.27 kB / 0.6856 GB, free: 3.039 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.816e-05/0.1598, allocations: 11.83 kB / 0.6857 GB, free: 3.027 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-05/0.1598, allocations: 17.72 kB / 0.6857 GB, free: 3.004 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.1599, allocations: 310.8 kB / 0.686 GB, free: 2.691 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.147e-05/0.1599, allocations: 11.98 kB / 0.686 GB, free: 2.68 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.608e-05/0.16, allocations: 8 kB / 0.686 GB, free: 2.672 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.48e-05/0.16, allocations: 20.86 kB / 0.686 GB, free: 2.648 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.16, allocations: 0 / 0.686 GB, free: 2.648 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.265e-05/0.1601, allocations: 65.47 kB / 0.6861 GB, free: 2.578 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.1601, allocations: 14.34 kB / 0.6861 GB, free: 2.566 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.1601, allocations: 3.984 kB / 0.6861 GB, free: 2.562 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.1601, allocations: 0 / 0.6861 GB, free: 2.562 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.19e-05/0.1602, allocations: 4 kB / 0.6861 GB, free: 2.559 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.1602, allocations: 4 kB / 0.6861 GB, free: 2.555 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.685e-05/0.1602, allocations: 0 / 0.6861 GB, free: 2.555 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.1603, allocations: 4 kB / 0.6861 GB, free: 2.551 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.788e-05/0.1603, allocations: 105.8 kB / 0.6862 GB, free: 2.438 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.135e-05/0.1604, allocations: 11.88 kB / 0.6862 GB, free: 2.426 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001966/0.1606, allocations: 85.09 kB / 0.6863 GB, free: 2.332 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1606, allocations: 0 / 0.6863 GB, free: 2.332 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.1606, allocations: 4 kB / 0.6863 GB, free: 2.328 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.1606, allocations: 0 / 0.6863 GB, free: 2.328 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001029/0.1607, allocations: 161.5 kB / 0.6865 GB, free: 2.121 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.1607, allocations: 4 kB / 0.6865 GB, free: 2.117 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.947e-05/0.1608, allocations: 8 kB / 0.6865 GB, free: 2.109 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1608, allocations: 0 / 0.6865 GB, free: 2.109 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.1608, allocations: 0 / 0.6865 GB, free: 2.109 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.167e-06/0.1608, allocations: 4.062 kB / 0.6865 GB, free: 2.105 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.1608, allocations: 4 kB / 0.6865 GB, free: 2.102 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001128/0.1609, allocations: 92.91 kB / 0.6866 GB, free: 1.992 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.504e-05/0.161, allocations: 81.09 kB / 0.6866 GB, free: 1.895 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.246e-05/0.161, allocations: 8 kB / 0.6866 GB, free: 1.887 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.77e-05/0.161, allocations: 4 kB / 0.6866 GB, free: 1.883 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.329e-05/0.161, allocations: 0 / 0.6866 GB, free: 1.883 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.926e-06/0.1611, allocations: 7.984 kB / 0.6867 GB, free: 1.875 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.673e-05/0.1611, allocations: 75.28 kB / 0.6867 GB, free: 1.801 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1611, allocations: 0 / 0.6867 GB, free: 1.801 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002409/0.1613, allocations: 48 kB / 0.6868 GB, free: 1.754 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 (5): * Single equations (assignments): 5 * 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.0002963/0.1616, allocations: 173.3 kB / 0.6869 GB, free: 1.578 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.798e-05/0.1618, allocations: 27.98 kB / 0.687 GB, free: 1.551 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1618, allocations: 0 / 0.687 GB, free: 1.551 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.774e-05/0.1618, allocations: 19.94 kB / 0.687 GB, free: 1.531 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001488/0.162, allocations: 17.23 kB / 0.687 GB, free: 1.516 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002669/0.1622, allocations: 114.7 kB / 0.6871 GB, free: 1.379 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000301/0.1625, allocations: 0.6807 MB / 0.6878 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.807e-05/0.1626, allocations: 11.94 kB / 0.6878 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.463e-05/0.1626, allocations: 7.438 kB / 0.6878 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1626, allocations: 7.938 kB / 0.6878 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of Templates: time 0.2289/0.3916, allocations: 1.061 MB / 0.6888 GB, free: 17.63 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1)