Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-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(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.0007948/0.0007951, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0008863/0.0008865, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.348/1.348, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.991/0.991, allocations: 143.4 MB / 434.4 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003588/0.0003592, allocations: 12 kB / 0.5161 GB, free: 11.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.1785, allocations: 83.41 MB / 0.5975 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.002059/0.1806, allocations: 1.358 MB / 0.5989 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008029/0.1815, allocations: 367.1 kB / 0.5992 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001088/0.1816, allocations: 3.938 kB / 0.5992 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001004/0.1817, allocations: 11.86 kB / 0.5992 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.886e-05/0.1818, allocations: 23.84 kB / 0.5992 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004554/0.1822, allocations: 99.73 kB / 0.5993 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001679/0.1824, allocations: 91.58 kB / 0.5994 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.1826, allocations: 40.14 kB / 0.5995 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.218e-05/0.1826, allocations: 27.92 kB / 0.5995 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.925e-05/0.1827, allocations: 31.84 kB / 0.5995 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.007e-05/0.1827, allocations: 4 kB / 0.5995 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001375/0.1829, allocations: 51.95 kB / 0.5996 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.6e-05/0.1829, allocations: 19.91 kB / 0.5996 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.901e-05/0.183, allocations: 37.64 kB / 0.5996 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001597/0.1831, allocations: 88.06 kB / 0.5997 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.124e-06/0.1831, allocations: 7.938 kB / 0.5997 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.784e-06/0.1832, allocations: 4 kB / 0.5997 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.1832, allocations: 4 kB / 0.5997 GB, free: 5.426 MB / 0.4981 GB 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.0005973/0.1838, allocations: 403 kB / 0.6001 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.907e-05/0.1838, allocations: 12.03 kB / 0.6001 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.004e-05/0.1839, allocations: 34.56 kB / 0.6002 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000235/0.1841, allocations: 39.83 kB / 0.6002 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002743/0.1844, allocations: 194.8 kB / 0.6004 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.91e-05/0.1845, allocations: 29.7 kB / 0.6004 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.125e-05/0.1845, allocations: 12 kB / 0.6004 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002613/0.1848, allocations: 107.5 kB / 0.6005 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.1848, allocations: 4 kB / 0.6005 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.1848, allocations: 0 / 0.6005 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.1848, allocations: 4 kB / 0.6005 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002309/0.1851, allocations: 91.89 kB / 0.6006 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006625/0.1857, allocations: 404.2 kB / 0.601 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004805/0.1862, allocations: 138.5 kB / 0.6011 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001108/0.1864, allocations: 48.86 kB / 0.6012 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.417e-05/0.1864, allocations: 0 / 0.6012 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.1864, allocations: 34.56 kB / 0.6012 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.1864, allocations: 0 / 0.6012 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0004006/0.1868, allocations: 145.7 kB / 0.6014 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.426e-05/0.1869, allocations: 55.41 kB / 0.6014 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.187, allocations: 135.7 kB / 0.6015 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.216e-05/0.187, allocations: 33.7 kB / 0.6016 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.015e-05/0.1871, allocations: 100.3 kB / 0.6017 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.569e-05/0.1872, allocations: 27.64 kB / 0.6017 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.408e-06/0.1872, allocations: 0 / 0.6017 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.1873, allocations: 322.8 kB / 0.602 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.1874, allocations: 35.98 kB / 0.602 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001076/0.1875, allocations: 53.69 kB / 0.6021 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001025/0.1876, allocations: 35.98 kB / 0.6021 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.1876, allocations: 3.953 kB / 0.6021 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002637/0.1879, allocations: 121.5 kB / 0.6022 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.1879, allocations: 11.98 kB / 0.6022 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.1879, allocations: 0 / 0.6022 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.188, allocations: 8.031 kB / 0.6023 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.1881, allocations: 19.98 kB / 0.6023 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.1881, allocations: 0 / 0.6023 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.38e-05/0.1882, allocations: 8 kB / 0.6023 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.768e-06/0.1882, allocations: 8 kB / 0.6023 GB, free: 2.562 MB / 0.4981 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.225e-05/0.1883, allocations: 121.8 kB / 0.6024 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.284e-05/0.1883, allocations: 15.8 kB / 0.6024 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.669e-05/0.1884, allocations: 12.72 kB / 0.6024 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1884, allocations: 0 / 0.6024 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.1884, allocations: 4 kB / 0.6024 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.1884, allocations: 0 / 0.6024 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002029/0.1886, allocations: 209.4 kB / 0.6026 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.1886, allocations: 7.922 kB / 0.6026 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.558e-05/0.1887, allocations: 23.94 kB / 0.6027 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.1887, allocations: 0 / 0.6027 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.1887, allocations: 0 / 0.6027 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.1887, allocations: 4 kB / 0.6027 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1887, allocations: 4 kB / 0.6027 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003102/0.1891, allocations: 203.4 kB / 0.6029 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.225e-05/0.1891, allocations: 93 kB / 0.603 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.943e-05/0.1892, allocations: 3.953 kB / 0.603 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.1893, allocations: 15.98 kB / 0.603 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.986e-05/0.1893, allocations: 4 kB / 0.603 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.1894, allocations: 7.984 kB / 0.603 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.995e-05/0.1894, allocations: 105.7 kB / 0.6031 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1895, allocations: 4 kB / 0.6031 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002348/0.1897, allocations: 20 kB / 0.6031 GB, free: 1.625 MB / 0.4981 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000701/0.1904, allocations: 0.7475 MB / 0.6038 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002587/0.1907, allocations: 84.59 kB / 0.6039 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1907, allocations: 0 / 0.6039 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001067/0.1908, allocations: 44.03 kB / 0.604 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003753/0.1912, allocations: 28.58 kB / 0.604 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2757/0.4669, allocations: 0.6545 MB / 0.6046 GB, free: 40.62 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001577/0.4671, allocations: 0.6935 MB / 0.6053 GB, free: 39.93 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001155/0.4672, allocations: 11.7 kB / 0.6053 GB, free: 39.93 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.575e-05/0.4673, allocations: 27.78 kB / 0.6053 GB, free: 39.92 MB / 0.4981 GB Notification: Performance of SimCode: time 1.062e-06/0.4673, allocations: 0 / 0.6053 GB, free: 39.92 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01318/0.4805, allocations: 2.388 MB / 0.6077 GB, free: 39.87 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001494/0.4807, allocations: 216.7 kB / 0.6079 GB, free: 39.62 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.716/2.197, allocations: 0 / 0.6079 GB, free: 39.62 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_HumidityRatioPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_HumidityRatioPressure.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) Environment - environmentSimulation: