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.0008206/0.0008205, allocations: 91.53 kB / 15.36 MB, free: 0.7344 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.006176/0.006176, allocations: 171.5 kB / 16.26 MB, free: 6.617 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.29/1.29, allocations: 223.2 MB / 240.3 MB, free: 5.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.001664/0.001664, allocations: 266.5 kB / 291.7 MB, free: 1.906 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9014/0.9014, allocations: 169.5 MB / 0.5004 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004724/0.0004724, allocations: 17.09 kB / 0.5988 GB, free: 27.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.1555, allocations: 88.54 MB / 0.6852 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.00128/0.1568, allocations: 1.008 MB / 0.6862 GB, free: 13.95 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009593/0.1578, allocations: 0.6407 MB / 0.6869 GB, free: 13.31 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.298e-05/0.1578, allocations: 0 / 0.6869 GB, free: 13.31 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.567e-05/0.1579, allocations: 3.984 kB / 0.6869 GB, free: 13.31 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.267e-05/0.1579, allocations: 7.922 kB / 0.6869 GB, free: 13.3 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003543/0.1583, allocations: 90.23 kB / 0.687 GB, free: 13.21 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.038e-05/0.1583, allocations: 31.84 kB / 0.687 GB, free: 13.18 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.175e-05/0.1584, allocations: 0 / 0.687 GB, free: 13.18 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.582e-05/0.1584, allocations: 8 kB / 0.687 GB, free: 13.18 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.414e-05/0.1585, allocations: 11.98 kB / 0.687 GB, free: 13.16 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.192e-05/0.1585, allocations: 3.938 kB / 0.687 GB, free: 13.16 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002618/0.1588, allocations: 152.2 kB / 0.6872 GB, free: 13.01 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.514e-05/0.1588, allocations: 8.484 kB / 0.6872 GB, free: 13 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.548e-05/0.1589, allocations: 30.73 kB / 0.6872 GB, free: 12.97 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001857/0.159, allocations: 100 kB / 0.6873 GB, free: 12.87 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1591, allocations: 0 / 0.6873 GB, free: 12.87 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1591, allocations: 5.562 kB / 0.6873 GB, free: 12.87 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.1591, allocations: 0 / 0.6873 GB, free: 12.87 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.0004365/0.1595, allocations: 349.8 kB / 0.6876 GB, free: 12.48 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.1596, allocations: 12.53 kB / 0.6876 GB, free: 12.46 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.847e-05/0.1596, allocations: 30.75 kB / 0.6877 GB, free: 12.43 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004023/0.16, allocations: 26.62 kB / 0.6877 GB, free: 12.4 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001178/0.1601, allocations: 176.8 kB / 0.6879 GB, free: 12.19 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.1602, allocations: 15 kB / 0.6879 GB, free: 12.18 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.089e-05/0.1602, allocations: 384 / 0.6879 GB, free: 12.18 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.1604, allocations: 54.22 kB / 0.6879 GB, free: 12.12 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/0.1604, allocations: 3.938 kB / 0.6879 GB, free: 12.12 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.1604, allocations: 0 / 0.6879 GB, free: 12.12 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.1604, allocations: 0 / 0.6879 GB, free: 12.12 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001367/0.1606, allocations: 33.81 kB / 0.688 GB, free: 12.09 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001912/0.1608, allocations: 161.7 kB / 0.6881 GB, free: 11.88 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003119/0.1611, allocations: 64.8 kB / 0.6882 GB, free: 11.81 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.697e-05/0.1612, allocations: 34.33 kB / 0.6882 GB, free: 11.77 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.1612, allocations: 0 / 0.6882 GB, free: 11.77 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.1612, allocations: 35.22 kB / 0.6882 GB, free: 11.73 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 7.61e-07/0.1613, allocations: 0 / 0.6882 GB, free: 11.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.003231/0.1645, allocations: 0.5797 MB / 0.6888 GB, free: 11.1 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.364e-05/0.1645, allocations: 51.41 kB / 0.6889 GB, free: 11.04 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.394e-05/0.1646, allocations: 105.8 kB / 0.689 GB, free: 10.92 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.468e-05/0.1646, allocations: 25.7 kB / 0.689 GB, free: 10.89 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.16e-05/0.1647, allocations: 80.14 kB / 0.6891 GB, free: 10.81 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.843e-05/0.1647, allocations: 23.66 kB / 0.6891 GB, free: 10.79 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.981e-05/0.1648, allocations: 9.719 kB / 0.6891 GB, free: 10.77 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.1649, allocations: 322.8 kB / 0.6894 GB, free: 10.45 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001371/0.165, allocations: 36.09 kB / 0.6894 GB, free: 10.41 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001209/0.1651, allocations: 39.97 kB / 0.6895 GB, free: 10.37 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002616/0.1654, allocations: 80.95 kB / 0.6896 GB, free: 10.29 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.1654, allocations: 0 / 0.6896 GB, free: 10.29 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003273/0.1658, allocations: 129.5 kB / 0.6897 GB, free: 10.16 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.1658, allocations: 9.875 kB / 0.6897 GB, free: 10.15 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.1658, allocations: 0 / 0.6897 GB, free: 10.15 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.1658, allocations: 0 / 0.6897 GB, free: 10.15 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001952/0.166, allocations: 23.97 kB / 0.6897 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.166, allocations: 0 / 0.6897 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001384/0.1662, allocations: 11.98 kB / 0.6897 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.1662, allocations: 0 / 0.6897 GB, free: 10.11 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.255e-05/0.1663, allocations: 114.5 kB / 0.6898 GB, free: 9.992 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.75e-05/0.1663, allocations: 7.875 kB / 0.6898 GB, free: 9.984 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.019e-05/0.1664, allocations: 19.95 kB / 0.6899 GB, free: 9.965 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.1664, allocations: 0 / 0.6899 GB, free: 9.965 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/0.1664, allocations: 336 / 0.6899 GB, free: 9.965 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.1664, allocations: 0 / 0.6899 GB, free: 9.965 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001532/0.1666, allocations: 191.7 kB / 0.69 GB, free: 9.734 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1666, allocations: 0 / 0.69 GB, free: 9.734 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002086/0.1668, allocations: 31.84 kB / 0.6901 GB, free: 9.703 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.1668, allocations: 3.984 kB / 0.6901 GB, free: 9.699 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.1668, allocations: 8 kB / 0.6901 GB, free: 9.691 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.1668, allocations: 7.922 kB / 0.6901 GB, free: 9.684 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1668, allocations: 0 / 0.6901 GB, free: 9.684 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005067/0.1673, allocations: 197 kB / 0.6903 GB, free: 9.473 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.571e-05/0.1674, allocations: 81.05 kB / 0.6904 GB, free: 9.375 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.129e-05/0.1674, allocations: 0 / 0.6904 GB, free: 9.375 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001761/0.1676, allocations: 12.02 kB / 0.6904 GB, free: 9.363 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.635e-05/0.1676, allocations: 4 kB / 0.6904 GB, free: 9.359 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/0.1676, allocations: 3.984 kB / 0.6904 GB, free: 9.355 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.252e-05/0.1677, allocations: 79.28 kB / 0.6904 GB, free: 9.277 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1677, allocations: 4.156 kB / 0.6905 GB, free: 9.273 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002359/0.1679, allocations: 31.98 kB / 0.6905 GB, free: 9.242 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.0008031/0.1687, allocations: 0.7528 MB / 0.6912 GB, free: 8.461 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003082/0.169, allocations: 91.86 kB / 0.6913 GB, free: 8.371 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1691, allocations: 64 / 0.6913 GB, free: 8.371 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001431/0.1692, allocations: 51.95 kB / 0.6914 GB, free: 8.32 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002177/0.1694, allocations: 4 kB / 0.6914 GB, free: 8.316 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001855/0.1713, allocations: 1.361 MB / 0.6927 GB, free: 6.871 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002099/0.1715, allocations: 0.6848 MB / 0.6934 GB, free: 6.16 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002112/0.1717, allocations: 27.94 kB / 0.6934 GB, free: 6.133 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.106e-05/0.1718, allocations: 27.41 kB / 0.6934 GB, free: 6.105 MB / 494.1 MB Notification: Performance of SimCode: time 2.465e-06/0.1718, allocations: 0 / 0.6934 GB, free: 6.105 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1496/0.3215, allocations: 2.266 MB / 0.6956 GB, free: 4.074 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002665/0.3218, allocations: 277.3 kB / 0.6959 GB, free: 3.715 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.712/2.034, allocations: 0 / 0.6959 GB, free: 3.715 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)