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.0009803/0.0009804, allocations: 108.1 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.0009601/0.0009601, 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.237/1.237, 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.002006/0.002006, allocations: 278.4 kB / 291.4 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8799/0.8799, allocations: 169.3 MB / 0.4989 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001684/0.001685, allocations: 94.22 kB / 0.5967 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1564, allocations: 86.97 MB / 0.6816 GB, free: 7.457 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.DewPointTemperature): time 0.002441/0.1589, allocations: 1.521 MB / 0.6831 GB, free: 5.922 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001132/0.16, allocations: 0.8805 MB / 0.6839 GB, free: 5.039 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.969e-05/0.1601, allocations: 0 / 0.6839 GB, free: 5.039 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.545e-05/0.1602, allocations: 7.875 kB / 0.6839 GB, free: 5.031 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.332e-05/0.1602, allocations: 11.94 kB / 0.684 GB, free: 5.02 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004274/0.1607, allocations: 199.1 kB / 0.6841 GB, free: 4.824 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.781e-05/0.1608, allocations: 59.72 kB / 0.6842 GB, free: 4.766 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.523e-05/0.1609, allocations: 11.94 kB / 0.6842 GB, free: 4.754 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4e-05/0.1609, allocations: 27.92 kB / 0.6842 GB, free: 4.727 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.474e-05/0.161, allocations: 19.92 kB / 0.6843 GB, free: 4.707 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.233e-05/0.161, allocations: 7.984 kB / 0.6843 GB, free: 4.699 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000476/0.1615, allocations: 335.4 kB / 0.6846 GB, free: 4.371 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.258e-05/0.1615, allocations: 8 kB / 0.6846 GB, free: 4.363 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.016e-05/0.1615, allocations: 27.86 kB / 0.6846 GB, free: 4.336 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003102/0.1618, allocations: 219.6 kB / 0.6848 GB, free: 4.121 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1618, allocations: 0 / 0.6848 GB, free: 4.121 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1618, allocations: 0 / 0.6848 GB, free: 4.121 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.587e-06/0.1619, allocations: 0 / 0.6848 GB, free: 4.121 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.0004543/0.1623, allocations: 403.3 kB / 0.6852 GB, free: 3.676 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.064e-05/0.1623, allocations: 11.97 kB / 0.6852 GB, free: 3.664 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002433/0.1626, allocations: 24.91 kB / 0.6852 GB, free: 3.641 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001765/0.1628, allocations: 180.2 kB / 0.6854 GB, free: 3.426 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.367e-06/0.1628, allocations: 384 / 0.6854 GB, free: 3.426 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.453e-05/0.1628, allocations: 4.375 kB / 0.6854 GB, free: 3.422 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001952/0.163, allocations: 74.22 kB / 0.6855 GB, free: 3.344 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.163, allocations: 192 / 0.6855 GB, free: 3.344 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.163, allocations: 3.938 kB / 0.6855 GB, free: 3.34 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.1631, allocations: 4 kB / 0.6855 GB, free: 3.336 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001961/0.1633, allocations: 71.81 kB / 0.6856 GB, free: 3.266 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000416/0.1637, allocations: 292.7 kB / 0.6859 GB, free: 2.93 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002008/0.1639, allocations: 82.67 kB / 0.6859 GB, free: 2.84 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.628e-05/0.164, allocations: 36.78 kB / 0.686 GB, free: 2.801 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.183e-05/0.164, allocations: 0 / 0.686 GB, free: 2.801 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.1641, allocations: 34.56 kB / 0.686 GB, free: 2.758 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 8.91e-07/0.1641, allocations: 0 / 0.686 GB, free: 2.758 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003486/0.1644, allocations: 121.6 kB / 0.6861 GB, free: 2.633 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.926e-05/0.1645, allocations: 55.41 kB / 0.6862 GB, free: 2.566 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.569e-05/0.1645, allocations: 105.8 kB / 0.6863 GB, free: 2.453 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.1646, allocations: 25.7 kB / 0.6863 GB, free: 2.422 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.71e-05/0.1646, allocations: 95.98 kB / 0.6864 GB, free: 2.324 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.131e-05/0.1646, allocations: 19.78 kB / 0.6864 GB, free: 2.305 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.327e-05/0.1647, allocations: 17.72 kB / 0.6864 GB, free: 2.281 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.545e-05/0.1648, allocations: 318.8 kB / 0.6867 GB, free: 1.961 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.805e-05/0.1649, allocations: 27.97 kB / 0.6867 GB, free: 1.934 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.716e-05/0.165, allocations: 23.98 kB / 0.6868 GB, free: 1.91 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001693/0.1651, allocations: 56.81 kB / 0.6868 GB, free: 1.852 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1651, allocations: 0 / 0.6868 GB, free: 1.852 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002142/0.1654, allocations: 97.59 kB / 0.6869 GB, free: 1.75 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.1654, allocations: 4 kB / 0.6869 GB, free: 1.746 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.616e-06/0.1654, allocations: 0 / 0.6869 GB, free: 1.746 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.858e-06/0.1654, allocations: 4 kB / 0.6869 GB, free: 1.742 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009394/0.1663, allocations: 115.9 kB / 0.687 GB, free: 1.629 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001294/0.1677, allocations: 1.484 MB / 0.6885 GB, free: 0 / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2474/0.4151, allocations: 6.312 kB / 0.6885 GB, free: 17.74 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.448e-05/0.4151, allocations: 3.172 kB / 0.6885 GB, free: 17.74 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 7.637e-05/0.4152, allocations: 114.7 kB / 0.6886 GB, free: 17.62 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.679e-05/0.4153, allocations: 2.656 kB / 0.6886 GB, free: 17.62 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000606/0.4159, allocations: 150.5 kB / 0.6888 GB, free: 17.58 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.4159, allocations: 1.578 kB / 0.6888 GB, free: 17.58 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.4159, allocations: 1.875 kB / 0.6888 GB, free: 17.58 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.4159, allocations: 1.062 kB / 0.6888 GB, free: 17.58 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001586/0.4161, allocations: 186.2 kB / 0.6889 GB, free: 17.39 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.4161, allocations: 2.5 kB / 0.6889 GB, free: 17.39 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.567e-05/0.4162, allocations: 13.42 kB / 0.6889 GB, free: 17.39 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003167/0.4165, allocations: 35.05 kB / 0.689 GB, free: 17.38 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.4165, allocations: 1.656 kB / 0.689 GB, free: 17.38 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009741/0.4175, allocations: 1.452 MB / 0.6904 GB, free: 16.02 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.4175, allocations: 3.938 kB / 0.6904 GB, free: 16.02 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004805/0.418, allocations: 219.1 kB / 0.6906 GB, free: 15.88 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.052e-05/0.418, allocations: 85.72 kB / 0.6907 GB, free: 15.79 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.187e-05/0.4181, allocations: 9.453 kB / 0.6907 GB, free: 15.79 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.93e-05/0.4182, allocations: 6.75 kB / 0.6907 GB, free: 15.79 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.425e-05/0.4182, allocations: 8.734 kB / 0.6907 GB, free: 15.79 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-06/0.4182, allocations: 3.328 kB / 0.6907 GB, free: 15.79 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.099e-05/0.4183, allocations: 87.19 kB / 0.6908 GB, free: 15.71 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4183, allocations: 1.719 kB / 0.6908 GB, free: 15.71 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002532/0.4185, allocations: 17.17 kB / 0.6908 GB, free: 15.71 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 8.413e-05/0.4186, allocations: 103.8 kB / 0.6909 GB, free: 15.62 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001075/0.4197, allocations: 155.9 kB / 0.6911 GB, free: 15.62 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4197, allocations: 2.719 kB / 0.6911 GB, free: 15.62 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000276/0.42, allocations: 151.4 kB / 0.6912 GB, free: 15.52 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002673/0.4203, allocations: 18.11 kB / 0.6912 GB, free: 15.52 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006469/0.4209, allocations: 200.7 kB / 0.6914 GB, free: 15.4 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001053/0.421, allocations: 0.688 MB / 0.6921 GB, free: 14.7 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.6e-05/0.4211, allocations: 7.5 kB / 0.6921 GB, free: 14.7 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.271e-05/0.4211, allocations: 9.25 kB / 0.6921 GB, free: 14.7 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4211, allocations: 0 / 0.6921 GB, free: 14.7 MB / 494.1 MB Notification: Performance of Templates: time 0.003491/0.4246, allocations: 1.235 MB / 0.6933 GB, free: 14.65 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.DewPointTemperature.pipe 2>&1)