Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.SaturationPressureLiquid,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="BuildingSystems_BuildingSystems_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.001545/0.001545, allocations: 108 kB / 15.6 MB, free: 132 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.001863/0.001863, allocations: 193.2 kB / 16.53 MB, free: 6.391 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.392/1.392, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002239/0.002239, allocations: 286.4 kB / 290.7 MB, free: 1.988 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9779/0.9779, allocations: 169.3 MB / 0.4982 GB, free: 13.84 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 102.7 kB / 0.5953 GB, free: 27.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1915/0.1934, allocations: 86.98 MB / 0.6803 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.003209/0.1966, allocations: 1.404 MB / 0.6817 GB, free: 15.2 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005452/0.1972, allocations: 199.7 kB / 0.6818 GB, free: 15 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.185e-05/0.1973, allocations: 0 / 0.6818 GB, free: 15 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.826e-05/0.1973, allocations: 0 / 0.6818 GB, free: 15 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.638e-05/0.1974, allocations: 7.922 kB / 0.6819 GB, free: 15 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002379/0.1976, allocations: 24.72 kB / 0.6819 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.752e-05/0.1977, allocations: 20.66 kB / 0.6819 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.1978, allocations: 12.77 kB / 0.6819 GB, free: 14.94 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.888e-05/0.1979, allocations: 11.92 kB / 0.6819 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.042e-05/0.1979, allocations: 12.61 kB / 0.6819 GB, free: 14.92 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/0.198, allocations: 0 / 0.6819 GB, free: 14.92 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001135/0.1981, allocations: 25.98 kB / 0.682 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.512e-05/0.1981, allocations: 7.938 kB / 0.682 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.986e-05/0.1981, allocations: 7.938 kB / 0.682 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001444/0.1983, allocations: 43.88 kB / 0.682 GB, free: 14.84 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1983, allocations: 0 / 0.682 GB, free: 14.84 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1983, allocations: 4 kB / 0.682 GB, free: 14.83 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.1983, allocations: 0 / 0.682 GB, free: 14.83 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005126/0.1988, allocations: 339.5 kB / 0.6823 GB, free: 14.45 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/0.1989, allocations: 8.031 kB / 0.6823 GB, free: 14.44 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.253e-05/0.199, allocations: 42.69 kB / 0.6824 GB, free: 14.39 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001553/0.1991, allocations: 4.844 kB / 0.6824 GB, free: 14.39 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001534/0.1993, allocations: 164.4 kB / 0.6825 GB, free: 14.19 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.1993, allocations: 384 / 0.6825 GB, free: 14.19 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.348e-06/0.1993, allocations: 4.312 kB / 0.6826 GB, free: 14.18 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001959/0.1995, allocations: 54.23 kB / 0.6826 GB, free: 14.12 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.1996, allocations: 7.922 kB / 0.6826 GB, free: 14.12 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.1996, allocations: 0 / 0.6826 GB, free: 14.12 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.1996, allocations: 0 / 0.6826 GB, free: 14.12 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001693/0.1998, allocations: 31.97 kB / 0.6826 GB, free: 14.09 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003612/0.2001, allocations: 256.9 kB / 0.6829 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/0.2003, allocations: 34.5 kB / 0.6829 GB, free: 13.74 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.465e-05/0.2004, allocations: 24.91 kB / 0.6829 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.2004, allocations: 0 / 0.6829 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/0.2004, allocations: 30.56 kB / 0.683 GB, free: 13.68 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.2004, allocations: 3.938 kB / 0.683 GB, free: 13.67 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004244/0.2009, allocations: 93.48 kB / 0.6831 GB, free: 13.57 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/0.2009, allocations: 51.41 kB / 0.6831 GB, free: 13.51 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.19e-05/0.201, allocations: 101.8 kB / 0.6832 GB, free: 13.4 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.201, allocations: 25.7 kB / 0.6832 GB, free: 13.37 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.99e-05/0.2011, allocations: 84.14 kB / 0.6833 GB, free: 13.29 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.905e-05/0.2011, allocations: 4.031 kB / 0.6833 GB, free: 13.28 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.953e-05/0.2011, allocations: 21.72 kB / 0.6833 GB, free: 13.25 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.382e-05/0.2012, allocations: 314.8 kB / 0.6836 GB, free: 12.94 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.421e-05/0.2013, allocations: 15.98 kB / 0.6837 GB, free: 12.92 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.102e-05/0.2014, allocations: 11.98 kB / 0.6837 GB, free: 12.91 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001959/0.2016, allocations: 44.88 kB / 0.6837 GB, free: 12.86 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.2016, allocations: 3.938 kB / 0.6837 GB, free: 12.86 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001937/0.2018, allocations: 65.61 kB / 0.6838 GB, free: 12.79 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.2018, allocations: 4 kB / 0.6838 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.2018, allocations: 3.984 kB / 0.6838 GB, free: 12.78 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.2019, allocations: 192 / 0.6838 GB, free: 12.78 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.828e-05/0.202, allocations: 8 kB / 0.6838 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.202, allocations: 0 / 0.6838 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.399e-05/0.202, allocations: 12.02 kB / 0.6838 GB, free: 12.76 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.974e-06/0.202, allocations: 4 kB / 0.6838 GB, free: 12.76 MB / 494.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.002e-05/0.2021, allocations: 115.1 kB / 0.6839 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.53e-05/0.2022, allocations: 3.984 kB / 0.6839 GB, free: 12.63 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002402/0.2024, allocations: 80.7 kB / 0.684 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.2024, allocations: 4 kB / 0.684 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.2024, allocations: 3.938 kB / 0.684 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.2024, allocations: 0 / 0.684 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001437/0.2026, allocations: 165.6 kB / 0.6842 GB, free: 12.33 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.2026, allocations: 0 / 0.6842 GB, free: 12.33 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.724e-05/0.2027, allocations: 8 kB / 0.6842 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.2027, allocations: 0 / 0.6842 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.2027, allocations: 3.984 kB / 0.6842 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.2027, allocations: 4 kB / 0.6842 GB, free: 12.31 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2027, allocations: 0 / 0.6842 GB, free: 12.31 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002473/0.203, allocations: 171.4 kB / 0.6843 GB, free: 12.13 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.308e-05/0.203, allocations: 85.05 kB / 0.6844 GB, free: 12.03 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/0.203, allocations: 4 kB / 0.6844 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.959e-05/0.2031, allocations: 7.984 kB / 0.6844 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.739e-05/0.2032, allocations: 3.938 kB / 0.6844 GB, free: 12.01 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.2032, allocations: 4 kB / 0.6844 GB, free: 12.01 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.428e-05/0.2032, allocations: 79.28 kB / 0.6845 GB, free: 11.93 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2032, allocations: 0 / 0.6845 GB, free: 11.93 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002201/0.2034, allocations: 19.92 kB / 0.6845 GB, free: 11.91 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 (3): * Single equations (assignments): 3 * 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.0005291/0.204, allocations: 0.6968 MB / 0.6852 GB, free: 11.18 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002101/0.2042, allocations: 43.89 kB / 0.6853 GB, free: 11.14 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2042, allocations: 0 / 0.6853 GB, free: 11.14 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.823e-05/0.2043, allocations: 19.98 kB / 0.6853 GB, free: 11.12 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003345/0.2047, allocations: 4 kB / 0.6853 GB, free: 11.12 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004661/0.2051, allocations: 152.3 kB / 0.6854 GB, free: 10.93 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002508/0.2054, allocations: 0.6768 MB / 0.6861 GB, free: 10.23 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.284e-05/0.2054, allocations: 0 / 0.6861 GB, free: 10.23 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.3e-05/0.2055, allocations: 11.44 kB / 0.6861 GB, free: 10.21 MB / 494.1 MB Notification: Performance of SimCode: time 5.61e-07/0.2055, allocations: 0 / 0.6861 GB, free: 10.21 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0174/0.2229, allocations: 1.369 MB / 0.6874 GB, free: 8.98 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.743/7.966, allocations: 7.469 kB / 0.6874 GB, free: 8.977 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SaturationPressureLiquid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)