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: "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.DewPointTemperature,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_DewPointTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.DewPointTemperature,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_DewPointTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005593/0.005593, allocations: 99.89 kB / 15.73 MB, free: 6.027 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.001293/0.001293, allocations: 187 kB / 16.67 MB, free: 5.969 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.299/1.299, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002112/0.002112, allocations: 286.5 kB / 290.8 MB, free: 1.914 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.924/0.924, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001784/0.001784, allocations: 100.1 kB / 0.6809 GB, free: 28 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1622/0.164, allocations: 86.98 MB / 0.7659 GB, free: 8.969 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.DewPointTemperature): time 0.002881/0.1669, allocations: 1.509 MB / 0.7674 GB, free: 7.449 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001538/0.1685, allocations: 0.8883 MB / 0.7682 GB, free: 6.559 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.502e-05/0.1686, allocations: 0 / 0.7682 GB, free: 6.559 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001166/0.1687, allocations: 7.922 kB / 0.7682 GB, free: 6.551 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.338e-05/0.1688, allocations: 11.88 kB / 0.7683 GB, free: 6.539 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006481/0.1695, allocations: 203.1 kB / 0.7684 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001231/0.1696, allocations: 59.73 kB / 0.7685 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.1697, allocations: 11.98 kB / 0.7685 GB, free: 6.27 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.824e-05/0.1698, allocations: 23.86 kB / 0.7685 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.679e-05/0.1699, allocations: 27.91 kB / 0.7686 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.592e-05/0.1699, allocations: 4 kB / 0.7686 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005502/0.1704, allocations: 331.5 kB / 0.7689 GB, free: 5.891 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.753e-05/0.1705, allocations: 11.98 kB / 0.7689 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.679e-05/0.1705, allocations: 15.88 kB / 0.7689 GB, free: 5.863 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004116/0.1709, allocations: 231.5 kB / 0.7691 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1709, allocations: 0 / 0.7691 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.312e-06/0.171, allocations: 0 / 0.7691 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.171, allocations: 0 / 0.7691 GB, free: 5.637 MB / 0.5606 GB 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.0005397/0.1715, allocations: 411.2 kB / 0.7695 GB, free: 5.184 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.1716, allocations: 8.031 kB / 0.7695 GB, free: 5.176 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.63e-05/0.1716, allocations: 38.73 kB / 0.7696 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002714/0.1719, allocations: 20.91 kB / 0.7696 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000208/0.1721, allocations: 176.3 kB / 0.7698 GB, free: 4.898 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.1721, allocations: 8.312 kB / 0.7698 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.742e-05/0.1721, allocations: 4.375 kB / 0.7698 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002189/0.1724, allocations: 70.22 kB / 0.7698 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.1724, allocations: 3.938 kB / 0.7698 GB, free: 4.809 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.1724, allocations: 8 kB / 0.7698 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.1724, allocations: 0 / 0.7698 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002072/0.1726, allocations: 59.94 kB / 0.7699 GB, free: 4.742 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004487/0.1731, allocations: 308.5 kB / 0.7702 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002208/0.1733, allocations: 78.64 kB / 0.7703 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.1734, allocations: 32.94 kB / 0.7703 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.547e-05/0.1735, allocations: 7.922 kB / 0.7703 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/0.1735, allocations: 34.56 kB / 0.7703 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=5): time 1.563e-06/0.1735, allocations: 0 / 0.7703 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5): time 0.0003853/0.1739, allocations: 117.6 kB / 0.7705 GB, free: 4.098 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.481e-05/0.1739, allocations: 51.41 kB / 0.7705 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.588e-05/0.174, allocations: 109.8 kB / 0.7706 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.532e-05/0.174, allocations: 25.7 kB / 0.7706 GB, free: 3.887 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.368e-05/0.1741, allocations: 84.14 kB / 0.7707 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.509e-05/0.1741, allocations: 19.7 kB / 0.7707 GB, free: 3.781 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.92e-05/0.1742, allocations: 21.72 kB / 0.7708 GB, free: 3.754 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.1743, allocations: 322.7 kB / 0.7711 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001079/0.1744, allocations: 35.91 kB / 0.7711 GB, free: 3.395 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.82e-05/0.1745, allocations: 19.98 kB / 0.7711 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001705/0.1747, allocations: 60.81 kB / 0.7712 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1747, allocations: 0 / 0.7712 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002248/0.1749, allocations: 89.66 kB / 0.7713 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.1749, allocations: 8 kB / 0.7713 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.1749, allocations: 0 / 0.7713 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.175, allocations: 0 / 0.7713 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009664/0.1759, allocations: 115.9 kB / 0.7714 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001506/0.1774, allocations: 1.485 MB / 0.7728 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.608e-05/0.1775, allocations: 12.03 kB / 0.7728 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.1776, allocations: 16.06 kB / 0.7729 GB, free: 1.445 MB / 0.5606 GB 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 9.023e-05/0.1777, allocations: 106.5 kB / 0.773 GB, free: 1.332 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.213e-05/0.1777, allocations: 7.906 kB / 0.773 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005622/0.1783, allocations: 146.3 kB / 0.7731 GB, free: 1.164 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.1783, allocations: 7.922 kB / 0.7731 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.1783, allocations: 0 / 0.7731 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.1783, allocations: 0 / 0.7731 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002002/0.1785, allocations: 177.6 kB / 0.7733 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.75e-06/0.1785, allocations: 3.984 kB / 0.7733 GB, free: 0.9297 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.866e-05/0.1786, allocations: 15.97 kB / 0.7733 GB, free: 0.9141 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003246/0.1789, allocations: 40.83 kB / 0.7733 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.179, allocations: 0 / 0.7733 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3333/0.5123, allocations: 1.438 MB / 0.7747 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.5123, allocations: 3 kB / 0.7747 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005652/0.5129, allocations: 226 kB / 0.775 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.552e-05/0.513, allocations: 87.41 kB / 0.775 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/0.513, allocations: 1.906 kB / 0.775 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001172/0.5131, allocations: 9.266 kB / 0.7751 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.281e-05/0.5132, allocations: 9.516 kB / 0.7751 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.5132, allocations: 2.125 kB / 0.7751 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.915e-05/0.5132, allocations: 87.52 kB / 0.7751 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5132, allocations: 0.625 kB / 0.7751 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002816/0.5135, allocations: 15.28 kB / 0.7752 GB, free: 13.4 MB / 0.5606 GB 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 0.0007214/0.5142, allocations: 0.7577 MB / 0.7759 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001104/0.5154, allocations: 158.5 kB / 0.7761 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.5154, allocations: 0 / 0.7761 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003151/0.5157, allocations: 156.2 kB / 0.7762 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003321/0.516, allocations: 18.97 kB / 0.7762 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001714/0.5178, allocations: 1.399 MB / 0.7776 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000108/0.5179, allocations: 0.6845 MB / 0.7783 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.958e-05/0.5179, allocations: 6.719 kB / 0.7783 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.185e-05/0.518, allocations: 17.91 kB / 0.7783 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of SimCode: time 7.72e-07/0.518, allocations: 0 / 0.7783 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02172/0.5397, allocations: 2.415 MB / 0.7806 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.24/10.78, allocations: 6.672 kB / 0.7806 GB, free: 10.43 MB / 0.5606 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_DewPointTemperature_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_DewPointTemperature.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.DewPointTemperature.pipe 2>&1)