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.001108/0.001108, allocations: 105.4 kB / 15.7 MB, free: 24 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.001036/0.001036, allocations: 197.5 kB / 16.64 MB, free: 6.445 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.27/1.27, allocations: 222.9 MB / 240.3 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002011/0.002011, allocations: 274.6 kB / 290.8 MB, free: 1.984 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9019/0.9019, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001717/0.001718, allocations: 100.9 kB / 0.5955 GB, free: 28.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1577, allocations: 86.98 MB / 0.6805 GB, free: 464 kB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.00214/0.1599, allocations: 1.268 MB / 0.6817 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009243/0.1608, allocations: 0.6472 MB / 0.6823 GB, free: 14.52 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.593e-05/0.1608, allocations: 0 / 0.6823 GB, free: 14.52 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.543e-05/0.1609, allocations: 7.922 kB / 0.6824 GB, free: 14.52 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.738e-05/0.1609, allocations: 3.984 kB / 0.6824 GB, free: 14.51 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003882/0.1613, allocations: 107.5 kB / 0.6825 GB, free: 14.41 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.441e-05/0.1614, allocations: 23.92 kB / 0.6825 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.84e-05/0.1614, allocations: 3.984 kB / 0.6825 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.005e-05/0.1614, allocations: 8 kB / 0.6825 GB, free: 14.37 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.009e-05/0.1615, allocations: 15.92 kB / 0.6825 GB, free: 14.36 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.096e-05/0.1615, allocations: 3.938 kB / 0.6825 GB, free: 14.35 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002497/0.1618, allocations: 147.8 kB / 0.6827 GB, free: 14.21 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.009e-05/0.1618, allocations: 0 / 0.6827 GB, free: 14.21 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.557e-05/0.1618, allocations: 19.92 kB / 0.6827 GB, free: 14.19 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001712/0.162, allocations: 92.09 kB / 0.6828 GB, free: 14.1 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.162, allocations: 4 kB / 0.6828 GB, free: 14.09 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.162, allocations: 7.938 kB / 0.6828 GB, free: 14.09 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.162, allocations: 0 / 0.6828 GB, free: 14.09 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.000414/0.1625, allocations: 351.5 kB / 0.6831 GB, free: 13.69 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.1625, allocations: 12.03 kB / 0.6831 GB, free: 13.68 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.26e-05/0.1625, allocations: 30.75 kB / 0.6832 GB, free: 13.64 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003955/0.1629, allocations: 28.91 kB / 0.6832 GB, free: 13.61 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001005/0.163, allocations: 172.2 kB / 0.6833 GB, free: 13.41 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.1631, allocations: 4.375 kB / 0.6833 GB, free: 13.4 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.251e-05/0.1631, allocations: 4.375 kB / 0.6834 GB, free: 13.4 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.1633, allocations: 54.22 kB / 0.6834 GB, free: 13.34 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.1633, allocations: 3.938 kB / 0.6834 GB, free: 13.34 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.1633, allocations: 0 / 0.6834 GB, free: 13.34 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.1633, allocations: 0 / 0.6834 GB, free: 13.34 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001291/0.1634, allocations: 31.97 kB / 0.6834 GB, free: 13.3 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001569/0.1636, allocations: 161.7 kB / 0.6836 GB, free: 13.1 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002847/0.1639, allocations: 66.52 kB / 0.6837 GB, free: 13.02 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.962e-05/0.164, allocations: 32.94 kB / 0.6837 GB, free: 12.99 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/0.164, allocations: 3.984 kB / 0.6837 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.164, allocations: 38.5 kB / 0.6837 GB, free: 12.94 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.164, allocations: 0 / 0.6837 GB, free: 12.94 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.003431/0.1675, allocations: 0.572 MB / 0.6843 GB, free: 12.31 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.191e-05/0.1675, allocations: 51.41 kB / 0.6843 GB, free: 12.25 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.354e-05/0.1676, allocations: 101.8 kB / 0.6844 GB, free: 12.14 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.1676, allocations: 25.7 kB / 0.6845 GB, free: 12.11 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.901e-05/0.1676, allocations: 84.12 kB / 0.6845 GB, free: 12.02 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/0.1677, allocations: 27.59 kB / 0.6846 GB, free: 12 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.044e-05/0.1678, allocations: 29.81 kB / 0.6846 GB, free: 11.96 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.194e-05/0.1678, allocations: 310.8 kB / 0.6849 GB, free: 11.65 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/0.168, allocations: 39.97 kB / 0.6849 GB, free: 11.61 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/0.1681, allocations: 39.91 kB / 0.685 GB, free: 11.57 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002744/0.1684, allocations: 80.81 kB / 0.685 GB, free: 11.49 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1684, allocations: 0 / 0.685 GB, free: 11.49 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000322/0.1687, allocations: 121.6 kB / 0.6852 GB, free: 11.36 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.1688, allocations: 8 kB / 0.6852 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.1688, allocations: 4 kB / 0.6852 GB, free: 11.35 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.1688, allocations: 336 / 0.6852 GB, free: 11.35 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002162/0.169, allocations: 23.91 kB / 0.6852 GB, free: 11.33 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.169, allocations: 4 kB / 0.6852 GB, free: 11.32 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001558/0.1692, allocations: 7.984 kB / 0.6852 GB, free: 11.32 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.1692, allocations: 0 / 0.6852 GB, free: 11.32 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 8.611e-05/0.1693, allocations: 118.5 kB / 0.6853 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.375e-05/0.1693, allocations: 7.938 kB / 0.6853 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.482e-05/0.1694, allocations: 15.95 kB / 0.6853 GB, free: 11.17 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.1694, allocations: 0 / 0.6853 GB, free: 11.17 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.1694, allocations: 3.938 kB / 0.6853 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.1694, allocations: 0 / 0.6853 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001879/0.1696, allocations: 199.6 kB / 0.6855 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.1696, allocations: 0 / 0.6855 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00023/0.1698, allocations: 27.91 kB / 0.6856 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1699, allocations: 0 / 0.6856 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.1699, allocations: 3.984 kB / 0.6856 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.1699, allocations: 0 / 0.6856 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1699, allocations: 240 / 0.6856 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004983/0.1704, allocations: 193.1 kB / 0.6857 GB, free: 10.69 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.199e-05/0.1704, allocations: 81.05 kB / 0.6858 GB, free: 10.59 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.392e-05/0.1705, allocations: 7.984 kB / 0.6858 GB, free: 10.58 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001867/0.1706, allocations: 12.09 kB / 0.6858 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.404e-05/0.1707, allocations: 3.984 kB / 0.6858 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.066e-05/0.1707, allocations: 8 kB / 0.6859 GB, free: 10.56 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.084e-05/0.1707, allocations: 79.28 kB / 0.6859 GB, free: 10.48 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1707, allocations: 0 / 0.6859 GB, free: 10.48 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002236/0.171, allocations: 27.98 kB / 0.686 GB, free: 10.45 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.0008058/0.1718, allocations: 0.7684 MB / 0.6867 GB, free: 9.656 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003244/0.1721, allocations: 88 kB / 0.6868 GB, free: 9.57 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1721, allocations: 0 / 0.6868 GB, free: 9.57 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001512/0.1723, allocations: 47.89 kB / 0.6868 GB, free: 9.523 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002194/0.1725, allocations: 11.94 kB / 0.6868 GB, free: 9.512 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001881/0.1744, allocations: 1.358 MB / 0.6882 GB, free: 8.07 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002222/0.1746, allocations: 0.6807 MB / 0.6888 GB, free: 7.363 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001471/0.1748, allocations: 32.02 kB / 0.6889 GB, free: 7.332 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.207e-05/0.1749, allocations: 19.42 kB / 0.6889 GB, free: 7.312 MB / 494.1 MB Notification: Performance of SimCode: time 2e-07/0.1749, allocations: 0 / 0.6889 GB, free: 7.312 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01821/0.1931, allocations: 2.504 MB / 0.6913 GB, free: 5.023 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.068/7.261, allocations: 9.75 kB / 0.6913 GB, free: 5.02 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)