Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 104.7 kB / 16.36 MB, free: 6.426 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.001069/0.001069, allocations: 195.7 kB / 17.3 MB, free: 5.801 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.32/1.32, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.806/1.806, allocations: 292.3 MB / 0.5496 GB, free: 17.45 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 67.91 kB / 0.6729 GB, free: 5.836 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2235/0.225, allocations: 114.6 MB / 0.7848 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002844/0.2279, allocations: 1.272 MB / 0.786 GB, free: 1.871 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001077/0.229, allocations: 0.6442 MB / 0.7867 GB, free: 1.223 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.523e-05/0.2291, allocations: 0 / 0.7867 GB, free: 1.223 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.403e-05/0.2291, allocations: 0 / 0.7867 GB, free: 1.223 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.69e-05/0.2292, allocations: 3.938 kB / 0.7867 GB, free: 1.219 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000561/0.2297, allocations: 111.5 kB / 0.7868 GB, free: 1.109 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.981e-05/0.2298, allocations: 27.86 kB / 0.7868 GB, free: 1.082 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.379e-05/0.2299, allocations: 7.938 kB / 0.7868 GB, free: 1.074 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.544e-05/0.2299, allocations: 11.98 kB / 0.7868 GB, free: 1.062 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.494e-05/0.23, allocations: 15.91 kB / 0.7868 GB, free: 1.047 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.23, allocations: 4 kB / 0.7868 GB, free: 1.043 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003001/0.2303, allocations: 131.8 kB / 0.787 GB, free: 0.9141 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.811e-05/0.2303, allocations: 7.984 kB / 0.787 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.038e-05/0.2304, allocations: 15.92 kB / 0.787 GB, free: 0.8906 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002346/0.2306, allocations: 103.8 kB / 0.7871 GB, free: 0.7891 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.802e-06/0.2306, allocations: 0 / 0.7871 GB, free: 0.7891 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2306, allocations: 3.938 kB / 0.7871 GB, free: 0.7852 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.2306, allocations: 0 / 0.7871 GB, free: 0.7852 MB / 0.6544 GB 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.0004791/0.2311, allocations: 351.5 kB / 0.7874 GB, free: 400 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.2312, allocations: 8.031 kB / 0.7874 GB, free: 392 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004476/0.2316, allocations: 36.8 kB / 0.7875 GB, free: 356 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.2318, allocations: 160.4 kB / 0.7876 GB, free: 156 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.2318, allocations: 4.375 kB / 0.7876 GB, free: 152 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.439e-05/0.2318, allocations: 384 / 0.7876 GB, free: 152 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000186/0.232, allocations: 62.22 kB / 0.7877 GB, free: 84 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.232, allocations: 192 / 0.7877 GB, free: 84 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.2321, allocations: 3.938 kB / 0.7877 GB, free: 80 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.2321, allocations: 0 / 0.7877 GB, free: 80 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001356/0.2322, allocations: 35.91 kB / 0.7877 GB, free: 44 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3205/0.5527, allocations: 157.6 kB / 0.7879 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003384/0.5531, allocations: 66.03 kB / 0.7879 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.626e-05/0.5531, allocations: 30.55 kB / 0.788 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/0.5532, allocations: 3.5 kB / 0.788 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.801e-05/0.5532, allocations: 34.53 kB / 0.788 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.943e-06/0.5532, allocations: 0 / 0.788 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of matching and sorting (n=6): time 0.003337/0.5565, allocations: 0.5782 MB / 0.7886 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.965e-05/0.5566, allocations: 51.41 kB / 0.7886 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.727e-05/0.5566, allocations: 98.08 kB / 0.7887 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.5566, allocations: 25.7 kB / 0.7887 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 1.308e-05/0.5567, allocations: 82.77 kB / 0.7888 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.144e-05/0.5567, allocations: 28.52 kB / 0.7888 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.076e-05/0.5568, allocations: 27.11 kB / 0.7889 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 3.679e-05/0.5568, allocations: 314.5 kB / 0.7892 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001253/0.5569, allocations: 39.58 kB / 0.7892 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001141/0.557, allocations: 36.3 kB / 0.7892 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002368/0.5573, allocations: 87.56 kB / 0.7893 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.5573, allocations: 0 / 0.7893 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003008/0.5576, allocations: 129.4 kB / 0.7895 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.5576, allocations: 6.125 kB / 0.7895 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.5576, allocations: 0 / 0.7895 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.5577, allocations: 7.688 kB / 0.7895 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002134/0.5579, allocations: 25.5 kB / 0.7895 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.5579, allocations: 0.7188 kB / 0.7895 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001491/0.558, allocations: 6.562 kB / 0.7895 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.331e-05/0.5581, allocations: 3.281 kB / 0.7895 GB, free: 47.7 MB / 0.6544 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 (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 5.564e-05/0.5581, allocations: 117.1 kB / 0.7896 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.248e-05/0.5581, allocations: 3 kB / 0.7896 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.472e-05/0.5582, allocations: 10.53 kB / 0.7896 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.5582, allocations: 3.938 kB / 0.7896 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.5582, allocations: 3.594 kB / 0.7896 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.5582, allocations: 0 / 0.7896 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001/0.5583, allocations: 188.6 kB / 0.7898 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.5583, allocations: 0 / 0.7898 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000226/0.5586, allocations: 21.58 kB / 0.7898 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.5586, allocations: 0 / 0.7898 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.5586, allocations: 9.812 kB / 0.7898 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.5586, allocations: 9.625 kB / 0.7899 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.5586, allocations: 2.281 kB / 0.7899 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004661/0.5591, allocations: 188.1 kB / 0.79 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.516e-05/0.5591, allocations: 82.77 kB / 0.7901 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.221e-05/0.5591, allocations: 0 / 0.7901 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000194/0.5593, allocations: 20.81 kB / 0.7901 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.31e-05/0.5594, allocations: 2.625 kB / 0.7901 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.5594, allocations: 7.375 kB / 0.7901 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.595e-05/0.5594, allocations: 80.78 kB / 0.7902 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5594, allocations: 0 / 0.7902 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002375/0.5597, allocations: 29.62 kB / 0.7902 GB, free: 47.15 MB / 0.6544 GB 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.0001747/0.5598, allocations: 130.3 kB / 0.7904 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003086/0.5601, allocations: 92.36 kB / 0.7905 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.5602, allocations: 0 / 0.7905 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000138/0.5603, allocations: 45.64 kB / 0.7905 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002201/0.5605, allocations: 15.55 kB / 0.7905 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000583/0.5611, allocations: 148.2 kB / 0.7907 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.299e-05/0.5612, allocations: 0.6769 MB / 0.7913 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001383/0.5614, allocations: 31.75 kB / 0.7914 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.812e-05/0.5614, allocations: 17.42 kB / 0.7914 GB, free: 46.26 MB / 0.6544 GB Notification: Performance of SimCode: time 2.1e-07/0.5614, allocations: 0 / 0.7914 GB, free: 46.26 MB / 0.6544 GB Notification: Performance of Templates: time 0.003336/0.5648, allocations: 1.507 MB / 0.7928 GB, free: 46.2 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)