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.0009934/0.0009934, allocations: 108 kB / 16.36 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.0009425/0.0009425, allocations: 189.4 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.248/1.248, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002055/0.002055, allocations: 303.1 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.9053/0.9053, allocations: 169.2 MB / 0.4989 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00167/0.00167, allocations: 99.88 kB / 0.5967 GB, free: 14.4 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1514, allocations: 86.97 MB / 0.6816 GB, free: 7.422 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002169/0.1536, allocations: 1.273 MB / 0.6828 GB, free: 6.141 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0012/0.1548, allocations: 0.8543 MB / 0.6837 GB, free: 5.281 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.906e-05/0.1548, allocations: 0 / 0.6837 GB, free: 5.281 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.617e-05/0.1549, allocations: 7.938 kB / 0.6837 GB, free: 5.273 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.116e-05/0.1549, allocations: 0 / 0.6837 GB, free: 5.273 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005826/0.1555, allocations: 202.5 kB / 0.6839 GB, free: 5.078 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.074e-05/0.1556, allocations: 15.92 kB / 0.6839 GB, free: 5.062 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.136e-05/0.1556, allocations: 3.938 kB / 0.6839 GB, free: 5.059 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.378e-05/0.1556, allocations: 15.92 kB / 0.6839 GB, free: 5.043 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.54e-05/0.1557, allocations: 11.92 kB / 0.6839 GB, free: 5.031 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.999e-06/0.1557, allocations: 4 kB / 0.6839 GB, free: 5.027 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003302/0.156, allocations: 235.7 kB / 0.6842 GB, free: 4.797 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.099e-05/0.1561, allocations: 4 kB / 0.6842 GB, free: 4.793 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.111e-05/0.1561, allocations: 11.92 kB / 0.6842 GB, free: 4.781 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002232/0.1563, allocations: 147.7 kB / 0.6843 GB, free: 4.637 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1563, allocations: 0 / 0.6843 GB, free: 4.637 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1563, allocations: 0 / 0.6843 GB, free: 4.637 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.1563, allocations: 0 / 0.6843 GB, free: 4.637 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.0003582/0.1567, allocations: 355.5 kB / 0.6846 GB, free: 4.242 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.105e-05/0.1567, allocations: 8.031 kB / 0.6847 GB, free: 4.234 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001562/0.1569, allocations: 12.92 kB / 0.6847 GB, free: 4.223 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.378e-05/0.157, allocations: 160.4 kB / 0.6848 GB, free: 4.027 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.157, allocations: 4.375 kB / 0.6848 GB, free: 4.023 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.03e-05/0.157, allocations: 8.125 kB / 0.6848 GB, free: 4.016 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001092/0.1571, allocations: 45.67 kB / 0.6849 GB, free: 3.965 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.1572, allocations: 7.922 kB / 0.6849 GB, free: 3.957 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/0.1572, allocations: 0 / 0.6849 GB, free: 3.957 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.1572, allocations: 0 / 0.6849 GB, free: 3.957 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.645e-05/0.1572, allocations: 15.98 kB / 0.6849 GB, free: 3.941 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001265/0.1574, allocations: 153.7 kB / 0.685 GB, free: 3.742 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008172/0.1582, allocations: 126.6 kB / 0.6852 GB, free: 3.609 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.088e-05/0.1582, allocations: 32.78 kB / 0.6852 GB, free: 3.574 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.581e-05/0.1583, allocations: 89.11 kB / 0.6853 GB, free: 3.469 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.091e-05/0.1584, allocations: 34.55 kB / 0.6853 GB, free: 3.426 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.1584, allocations: 3.938 kB / 0.6853 GB, free: 3.422 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001511/0.1585, allocations: 61.59 kB / 0.6854 GB, free: 3.355 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.15e-05/0.1586, allocations: 51.41 kB / 0.6854 GB, free: 3.293 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.46e-05/0.1586, allocations: 101.8 kB / 0.6855 GB, free: 3.184 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.1587, allocations: 25.7 kB / 0.6855 GB, free: 3.152 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.174e-05/0.1587, allocations: 84.27 kB / 0.6856 GB, free: 3.066 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.554e-05/0.1587, allocations: 11.83 kB / 0.6856 GB, free: 3.055 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.02e-05/0.1588, allocations: 17.72 kB / 0.6857 GB, free: 3.031 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.794e-05/0.1588, allocations: 310.8 kB / 0.686 GB, free: 2.719 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.033e-05/0.1589, allocations: 12 kB / 0.686 GB, free: 2.707 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.665e-05/0.1589, allocations: 7.984 kB / 0.686 GB, free: 2.699 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.535e-05/0.1589, allocations: 28.8 kB / 0.686 GB, free: 2.668 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.159, allocations: 0 / 0.686 GB, free: 2.668 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.271e-05/0.159, allocations: 61.53 kB / 0.6861 GB, free: 2.602 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.1591, allocations: 13.97 kB / 0.6861 GB, free: 2.59 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.347e-06/0.1591, allocations: 0 / 0.6861 GB, free: 2.59 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.758e-06/0.1591, allocations: 0 / 0.6861 GB, free: 2.59 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.63e-05/0.1591, allocations: 11.98 kB / 0.6861 GB, free: 2.578 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.1592, allocations: 0 / 0.6861 GB, free: 2.578 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.724e-05/0.1592, allocations: 0 / 0.6861 GB, free: 2.578 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/0.1592, allocations: 4 kB / 0.6861 GB, free: 2.574 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 7.223e-05/0.1593, allocations: 109.8 kB / 0.6862 GB, free: 2.457 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.107e-05/0.1593, allocations: 7.875 kB / 0.6862 GB, free: 2.449 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001958/0.1595, allocations: 77.17 kB / 0.6863 GB, free: 2.363 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.1595, allocations: 4 kB / 0.6863 GB, free: 2.359 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.1595, allocations: 0 / 0.6863 GB, free: 2.359 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.1595, allocations: 3.984 kB / 0.6863 GB, free: 2.355 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001074/0.1596, allocations: 157.9 kB / 0.6864 GB, free: 2.152 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.1597, allocations: 7.984 kB / 0.6864 GB, free: 2.145 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.014e-05/0.1597, allocations: 8 kB / 0.6864 GB, free: 2.137 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1597, allocations: 0 / 0.6864 GB, free: 2.137 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.1597, allocations: 4 kB / 0.6865 GB, free: 2.133 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.1597, allocations: 3.984 kB / 0.6865 GB, free: 2.129 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1597, allocations: 0 / 0.6865 GB, free: 2.129 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001078/0.1598, allocations: 97.02 kB / 0.6865 GB, free: 2.016 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.43e-05/0.1599, allocations: 85.09 kB / 0.6866 GB, free: 1.914 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.1599, allocations: 8 kB / 0.6866 GB, free: 1.906 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.693e-05/0.16, allocations: 4 kB / 0.6866 GB, free: 1.902 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.393e-05/0.16, allocations: 3.938 kB / 0.6866 GB, free: 1.898 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/0.16, allocations: 4 kB / 0.6866 GB, free: 1.895 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.96e-05/0.16, allocations: 75.28 kB / 0.6867 GB, free: 1.82 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.16, allocations: 0 / 0.6867 GB, free: 1.82 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000223/0.1603, allocations: 51.98 kB / 0.6868 GB, free: 1.77 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.0003013/0.1606, allocations: 167.9 kB / 0.6869 GB, free: 1.602 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.778e-05/0.1607, allocations: 31.92 kB / 0.687 GB, free: 1.57 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1607, allocations: 3.938 kB / 0.687 GB, free: 1.566 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.648e-05/0.1607, allocations: 16 kB / 0.687 GB, free: 1.551 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001498/0.1609, allocations: 11.94 kB / 0.687 GB, free: 1.539 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002634/0.1612, allocations: 121.1 kB / 0.6871 GB, free: 1.398 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000197/0.1614, allocations: 0.6807 MB / 0.6878 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.9e-05/0.1614, allocations: 15.86 kB / 0.6878 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.383e-05/0.1614, allocations: 11.44 kB / 0.6878 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1615, allocations: 4 kB / 0.6878 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of Templates: time 0.2468/0.4082, allocations: 1.05 MB / 0.6888 GB, free: 17.61 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 gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1)