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.001252/0.001251, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001299/0.001299, allocations: 195.9 kB / 16.14 MB, free: 6.664 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.301/1.301, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001939/0.001939, allocations: 279.2 kB / 290.2 MB, free: 2.227 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9409/0.9409, allocations: 169.2 MB / 0.4977 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001608/0.001608, allocations: 92.45 kB / 0.5946 GB, free: 28.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1606/0.1622, allocations: 86.98 MB / 0.6795 GB, free: 1.113 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.002661/0.1649, allocations: 1.714 MB / 0.6812 GB, free: 15.4 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008086/0.1658, allocations: 409.1 kB / 0.6816 GB, free: 15 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.421e-05/0.1658, allocations: 4 kB / 0.6816 GB, free: 15 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001092/0.166, allocations: 3.938 kB / 0.6816 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.511e-05/0.166, allocations: 21.19 kB / 0.6816 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004051/0.1664, allocations: 119.9 kB / 0.6817 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001516/0.1666, allocations: 104.9 kB / 0.6818 GB, free: 14.76 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001416/0.1668, allocations: 44.56 kB / 0.6819 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.02e-05/0.1668, allocations: 31.92 kB / 0.6819 GB, free: 14.68 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.647e-05/0.1669, allocations: 43.77 kB / 0.682 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.341e-05/0.1669, allocations: 8 kB / 0.682 GB, free: 14.63 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001258/0.1671, allocations: 63.94 kB / 0.682 GB, free: 14.57 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.211e-05/0.1671, allocations: 19.92 kB / 0.6821 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.638e-05/0.1672, allocations: 35.8 kB / 0.6821 GB, free: 14.52 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001996/0.1674, allocations: 123.6 kB / 0.6822 GB, free: 14.39 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.1674, allocations: 0 / 0.6822 GB, free: 14.39 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.41e-07/0.1674, allocations: 0 / 0.6822 GB, free: 14.39 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.1674, allocations: 8 kB / 0.6822 GB, free: 14.39 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.0005689/0.168, allocations: 415.2 kB / 0.6826 GB, free: 13.93 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.168, allocations: 12.03 kB / 0.6826 GB, free: 13.92 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.019e-05/0.1681, allocations: 38.73 kB / 0.6827 GB, free: 13.87 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002295/0.1683, allocations: 28.73 kB / 0.6827 GB, free: 13.84 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001871/0.1685, allocations: 192.2 kB / 0.6829 GB, free: 13.62 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.599e-05/0.1686, allocations: 42.2 kB / 0.6829 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.64e-05/0.1686, allocations: 8.359 kB / 0.6829 GB, free: 13.56 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002658/0.1689, allocations: 102 kB / 0.683 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.1689, allocations: 0 / 0.683 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.8e-05/0.1689, allocations: 8 kB / 0.683 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.1689, allocations: 0 / 0.683 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002369/0.1692, allocations: 83.06 kB / 0.6831 GB, free: 13.37 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006778/0.1699, allocations: 396.4 kB / 0.6835 GB, free: 12.93 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005056/0.1704, allocations: 126.6 kB / 0.6836 GB, free: 12.8 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000113/0.1705, allocations: 48.81 kB / 0.6836 GB, free: 12.75 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.388e-05/0.1705, allocations: 0 / 0.6836 GB, free: 12.75 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/0.1705, allocations: 30.56 kB / 0.6837 GB, free: 12.71 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 9.51e-07/0.1705, allocations: 0 / 0.6837 GB, free: 12.71 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004077/0.171, allocations: 141.7 kB / 0.6838 GB, free: 12.57 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.172e-05/0.171, allocations: 55.34 kB / 0.6839 GB, free: 12.5 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.1711, allocations: 133.8 kB / 0.684 GB, free: 12.36 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.215e-05/0.1711, allocations: 29.64 kB / 0.684 GB, free: 12.32 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.021e-05/0.1712, allocations: 100.1 kB / 0.6841 GB, free: 12.22 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.272e-05/0.1712, allocations: 19.66 kB / 0.6841 GB, free: 12.2 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.154e-05/0.1713, allocations: 21.72 kB / 0.6842 GB, free: 12.18 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.1714, allocations: 322.8 kB / 0.6845 GB, free: 11.85 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001036/0.1715, allocations: 35.91 kB / 0.6845 GB, free: 11.82 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001002/0.1716, allocations: 41.69 kB / 0.6845 GB, free: 11.77 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001912/0.1718, allocations: 74.16 kB / 0.6846 GB, free: 11.69 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1718, allocations: 4 kB / 0.6846 GB, free: 11.69 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002523/0.1721, allocations: 125.4 kB / 0.6847 GB, free: 11.56 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.1721, allocations: 4 kB / 0.6847 GB, free: 11.55 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.1721, allocations: 0 / 0.6847 GB, free: 11.55 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.1721, allocations: 7.938 kB / 0.6847 GB, free: 11.55 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.1722, allocations: 15.98 kB / 0.6848 GB, free: 11.53 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.1722, allocations: 0 / 0.6848 GB, free: 11.53 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.591e-05/0.1723, allocations: 19.86 kB / 0.6848 GB, free: 11.51 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.886e-06/0.1724, allocations: 8 kB / 0.6848 GB, free: 11.5 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 8.28e-05/0.1724, allocations: 119.1 kB / 0.6849 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.602e-05/0.1725, allocations: 7.906 kB / 0.6849 GB, free: 11.37 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.706e-05/0.1725, allocations: 12.7 kB / 0.6849 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.1725, allocations: 7.938 kB / 0.6849 GB, free: 11.35 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1725, allocations: 0 / 0.6849 GB, free: 11.35 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.1726, allocations: 0 / 0.6849 GB, free: 11.35 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001919/0.1727, allocations: 205.6 kB / 0.6851 GB, free: 11.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1728, allocations: 0 / 0.6851 GB, free: 11.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.1729, allocations: 19.98 kB / 0.6851 GB, free: 11.08 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1729, allocations: 0 / 0.6851 GB, free: 11.08 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.196e-06/0.1729, allocations: 0 / 0.6851 GB, free: 11.08 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.1729, allocations: 3.938 kB / 0.6851 GB, free: 11.08 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1729, allocations: 0 / 0.6851 GB, free: 11.08 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002747/0.1732, allocations: 199.4 kB / 0.6853 GB, free: 10.87 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.795e-05/0.1732, allocations: 89.02 kB / 0.6854 GB, free: 10.76 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.768e-05/0.1733, allocations: 0 / 0.6854 GB, free: 10.76 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001557/0.1734, allocations: 23.91 kB / 0.6854 GB, free: 10.74 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.558e-05/0.1735, allocations: 0 / 0.6854 GB, free: 10.74 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/0.1735, allocations: 7.938 kB / 0.6854 GB, free: 10.73 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.467e-05/0.1736, allocations: 109.4 kB / 0.6855 GB, free: 10.62 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1736, allocations: 0 / 0.6855 GB, free: 10.62 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002492/0.1738, allocations: 27.84 kB / 0.6856 GB, free: 10.6 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.0005312/0.1743, allocations: 0.7358 MB / 0.6863 GB, free: 9.836 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002347/0.1746, allocations: 71.89 kB / 0.6864 GB, free: 9.766 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.1746, allocations: 4.062 kB / 0.6864 GB, free: 9.762 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001068/0.1747, allocations: 39.92 kB / 0.6864 GB, free: 9.723 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004322/0.1752, allocations: 32.78 kB / 0.6864 GB, free: 9.691 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001695/0.1769, allocations: 1.569 MB / 0.688 GB, free: 8.043 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002266/0.1771, allocations: 0.6965 MB / 0.6886 GB, free: 7.32 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.409e-05/0.1772, allocations: 4.672 kB / 0.6887 GB, free: 7.312 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.711e-05/0.1772, allocations: 35.36 kB / 0.6887 GB, free: 7.277 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1773, allocations: 0 / 0.6887 GB, free: 7.277 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.012/0.1893, allocations: 2.48 MB / 0.6911 GB, free: 4.965 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001709/0.1895, allocations: 231.1 kB / 0.6913 GB, free: 4.707 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.709/1.898, allocations: 2.25 kB / 0.6913 GB, free: 4.707 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)