Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.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.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",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.00117/0.00117, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.00125/0.00125, allocations: 190.5 kB / 16.25 MB, free: 6.145 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.344/1.344, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00213/0.00213, allocations: 302.7 kB / 290.4 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9364/0.9364, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001601/0.001601, allocations: 96.53 kB / 0.5948 GB, free: 28.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1685/0.1701, allocations: 86.98 MB / 0.6797 GB, free: 0.9648 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002316/0.1724, allocations: 1.353 MB / 0.6811 GB, free: 15.61 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009154/0.1734, allocations: 0.6272 MB / 0.6817 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.464e-05/0.1734, allocations: 0.875 kB / 0.6817 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.833e-05/0.1734, allocations: 3.984 kB / 0.6817 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.575e-05/0.1735, allocations: 8.641 kB / 0.6817 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004492/0.1739, allocations: 100.2 kB / 0.6818 GB, free: 14.87 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.164e-05/0.174, allocations: 29.17 kB / 0.6818 GB, free: 14.84 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.516e-05/0.174, allocations: 4 kB / 0.6818 GB, free: 14.84 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.784e-05/0.1741, allocations: 4 kB / 0.6818 GB, free: 14.84 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.993e-05/0.1741, allocations: 16.67 kB / 0.6818 GB, free: 14.82 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.038e-05/0.1741, allocations: 0 / 0.6818 GB, free: 14.82 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002547/0.1744, allocations: 151.7 kB / 0.682 GB, free: 14.67 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.324e-05/0.1744, allocations: 8 kB / 0.682 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.205e-05/0.1744, allocations: 11.92 kB / 0.682 GB, free: 14.65 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002006/0.1746, allocations: 100.1 kB / 0.6821 GB, free: 14.55 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1747, allocations: 3.938 kB / 0.6821 GB, free: 14.55 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.01e-07/0.1747, allocations: 0 / 0.6821 GB, free: 14.55 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.459e-06/0.1747, allocations: 0 / 0.6821 GB, free: 14.55 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004209/0.1751, allocations: 347.5 kB / 0.6824 GB, free: 14.16 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.1751, allocations: 15.97 kB / 0.6824 GB, free: 14.14 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.359e-05/0.1752, allocations: 38.75 kB / 0.6825 GB, free: 14.1 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000406/0.1756, allocations: 28.89 kB / 0.6825 GB, free: 14.07 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000142/0.1758, allocations: 164.3 kB / 0.6827 GB, free: 13.87 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.1758, allocations: 4.375 kB / 0.6827 GB, free: 13.87 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.063e-05/0.1758, allocations: 384 / 0.6827 GB, free: 13.87 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.176, allocations: 62.14 kB / 0.6827 GB, free: 13.8 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.176, allocations: 7.938 kB / 0.6827 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.176, allocations: 4 kB / 0.6827 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.705e-06/0.176, allocations: 0 / 0.6827 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001285/0.1762, allocations: 31.91 kB / 0.6828 GB, free: 13.76 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001664/0.1763, allocations: 161.7 kB / 0.6829 GB, free: 13.55 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002913/0.1766, allocations: 70.53 kB / 0.683 GB, free: 13.47 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.063e-05/0.1767, allocations: 24.94 kB / 0.683 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.1768, allocations: 0 / 0.683 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/0.1768, allocations: 30.56 kB / 0.683 GB, free: 13.41 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.1768, allocations: 0 / 0.683 GB, free: 13.41 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.003552/0.1804, allocations: 0.5836 MB / 0.6836 GB, free: 12.77 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.596e-05/0.1804, allocations: 51.41 kB / 0.6837 GB, free: 12.71 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.378e-05/0.1805, allocations: 101.8 kB / 0.6838 GB, free: 12.6 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.661e-05/0.1805, allocations: 25.7 kB / 0.6838 GB, free: 12.57 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.044e-05/0.1806, allocations: 84.14 kB / 0.6839 GB, free: 12.48 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.082e-05/0.1807, allocations: 19.66 kB / 0.6839 GB, free: 12.46 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.567e-05/0.1807, allocations: 25.69 kB / 0.6839 GB, free: 12.43 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.1809, allocations: 314.8 kB / 0.6842 GB, free: 12.11 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/0.181, allocations: 35.97 kB / 0.6842 GB, free: 12.08 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001278/0.1811, allocations: 40.09 kB / 0.6843 GB, free: 12.04 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002935/0.1814, allocations: 80.81 kB / 0.6844 GB, free: 11.96 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1815, allocations: 0 / 0.6844 GB, free: 11.96 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003664/0.1818, allocations: 125.5 kB / 0.6845 GB, free: 11.83 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/0.1819, allocations: 8 kB / 0.6845 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.1819, allocations: 0 / 0.6845 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.1819, allocations: 3.984 kB / 0.6845 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002186/0.1821, allocations: 19.97 kB / 0.6845 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.022e-05/0.1821, allocations: 4.234 kB / 0.6845 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001534/0.1823, allocations: 15.94 kB / 0.6845 GB, free: 11.78 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.651e-05/0.1823, allocations: 7.922 kB / 0.6845 GB, free: 11.77 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 (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 prepare postOptimizeDAE: time 9.184e-05/0.1824, allocations: 111.2 kB / 0.6846 GB, free: 11.65 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.51e-05/0.1825, allocations: 3.938 kB / 0.6846 GB, free: 11.65 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.813e-05/0.1825, allocations: 15.97 kB / 0.6847 GB, free: 11.63 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1825, allocations: 0 / 0.6847 GB, free: 11.63 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.1825, allocations: 0 / 0.6847 GB, free: 11.63 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.1825, allocations: 64 / 0.6847 GB, free: 11.63 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001802/0.1827, allocations: 199.6 kB / 0.6849 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1827, allocations: 0 / 0.6849 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002267/0.183, allocations: 27.84 kB / 0.6849 GB, free: 11.37 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.183, allocations: 4.328 kB / 0.6849 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/0.183, allocations: 3.984 kB / 0.6849 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.183, allocations: 7.984 kB / 0.6849 GB, free: 11.35 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.183, allocations: 0 / 0.6849 GB, free: 11.35 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005046/0.1835, allocations: 193 kB / 0.6851 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.359e-05/0.1836, allocations: 85.03 kB / 0.6852 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.718e-05/0.1836, allocations: 4 kB / 0.6852 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001991/0.1838, allocations: 12.02 kB / 0.6852 GB, free: 11.03 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.171e-05/0.1839, allocations: 0 / 0.6852 GB, free: 11.03 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/0.1839, allocations: 7.984 kB / 0.6852 GB, free: 11.02 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.014e-05/0.1839, allocations: 75.28 kB / 0.6853 GB, free: 10.95 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.242e-06/0.1839, allocations: 4 kB / 0.6853 GB, free: 10.94 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002304/0.1842, allocations: 36.09 kB / 0.6853 GB, free: 10.91 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * 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 (6): * Single equations (assignments): 6 * 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.0009885/0.1852, allocations: 0.749 MB / 0.686 GB, free: 10.13 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003243/0.1855, allocations: 95.86 kB / 0.6861 GB, free: 10.04 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.1855, allocations: 0 / 0.6861 GB, free: 10.04 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001462/0.1857, allocations: 52.02 kB / 0.6862 GB, free: 9.984 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002471/0.1859, allocations: 5.969 kB / 0.6862 GB, free: 9.98 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002081/0.188, allocations: 1.368 MB / 0.6875 GB, free: 8.527 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002903/0.1883, allocations: 0.6807 MB / 0.6882 GB, free: 7.82 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002208/0.1885, allocations: 27.98 kB / 0.6882 GB, free: 7.793 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.019e-05/0.1886, allocations: 19.42 kB / 0.6882 GB, free: 7.773 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1886, allocations: 4 kB / 0.6882 GB, free: 7.77 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04985/0.2385, allocations: 2.392 MB / 0.6906 GB, free: 5.605 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000358/0.2389, allocations: 270.5 kB / 0.6908 GB, free: 5.25 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.681/1.92, allocations: 2.922 kB / 0.6908 GB, free: 5.25 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)