Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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.HumidityRatioPressure,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_HumidityRatioPressure",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.0009851/0.0009853, allocations: 109.4 kB / 15.69 MB, free: 124 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 189.4 kB / 16.62 MB, free: 6.578 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.304/1.304, allocations: 222.9 MB / 240.3 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001946/0.001946, allocations: 282.6 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.9443/0.9443, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 95.97 kB / 0.5955 GB, free: 28.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.163, allocations: 86.98 MB / 0.6804 GB, free: 0.5078 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.003216/0.1662, allocations: 1.665 MB / 0.6821 GB, free: 14.84 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007915/0.1671, allocations: 407 kB / 0.6824 GB, free: 14.44 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.867e-05/0.1672, allocations: 0 / 0.6824 GB, free: 14.44 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001189/0.1674, allocations: 11.86 kB / 0.6825 GB, free: 14.43 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.454e-05/0.1674, allocations: 23.73 kB / 0.6825 GB, free: 14.41 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005108/0.168, allocations: 118.4 kB / 0.6826 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001737/0.1681, allocations: 111.6 kB / 0.6827 GB, free: 14.18 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.1683, allocations: 47.89 kB / 0.6827 GB, free: 14.14 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.571e-05/0.1684, allocations: 39.91 kB / 0.6828 GB, free: 14.1 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.067e-05/0.1684, allocations: 39.78 kB / 0.6828 GB, free: 14.06 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.004e-05/0.1685, allocations: 8 kB / 0.6828 GB, free: 14.05 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001413/0.1686, allocations: 67.94 kB / 0.6829 GB, free: 13.98 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.932e-05/0.1686, allocations: 19.92 kB / 0.6829 GB, free: 13.96 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.307e-05/0.1687, allocations: 47.78 kB / 0.683 GB, free: 13.92 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002135/0.1689, allocations: 123.6 kB / 0.6831 GB, free: 13.8 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1689, allocations: 4 kB / 0.6831 GB, free: 13.79 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1689, allocations: 0 / 0.6831 GB, free: 13.79 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.169, allocations: 0 / 0.6831 GB, free: 13.79 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005815/0.1695, allocations: 415.2 kB / 0.6835 GB, free: 13.34 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.1696, allocations: 12.03 kB / 0.6835 GB, free: 13.32 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.597e-05/0.1696, allocations: 42.73 kB / 0.6835 GB, free: 13.27 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002319/0.1699, allocations: 32.67 kB / 0.6836 GB, free: 13.24 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002022/0.1701, allocations: 196.2 kB / 0.6837 GB, free: 13.01 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.82e-05/0.1702, allocations: 46.19 kB / 0.6838 GB, free: 12.96 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.742e-05/0.1702, allocations: 8.375 kB / 0.6838 GB, free: 12.95 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002655/0.1705, allocations: 103.7 kB / 0.6839 GB, free: 12.85 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.1705, allocations: 0 / 0.6839 GB, free: 12.85 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.716e-05/0.1705, allocations: 4 kB / 0.6839 GB, free: 12.84 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.1705, allocations: 0 / 0.6839 GB, free: 12.84 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002343/0.1708, allocations: 83.88 kB / 0.684 GB, free: 12.76 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006983/0.1715, allocations: 388.5 kB / 0.6844 GB, free: 12.33 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005136/0.172, allocations: 126.5 kB / 0.6845 GB, free: 12.2 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001107/0.1721, allocations: 44.88 kB / 0.6845 GB, free: 12.15 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.336e-05/0.1722, allocations: 0 / 0.6845 GB, free: 12.15 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.427e-05/0.1722, allocations: 34.56 kB / 0.6845 GB, free: 12.11 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.1722, allocations: 4 kB / 0.6846 GB, free: 12.11 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003961/0.1726, allocations: 141.6 kB / 0.6847 GB, free: 11.96 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.701e-05/0.1726, allocations: 55.34 kB / 0.6847 GB, free: 11.89 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.1727, allocations: 136.3 kB / 0.6849 GB, free: 11.75 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/0.1728, allocations: 25.7 kB / 0.6849 GB, free: 11.72 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.634e-05/0.1728, allocations: 96.12 kB / 0.685 GB, free: 11.62 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.494e-05/0.1729, allocations: 24.17 kB / 0.685 GB, free: 11.6 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.102e-05/0.1729, allocations: 21.7 kB / 0.685 GB, free: 11.57 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.173, allocations: 318.8 kB / 0.6853 GB, free: 11.25 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001033/0.1731, allocations: 35.97 kB / 0.6854 GB, free: 11.22 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001013/0.1732, allocations: 45.69 kB / 0.6854 GB, free: 11.17 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000192/0.1734, allocations: 73.62 kB / 0.6855 GB, free: 11.09 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.1735, allocations: 4 kB / 0.6855 GB, free: 11.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002516/0.1737, allocations: 113.5 kB / 0.6856 GB, free: 10.97 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.1737, allocations: 7.984 kB / 0.6856 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.1737, allocations: 4 kB / 0.6856 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.1738, allocations: 3.938 kB / 0.6856 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.1739, allocations: 19.92 kB / 0.6856 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.1739, allocations: 0 / 0.6856 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.197e-05/0.174, allocations: 15.84 kB / 0.6856 GB, free: 10.92 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.174, allocations: 4 kB / 0.6856 GB, free: 10.91 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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 9.014e-05/0.1741, allocations: 123.1 kB / 0.6858 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.683e-05/0.1741, allocations: 19.88 kB / 0.6858 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.65e-05/0.1742, allocations: 12.72 kB / 0.6858 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.1742, allocations: 3.938 kB / 0.6858 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1742, allocations: 0 / 0.6858 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.1742, allocations: 0 / 0.6858 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001975/0.1744, allocations: 197.6 kB / 0.686 GB, free: 10.51 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1744, allocations: 0 / 0.686 GB, free: 10.51 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000105/0.1745, allocations: 19.98 kB / 0.686 GB, free: 10.49 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1745, allocations: 7.938 kB / 0.686 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.1746, allocations: 0 / 0.686 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.1746, allocations: 3.938 kB / 0.686 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1746, allocations: 4 kB / 0.686 GB, free: 10.47 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002695/0.1748, allocations: 200 kB / 0.6862 GB, free: 10.26 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.638e-05/0.1749, allocations: 85 kB / 0.6863 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.1749, allocations: 4 kB / 0.6863 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001486/0.1751, allocations: 19.86 kB / 0.6863 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.407e-05/0.1751, allocations: 8 kB / 0.6863 GB, free: 10.13 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.706e-06/0.1751, allocations: 0 / 0.6863 GB, free: 10.13 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.543e-05/0.1752, allocations: 107.2 kB / 0.6864 GB, free: 10.02 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1752, allocations: 0 / 0.6864 GB, free: 10.02 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002329/0.1754, allocations: 23.84 kB / 0.6864 GB, free: 10 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 (7): * Single equations (assignments): 7 * 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.000529/0.176, allocations: 0.7436 MB / 0.6872 GB, free: 9.23 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002433/0.1762, allocations: 75.89 kB / 0.6872 GB, free: 9.156 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.1762, allocations: 0 / 0.6872 GB, free: 9.156 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.1764, allocations: 40.03 kB / 0.6873 GB, free: 9.117 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003142/0.1767, allocations: 26.73 kB / 0.6873 GB, free: 9.094 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001645/0.1783, allocations: 1.542 MB / 0.6888 GB, free: 7.473 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002181/0.1786, allocations: 0.7039 MB / 0.6895 GB, free: 6.742 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.102e-05/0.1786, allocations: 12.67 kB / 0.6895 GB, free: 6.727 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.105e-05/0.1787, allocations: 27.42 kB / 0.6895 GB, free: 6.699 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1787, allocations: 0 / 0.6895 GB, free: 6.699 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01693/0.1956, allocations: 2.731 MB / 0.6922 GB, free: 4.137 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.964/7.16, allocations: 6.938 kB / 0.6922 GB, free: 4.133 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_HumidityRatioPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_HumidityRatioPressure.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1)