Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9144/0.9144, allocations: 143.8 MB / 159.1 MB, free: 6.496 MB / 122.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009948/0.000995, allocations: 179.3 kB / 192 MB, free: 6.727 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 225.7 MB / 450.4 MB, free: 4.945 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008567/0.0008566, allocations: 103.5 kB / 0.5211 GB, free: 1.617 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002089/0.00209, allocations: 284.8 kB / 0.6025 GB, free: 49.3 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004097/0.0004097, allocations: 13.62 kB / 0.6948 GB, free: 59.25 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1357, allocations: 82.45 MB / 0.7753 GB, free: 14.36 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.001444/0.1372, allocations: 1.008 MB / 0.7763 GB, free: 13.34 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001231/0.1385, allocations: 1.079 MB / 0.7774 GB, free: 12.15 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.609e-05/0.1385, allocations: 0 / 0.7774 GB, free: 12.15 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 1.483e-05/0.1386, allocations: 3.984 kB / 0.7774 GB, free: 12.15 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 4.466e-05/0.1386, allocations: 7.984 kB / 0.7774 GB, free: 12.14 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003884/0.139, allocations: 87.64 kB / 0.7775 GB, free: 12.05 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 5.725e-05/0.1391, allocations: 31.84 kB / 0.7775 GB, free: 12.02 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.119e-05/0.1391, allocations: 4 kB / 0.7775 GB, free: 12.02 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.08e-05/0.1391, allocations: 4 kB / 0.7775 GB, free: 12.02 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.93e-05/0.1392, allocations: 15.92 kB / 0.7775 GB, free: 12 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.348e-05/0.1392, allocations: 4 kB / 0.7775 GB, free: 12 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002802/0.1395, allocations: 143.8 kB / 0.7777 GB, free: 11.86 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.354e-05/0.1395, allocations: 4 kB / 0.7777 GB, free: 11.85 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 4.041e-05/0.1396, allocations: 41.62 kB / 0.7777 GB, free: 11.8 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002067/0.1398, allocations: 104 kB / 0.7778 GB, free: 11.7 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.1398, allocations: 4 kB / 0.7778 GB, free: 11.7 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.694e-06/0.1398, allocations: 0 / 0.7778 GB, free: 11.7 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.137e-06/0.1398, allocations: 0 / 0.7778 GB, free: 11.7 MB / 458.7 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.0004436/0.1403, allocations: 347.5 kB / 0.7781 GB, free: 11.31 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.1403, allocations: 8.031 kB / 0.7781 GB, free: 11.3 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003847/0.1407, allocations: 36.81 kB / 0.7782 GB, free: 11.27 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.1408, allocations: 164.4 kB / 0.7783 GB, free: 11.07 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.1409, allocations: 384 / 0.7783 GB, free: 11.07 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.468e-05/0.1409, allocations: 4.375 kB / 0.7783 GB, free: 11.06 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000169/0.1411, allocations: 62.14 kB / 0.7784 GB, free: 11 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.1411, allocations: 192 / 0.7784 GB, free: 11 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.1411, allocations: 7.938 kB / 0.7784 GB, free: 10.99 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.1411, allocations: 0 / 0.7784 GB, free: 10.99 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001234/0.1412, allocations: 27.97 kB / 0.7784 GB, free: 10.96 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001743/0.1414, allocations: 157.7 kB / 0.7786 GB, free: 10.76 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002896/0.1417, allocations: 70.56 kB / 0.7786 GB, free: 10.68 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.748e-05/0.1418, allocations: 28.94 kB / 0.7787 GB, free: 10.65 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.1418, allocations: 3.938 kB / 0.7787 GB, free: 10.64 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.1419, allocations: 34.56 kB / 0.7787 GB, free: 10.6 MB / 458.7 MB Notification: Performance of pre-optimization done (n=4): time 9.61e-07/0.1419, allocations: 0 / 0.7787 GB, free: 10.6 MB / 458.7 MB Notification: Performance of matching and sorting (n=6): time 0.003142/0.145, allocations: 0.5836 MB / 0.7793 GB, free: 9.965 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.029e-05/0.1451, allocations: 51.41 kB / 0.7793 GB, free: 9.902 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.057e-05/0.1451, allocations: 93.86 kB / 0.7794 GB, free: 9.801 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.1452, allocations: 29.7 kB / 0.7794 GB, free: 9.766 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.767e-05/0.1452, allocations: 80.14 kB / 0.7795 GB, free: 9.684 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.125e-05/0.1453, allocations: 19.83 kB / 0.7795 GB, free: 9.664 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.14e-05/0.1453, allocations: 8 kB / 0.7796 GB, free: 9.656 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.843e-05/0.1454, allocations: 310.8 kB / 0.7798 GB, free: 9.344 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001242/0.1455, allocations: 39.91 kB / 0.7799 GB, free: 9.305 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000114/0.1456, allocations: 35.97 kB / 0.7799 GB, free: 9.27 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002535/0.1459, allocations: 88.75 kB / 0.78 GB, free: 9.18 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1459, allocations: 0 / 0.78 GB, free: 9.18 MB / 458.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003403/0.1462, allocations: 117.6 kB / 0.7801 GB, free: 9.059 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.1463, allocations: 11.94 kB / 0.7801 GB, free: 9.047 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.1463, allocations: 0 / 0.7801 GB, free: 9.047 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.1463, allocations: 0 / 0.7801 GB, free: 9.047 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002068/0.1465, allocations: 23.97 kB / 0.7802 GB, free: 9.023 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.1465, allocations: 3.984 kB / 0.7802 GB, free: 9.02 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000138/0.1467, allocations: 4 kB / 0.7802 GB, free: 9.016 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.742e-05/0.1467, allocations: 7.984 kB / 0.7802 GB, free: 9.008 MB / 458.7 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.004e-05/0.1468, allocations: 113.8 kB / 0.7803 GB, free: 8.887 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.966e-05/0.1468, allocations: 15.84 kB / 0.7803 GB, free: 8.871 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.474e-05/0.1469, allocations: 7.969 kB / 0.7803 GB, free: 8.859 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1469, allocations: 0 / 0.7803 GB, free: 8.859 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.1469, allocations: 4 kB / 0.7803 GB, free: 8.855 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.1469, allocations: 0 / 0.7803 GB, free: 8.855 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001642/0.1471, allocations: 187.7 kB / 0.7805 GB, free: 8.625 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1471, allocations: 0 / 0.7805 GB, free: 8.625 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002113/0.1473, allocations: 27.97 kB / 0.7805 GB, free: 8.598 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.1473, allocations: 7.875 kB / 0.7805 GB, free: 8.59 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.71e-05/0.1473, allocations: 7.984 kB / 0.7805 GB, free: 8.582 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.1474, allocations: 0 / 0.7805 GB, free: 8.582 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1474, allocations: 0 / 0.7805 GB, free: 8.582 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004925/0.1479, allocations: 197 kB / 0.7807 GB, free: 8.371 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.388e-05/0.1479, allocations: 81.05 kB / 0.7808 GB, free: 8.273 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.412e-05/0.1479, allocations: 4.031 kB / 0.7808 GB, free: 8.27 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001718/0.1481, allocations: 12.05 kB / 0.7808 GB, free: 8.258 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.638e-05/0.1481, allocations: 4 kB / 0.7808 GB, free: 8.254 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.858e-05/0.1482, allocations: 7.984 kB / 0.7808 GB, free: 8.246 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.968e-05/0.1482, allocations: 79.28 kB / 0.7809 GB, free: 8.168 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1482, allocations: 0 / 0.7809 GB, free: 8.168 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002185/0.1484, allocations: 31.94 kB / 0.7809 GB, free: 8.137 MB / 458.7 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.0002061/0.1486, allocations: 139.3 kB / 0.7811 GB, free: 7.992 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002956/0.1489, allocations: 83.92 kB / 0.7811 GB, free: 7.91 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.149, allocations: 0 / 0.7811 GB, free: 7.91 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001341/0.1491, allocations: 51.89 kB / 0.7812 GB, free: 7.859 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001946/0.1493, allocations: 12.39 kB / 0.7812 GB, free: 7.848 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00059/0.1499, allocations: 179.1 kB / 0.7814 GB, free: 7.645 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002337/0.1501, allocations: 0.6809 MB / 0.782 GB, free: 6.938 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002286/0.1504, allocations: 32.2 kB / 0.7821 GB, free: 6.906 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.235e-05/0.1504, allocations: 19.41 kB / 0.7821 GB, free: 6.887 MB / 458.7 MB Notification: Performance of SimCode: time 2.9e-07/0.1505, allocations: 0 / 0.7821 GB, free: 6.887 MB / 458.7 MB Notification: Performance of Templates: time 0.003418/0.1539, allocations: 1.46 MB / 0.7835 GB, free: 5.441 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (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 & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)