Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.SaturationPressureLiquid,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",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.001218/0.001218, allocations: 99.78 kB / 15.05 MB, free: 1.105 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.001392/0.001392, allocations: 177.3 kB / 15.94 MB, free: 228 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.4/1.4, allocations: 223.2 MB / 239.9 MB, free: 5.238 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.016/1.016, allocations: 143.3 MB / 434.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003728/0.0003731, allocations: 8 kB / 0.5159 GB, free: 11.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1841/0.1845, allocations: 83.41 MB / 0.5974 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.00145/0.186, allocations: 1.12 MB / 0.5984 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003627/0.1863, allocations: 187.5 kB / 0.5986 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.983e-05/0.1864, allocations: 4 kB / 0.5986 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.392e-05/0.1864, allocations: 0 / 0.5986 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.997e-05/0.1864, allocations: 7.922 kB / 0.5986 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001619/0.1866, allocations: 19.97 kB / 0.5987 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.268e-05/0.1867, allocations: 19.97 kB / 0.5987 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.185e-05/0.1867, allocations: 4 kB / 0.5987 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.471e-05/0.1868, allocations: 4 kB / 0.5987 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.69e-05/0.1868, allocations: 15.92 kB / 0.5987 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.123e-05/0.1869, allocations: 0 / 0.5987 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001394/0.187, allocations: 31.91 kB / 0.5987 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.949e-06/0.187, allocations: 7.984 kB / 0.5987 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.535e-05/0.1871, allocations: 25.7 kB / 0.5988 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.397e-05/0.1871, allocations: 28.19 kB / 0.5988 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.1872, allocations: 0 / 0.5988 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.104e-06/0.1872, allocations: 0 / 0.5988 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.1872, allocations: 4 kB / 0.5988 GB, free: 6.254 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003889/0.1876, allocations: 335.3 kB / 0.5991 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.1876, allocations: 12.03 kB / 0.5991 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.519e-05/0.1877, allocations: 34.5 kB / 0.5992 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.247e-05/0.1878, allocations: 3.953 kB / 0.5992 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.1879, allocations: 171 kB / 0.5993 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.438e-06/0.1879, allocations: 0 / 0.5993 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.215e-06/0.1879, allocations: 4 kB / 0.5993 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001667/0.1881, allocations: 57.67 kB / 0.5994 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.751e-06/0.1881, allocations: 0 / 0.5994 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.894e-06/0.1881, allocations: 0 / 0.5994 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.1881, allocations: 4 kB / 0.5994 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001701/0.1883, allocations: 51.91 kB / 0.5994 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003246/0.1886, allocations: 248.8 kB / 0.5997 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001383/0.1888, allocations: 46.59 kB / 0.5997 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.33e-05/0.1888, allocations: 0 / 0.5997 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.1888, allocations: 34.62 kB / 0.5997 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.1888, allocations: 0 / 0.5997 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003566/0.1892, allocations: 105.5 kB / 0.5998 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/0.1893, allocations: 51.41 kB / 0.5999 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.341e-05/0.1893, allocations: 97.98 kB / 0.6 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.1894, allocations: 33.64 kB / 0.6 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.36e-05/0.1894, allocations: 88.05 kB / 0.6001 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.363e-05/0.1894, allocations: 3.984 kB / 0.6001 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-06/0.1894, allocations: 4.125 kB / 0.6001 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.1896, allocations: 310.8 kB / 0.6004 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.555e-05/0.1897, allocations: 23.98 kB / 0.6004 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.575e-05/0.1897, allocations: 19.97 kB / 0.6005 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.959e-05/0.1898, allocations: 28.05 kB / 0.6005 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1899, allocations: 0 / 0.6005 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002017/0.1901, allocations: 81.53 kB / 0.6006 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.1901, allocations: 8 kB / 0.6006 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.1901, allocations: 0 / 0.6006 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.1901, allocations: 8.031 kB / 0.6006 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.799e-05/0.1902, allocations: 11.98 kB / 0.6006 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.1903, allocations: 3.953 kB / 0.6006 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.071e-05/0.1903, allocations: 4 kB / 0.6006 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/0.1903, allocations: 4 kB / 0.6006 GB, free: 4.18 MB / 0.4981 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 (2): * Single equations (assignments): 2 * 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.226e-05/0.1904, allocations: 113.8 kB / 0.6007 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.316e-05/0.1904, allocations: 3.984 kB / 0.6007 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002701/0.1907, allocations: 84.78 kB / 0.6008 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.1907, allocations: 4 kB / 0.6008 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.1908, allocations: 0 / 0.6008 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.1908, allocations: 3.953 kB / 0.6008 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002033/0.191, allocations: 157.7 kB / 0.6009 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.191, allocations: 0 / 0.6009 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.844e-05/0.1911, allocations: 19.92 kB / 0.601 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.1911, allocations: 0 / 0.601 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.1911, allocations: 0 / 0.601 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1911, allocations: 0 / 0.601 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1911, allocations: 0 / 0.601 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002818/0.1914, allocations: 183.4 kB / 0.6011 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.195e-05/0.1915, allocations: 77.11 kB / 0.6012 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/0.1915, allocations: 4 kB / 0.6012 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.286e-05/0.1916, allocations: 15.98 kB / 0.6012 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.419e-05/0.1916, allocations: 7.938 kB / 0.6012 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/0.1917, allocations: 0 / 0.6012 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.39e-05/0.1917, allocations: 87.2 kB / 0.6013 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1917, allocations: 0 / 0.6013 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002139/0.1919, allocations: 4 kB / 0.6013 GB, free: 3.332 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 (3): * Single equations (assignments): 3 * 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.0007111/0.1927, allocations: 0.7124 MB / 0.602 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002371/0.1929, allocations: 51.95 kB / 0.6021 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1929, allocations: 0 / 0.6021 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.547e-05/0.193, allocations: 31.92 kB / 0.6021 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002428/0.1933, allocations: 3.984 kB / 0.6021 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005578/0.1938, allocations: 158.3 kB / 0.6023 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000385/0.1942, allocations: 0.6809 MB / 0.6029 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.367e-05/0.1943, allocations: 3.984 kB / 0.6029 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.324e-05/0.1943, allocations: 11.44 kB / 0.6029 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.1944, allocations: 4 kB / 0.6029 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01146/0.2058, allocations: 1.086 MB / 0.604 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001795/0.206, allocations: 209.7 kB / 0.6042 GB, free: 440 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.676/1.882, allocations: 0 / 0.6042 GB, free: 440 kB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressureLiquid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) Environment - environmentSimulation: