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.001518/0.001518, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00203/0.00203, allocations: 190.7 kB / 16.25 MB, free: 6.625 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.28/1.28, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001984/0.001984, allocations: 282.7 kB / 290.3 MB, free: 2.137 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9198/0.9198, allocations: 169.2 MB / 0.4978 GB, free: 14.06 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001596/0.001596, allocations: 96.06 kB / 0.5948 GB, free: 28.26 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1714/0.173, allocations: 86.98 MB / 0.6797 GB, free: 0.9609 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.002548/0.1756, allocations: 1.711 MB / 0.6814 GB, free: 15.25 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006074/0.1762, allocations: 403 kB / 0.6818 GB, free: 14.85 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.29e-05/0.1763, allocations: 4 kB / 0.6818 GB, free: 14.85 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.565e-05/0.1764, allocations: 3.938 kB / 0.6818 GB, free: 14.84 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.811e-05/0.1764, allocations: 19.84 kB / 0.6818 GB, free: 14.82 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003691/0.1768, allocations: 111.7 kB / 0.6819 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001242/0.1769, allocations: 107.6 kB / 0.682 GB, free: 14.61 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.1771, allocations: 47.84 kB / 0.6821 GB, free: 14.56 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.371e-05/0.1771, allocations: 43.91 kB / 0.6821 GB, free: 14.52 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.711e-05/0.1772, allocations: 43.77 kB / 0.6821 GB, free: 14.48 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/0.1772, allocations: 8 kB / 0.6822 GB, free: 14.47 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001109/0.1773, allocations: 59.95 kB / 0.6822 GB, free: 14.41 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.247e-05/0.1774, allocations: 23.92 kB / 0.6822 GB, free: 14.39 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.789e-05/0.1774, allocations: 47.72 kB / 0.6823 GB, free: 14.34 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000178/0.1776, allocations: 127.6 kB / 0.6824 GB, free: 14.21 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1776, allocations: 4 kB / 0.6824 GB, free: 14.21 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1776, allocations: 0 / 0.6824 GB, free: 14.21 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.1776, allocations: 0 / 0.6824 GB, free: 14.21 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.00051/0.1781, allocations: 415.2 kB / 0.6828 GB, free: 13.75 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.1782, allocations: 8.031 kB / 0.6828 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.184e-05/0.1782, allocations: 46.73 kB / 0.6829 GB, free: 13.69 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002081/0.1784, allocations: 28.73 kB / 0.6829 GB, free: 13.66 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000169/0.1786, allocations: 194.9 kB / 0.6831 GB, free: 13.44 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.284e-05/0.1787, allocations: 42.19 kB / 0.6831 GB, free: 13.39 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.267e-05/0.1787, allocations: 4.375 kB / 0.6831 GB, free: 13.39 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002436/0.179, allocations: 112.1 kB / 0.6832 GB, free: 13.27 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.622e-06/0.179, allocations: 0 / 0.6832 GB, free: 13.27 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.179, allocations: 8 kB / 0.6832 GB, free: 13.27 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.179, allocations: 0 / 0.6832 GB, free: 13.27 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000216/0.1792, allocations: 79.94 kB / 0.6833 GB, free: 13.19 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006127/0.1798, allocations: 392.5 kB / 0.6837 GB, free: 12.75 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004911/0.1803, allocations: 126.6 kB / 0.6838 GB, free: 12.62 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.1805, allocations: 44.78 kB / 0.6838 GB, free: 12.57 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.231e-05/0.1805, allocations: 0 / 0.6838 GB, free: 12.57 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.1805, allocations: 34.56 kB / 0.6839 GB, free: 12.53 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 2.134e-06/0.1805, allocations: 0 / 0.6839 GB, free: 12.53 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003788/0.1809, allocations: 145.8 kB / 0.684 GB, free: 12.38 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.844e-05/0.1809, allocations: 55.34 kB / 0.6841 GB, free: 12.32 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.533e-05/0.181, allocations: 136.5 kB / 0.6842 GB, free: 12.18 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.1811, allocations: 25.7 kB / 0.6842 GB, free: 12.14 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.429e-05/0.1811, allocations: 104.1 kB / 0.6843 GB, free: 12.04 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.067e-05/0.1811, allocations: 19.66 kB / 0.6843 GB, free: 12.02 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.796e-05/0.1812, allocations: 21.7 kB / 0.6844 GB, free: 11.99 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.483e-05/0.1813, allocations: 318.8 kB / 0.6847 GB, free: 11.67 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.863e-05/0.1814, allocations: 35.91 kB / 0.6847 GB, free: 11.64 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.9e-05/0.1815, allocations: 49.69 kB / 0.6847 GB, free: 11.58 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001798/0.1817, allocations: 69.69 kB / 0.6848 GB, free: 11.51 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1817, allocations: 0 / 0.6848 GB, free: 11.51 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002381/0.1819, allocations: 117.5 kB / 0.6849 GB, free: 11.39 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.182, allocations: 7.984 kB / 0.6849 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.646e-06/0.182, allocations: 32 / 0.6849 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.182, allocations: 11.94 kB / 0.6849 GB, free: 11.37 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.1821, allocations: 15.98 kB / 0.685 GB, free: 11.35 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.1821, allocations: 0 / 0.685 GB, free: 11.35 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.389e-05/0.1822, allocations: 15.84 kB / 0.685 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.1822, allocations: 3.938 kB / 0.685 GB, free: 11.33 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.048e-05/0.1823, allocations: 127.1 kB / 0.6851 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.296e-05/0.1823, allocations: 7.906 kB / 0.6851 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.325e-05/0.1824, allocations: 16.72 kB / 0.6851 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.1824, allocations: 3.938 kB / 0.6851 GB, free: 11.17 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.1824, allocations: 0 / 0.6851 GB, free: 11.17 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.1824, allocations: 0 / 0.6851 GB, free: 11.17 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001829/0.1826, allocations: 201.6 kB / 0.6853 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1826, allocations: 0 / 0.6853 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001001/0.1827, allocations: 19.98 kB / 0.6853 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1827, allocations: 0 / 0.6853 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.1827, allocations: 0 / 0.6853 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.1827, allocations: 3.938 kB / 0.6853 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.1827, allocations: 0 / 0.6853 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002636/0.183, allocations: 207.3 kB / 0.6855 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.77e-05/0.183, allocations: 89 kB / 0.6856 GB, free: 10.58 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.596e-05/0.1831, allocations: 3.938 kB / 0.6856 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001578/0.1832, allocations: 19.92 kB / 0.6856 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.12e-05/0.1833, allocations: 4 kB / 0.6857 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.1833, allocations: 7.984 kB / 0.6857 GB, free: 10.54 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.836e-05/0.1833, allocations: 103.3 kB / 0.6858 GB, free: 10.44 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1833, allocations: 0 / 0.6858 GB, free: 10.44 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002314/0.1836, allocations: 27.84 kB / 0.6858 GB, free: 10.41 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.0004903/0.1841, allocations: 0.7319 MB / 0.6865 GB, free: 9.656 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002287/0.1843, allocations: 80.36 kB / 0.6866 GB, free: 9.578 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.1843, allocations: 0 / 0.6866 GB, free: 9.578 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001018/0.1844, allocations: 39.91 kB / 0.6866 GB, free: 9.539 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003486/0.1848, allocations: 37.34 kB / 0.6866 GB, free: 9.504 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001554/0.1864, allocations: 1.564 MB / 0.6882 GB, free: 7.863 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002079/0.1866, allocations: 0.7001 MB / 0.6889 GB, free: 7.137 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.213e-05/0.1867, allocations: 12.66 kB / 0.6889 GB, free: 7.121 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.114e-05/0.1867, allocations: 19.44 kB / 0.6889 GB, free: 7.102 MB / 494.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1867, allocations: 0 / 0.6889 GB, free: 7.102 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01195/0.1987, allocations: 2.57 MB / 0.6914 GB, free: 4.719 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002293/0.1989, allocations: 232.9 kB / 0.6916 GB, free: 4.465 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.79/1.989, allocations: 4.062 kB / 0.6916 GB, free: 4.461 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)