Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.DewPointTemperature.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.Examples.DewPointTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.DewPointTemperature") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.DewPointTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.DewPointTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001325/0.001326, allocations: 108 kB / 15.99 MB, free: 6.363 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.001285/0.001285, allocations: 191.5 kB / 16.91 MB, free: 6.195 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.226/1.226, allocations: 222.9 MB / 240.6 MB, free: 13.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001983/0.001983, allocations: 286.2 kB / 291 MB, free: 14.51 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8803/0.8803, allocations: 169.2 MB / 0.4985 GB, free: 4.668 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001582/0.001582, allocations: 93.52 kB / 0.5953 GB, free: 15.54 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1608, allocations: 86.98 MB / 0.6803 GB, free: 8.578 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.DewPointTemperature): time 0.002448/0.1633, allocations: 1.578 MB / 0.6818 GB, free: 6.98 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001111/0.1644, allocations: 0.8689 MB / 0.6827 GB, free: 6.109 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.407e-05/0.1644, allocations: 0 / 0.6827 GB, free: 6.109 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.422e-05/0.1645, allocations: 7.922 kB / 0.6827 GB, free: 6.102 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.609e-05/0.1646, allocations: 11.92 kB / 0.6827 GB, free: 6.09 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004309/0.165, allocations: 179.4 kB / 0.6829 GB, free: 5.914 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.33e-05/0.1651, allocations: 59.72 kB / 0.6829 GB, free: 5.855 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.748e-05/0.1652, allocations: 20.2 kB / 0.6829 GB, free: 5.836 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.037e-05/0.1653, allocations: 19.88 kB / 0.6829 GB, free: 5.816 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.532e-05/0.1653, allocations: 27.91 kB / 0.683 GB, free: 5.789 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.064e-05/0.1653, allocations: 8 kB / 0.683 GB, free: 5.781 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004268/0.1658, allocations: 327.5 kB / 0.6833 GB, free: 5.461 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.597e-05/0.1658, allocations: 11.92 kB / 0.6833 GB, free: 5.449 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.873e-05/0.1658, allocations: 23.92 kB / 0.6833 GB, free: 5.426 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002248/0.1661, allocations: 151.8 kB / 0.6835 GB, free: 5.277 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.1661, allocations: 3.938 kB / 0.6835 GB, free: 5.273 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1661, allocations: 0 / 0.6835 GB, free: 5.273 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.1661, allocations: 0 / 0.6835 GB, free: 5.273 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004637/0.1666, allocations: 399.3 kB / 0.6839 GB, free: 4.832 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.09e-05/0.1666, allocations: 8.031 kB / 0.6839 GB, free: 4.824 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002507/0.1668, allocations: 24.91 kB / 0.6839 GB, free: 4.801 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000142/0.167, allocations: 180.2 kB / 0.6841 GB, free: 4.586 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.857e-06/0.167, allocations: 4.375 kB / 0.6841 GB, free: 4.582 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.386e-05/0.167, allocations: 4.375 kB / 0.6841 GB, free: 4.578 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002011/0.1672, allocations: 70.22 kB / 0.6841 GB, free: 4.504 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.1673, allocations: 192 / 0.6841 GB, free: 4.504 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.1673, allocations: 7.938 kB / 0.6841 GB, free: 4.496 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.1673, allocations: 4 kB / 0.6841 GB, free: 4.492 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002068/0.1675, allocations: 63.88 kB / 0.6842 GB, free: 4.43 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004181/0.1679, allocations: 304.7 kB / 0.6845 GB, free: 4.082 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002082/0.1681, allocations: 82.62 kB / 0.6846 GB, free: 3.992 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/0.1683, allocations: 28.84 kB / 0.6846 GB, free: 3.961 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.285e-05/0.1683, allocations: 3.984 kB / 0.6846 GB, free: 3.957 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.1683, allocations: 34.56 kB / 0.6846 GB, free: 3.914 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.1683, allocations: 0 / 0.6846 GB, free: 3.914 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003622/0.1687, allocations: 113.6 kB / 0.6848 GB, free: 3.797 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.099e-05/0.1687, allocations: 55.41 kB / 0.6848 GB, free: 3.73 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.689e-05/0.1688, allocations: 113.8 kB / 0.6849 GB, free: 3.609 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.1688, allocations: 25.7 kB / 0.6849 GB, free: 3.578 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.043e-05/0.1689, allocations: 99.97 kB / 0.685 GB, free: 3.477 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.865e-05/0.1689, allocations: 11.75 kB / 0.685 GB, free: 3.465 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.709e-05/0.1689, allocations: 21.72 kB / 0.6851 GB, free: 3.438 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.476e-05/0.169, allocations: 322.8 kB / 0.6854 GB, free: 3.113 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.296e-05/0.1691, allocations: 23.98 kB / 0.6854 GB, free: 3.09 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.159e-05/0.1692, allocations: 23.97 kB / 0.6854 GB, free: 3.066 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001749/0.1694, allocations: 61.2 kB / 0.6855 GB, free: 3.004 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1694, allocations: 0 / 0.6855 GB, free: 3.004 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002143/0.1696, allocations: 89.66 kB / 0.6856 GB, free: 2.91 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.1697, allocations: 4 kB / 0.6856 GB, free: 2.906 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.1697, allocations: 7.922 kB / 0.6856 GB, free: 2.898 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.367e-06/0.1697, allocations: 4 kB / 0.6856 GB, free: 2.895 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001006/0.1707, allocations: 115.9 kB / 0.6857 GB, free: 2.781 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00132/0.172, allocations: 1.484 MB / 0.6871 GB, free: 1.152 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.11e-05/0.1721, allocations: 11.95 kB / 0.6871 GB, free: 1.141 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-06/0.1721, allocations: 0 / 0.6871 GB, free: 1.141 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 (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.064e-05/0.1722, allocations: 113.8 kB / 0.6873 GB, free: 1.02 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.424e-05/0.1722, allocations: 0 / 0.6873 GB, free: 1.02 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005582/0.1728, allocations: 150.4 kB / 0.6874 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.147e-06/0.1728, allocations: 4 kB / 0.6874 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.12e-07/0.1728, allocations: 0 / 0.6874 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.1728, allocations: 0 / 0.6874 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001696/0.173, allocations: 185.5 kB / 0.6876 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.173, allocations: 4 kB / 0.6876 GB, free: 0.625 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.777e-05/0.1731, allocations: 16.05 kB / 0.6876 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002979/0.1734, allocations: 28.84 kB / 0.6876 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.1734, allocations: 12.03 kB / 0.6876 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2338/0.4073, allocations: 1.437 MB / 0.689 GB, free: 17.57 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.4073, allocations: 0 / 0.689 GB, free: 17.57 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000526/0.4078, allocations: 230.8 kB / 0.6893 GB, free: 17.43 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.236e-05/0.4079, allocations: 79.73 kB / 0.6893 GB, free: 17.34 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.4079, allocations: 2.125 kB / 0.6893 GB, free: 17.34 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.408, allocations: 11.03 kB / 0.6894 GB, free: 17.34 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.284e-05/0.4081, allocations: 9.812 kB / 0.6894 GB, free: 17.34 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.4081, allocations: 3.688 kB / 0.6894 GB, free: 17.34 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.594e-05/0.4081, allocations: 90.34 kB / 0.6894 GB, free: 17.27 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4081, allocations: 0 / 0.6894 GB, free: 17.27 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002586/0.4084, allocations: 22.75 kB / 0.6895 GB, free: 17.27 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): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 9.679e-05/0.4085, allocations: 105.3 kB / 0.6896 GB, free: 17.18 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001065/0.4096, allocations: 154 kB / 0.6897 GB, free: 17.18 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.4096, allocations: 0 / 0.6897 GB, free: 17.18 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002872/0.4099, allocations: 158.7 kB / 0.6899 GB, free: 17.07 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003099/0.4102, allocations: 8.078 kB / 0.6899 GB, free: 17.07 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006601/0.4109, allocations: 232.3 kB / 0.6901 GB, free: 16.91 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001005/0.411, allocations: 0.6914 MB / 0.6908 GB, free: 16.21 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.911e-05/0.411, allocations: 10.78 kB / 0.6908 GB, free: 16.2 MB / 494.1 MB Notification: Performance of SimCode: time 1.9e-07/0.411, allocations: 0 / 0.6908 GB, free: 16.2 MB / 494.1 MB Notification: Performance of Templates: time 0.002879/0.4139, allocations: 1.205 MB / 0.692 GB, free: 16.18 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.DewPointTemperature.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.DewPointTemperature.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.DewPointTemperature.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.DewPointTemperature.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.DewPointTemperature.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.DewPointTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.DewPointTemperature.pipe 2>&1)