Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.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.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7649/0.7649, allocations: 143.8 MB / 159.1 MB, free: 6.512 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.001142/0.001142, allocations: 186.3 kB / 192 MB, free: 6.742 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.429/1.429, allocations: 225.7 MB / 450.4 MB, free: 4.984 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.0008655/0.0008656, allocations: 110.5 kB / 0.5211 GB, free: 1.645 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.001634/0.001634, allocations: 283 kB / 0.6025 GB, free: 49.29 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000397/0.000397, allocations: 23.3 kB / 0.6948 GB, free: 59.25 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1366, allocations: 82.46 MB / 0.7753 GB, free: 14.32 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.001313/0.138, allocations: 0.9849 MB / 0.7763 GB, free: 13.32 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.000576/0.1386, allocations: 385.7 kB / 0.7767 GB, free: 12.91 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.087e-05/0.1386, allocations: 0 / 0.7767 GB, free: 12.91 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 1.266e-05/0.1386, allocations: 0 / 0.7767 GB, free: 12.91 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 3.5e-05/0.1387, allocations: 3.938 kB / 0.7767 GB, free: 12.91 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002449/0.1389, allocations: 43.83 kB / 0.7767 GB, free: 12.86 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 4.142e-05/0.139, allocations: 8 kB / 0.7767 GB, free: 12.86 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.799e-05/0.139, allocations: 3.984 kB / 0.7767 GB, free: 12.85 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.15e-05/0.139, allocations: 15.98 kB / 0.7767 GB, free: 12.84 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.776e-05/0.1391, allocations: 8 kB / 0.7767 GB, free: 12.83 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 9.558e-06/0.1391, allocations: 3.938 kB / 0.7767 GB, free: 12.82 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.629e-05/0.1392, allocations: 43.95 kB / 0.7768 GB, free: 12.78 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.27e-05/0.1392, allocations: 4 kB / 0.7768 GB, free: 12.78 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 3.451e-05/0.1393, allocations: 33.69 kB / 0.7768 GB, free: 12.74 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001093/0.1394, allocations: 40.11 kB / 0.7769 GB, free: 12.7 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1394, allocations: 0 / 0.7769 GB, free: 12.7 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.1394, allocations: 0 / 0.7769 GB, free: 12.7 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.1394, allocations: 0 / 0.7769 GB, free: 12.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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003583/0.1398, allocations: 335.6 kB / 0.7772 GB, free: 12.32 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.1398, allocations: 8.031 kB / 0.7772 GB, free: 12.31 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001202/0.1399, allocations: 12.92 kB / 0.7772 GB, free: 12.3 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.926e-05/0.14, allocations: 164.3 kB / 0.7774 GB, free: 12.1 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.627e-06/0.1401, allocations: 384 / 0.7774 GB, free: 12.1 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.065e-05/0.1401, allocations: 4.375 kB / 0.7774 GB, free: 12.1 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/0.1402, allocations: 46.25 kB / 0.7774 GB, free: 12.05 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.134e-06/0.1402, allocations: 192 / 0.7774 GB, free: 12.05 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.1402, allocations: 11.92 kB / 0.7774 GB, free: 12.04 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.1402, allocations: 0 / 0.7774 GB, free: 12.04 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.486e-05/0.1403, allocations: 12 kB / 0.7774 GB, free: 12.02 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000152/0.1405, allocations: 161.6 kB / 0.7776 GB, free: 11.82 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.819e-05/0.1405, allocations: 50.56 kB / 0.7776 GB, free: 11.76 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.274e-05/0.1406, allocations: 16.98 kB / 0.7776 GB, free: 11.74 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.939e-06/0.1406, allocations: 0 / 0.7776 GB, free: 11.74 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.1406, allocations: 34.56 kB / 0.7777 GB, free: 11.7 MB / 458.7 MB Notification: Performance of pre-optimization done (n=5): time 9.41e-07/0.1406, allocations: 0 / 0.7777 GB, free: 11.7 MB / 458.7 MB Notification: Performance of matching and sorting (n=8): time 0.001892/0.1425, allocations: 0.5019 MB / 0.7782 GB, free: 11.14 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/0.1426, allocations: 55.34 kB / 0.7782 GB, free: 11.07 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.425e-05/0.1426, allocations: 93.8 kB / 0.7783 GB, free: 10.97 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.1427, allocations: 29.7 kB / 0.7783 GB, free: 10.94 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.449e-05/0.1427, allocations: 84.14 kB / 0.7784 GB, free: 10.85 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.782e-05/0.1427, allocations: 31.55 kB / 0.7785 GB, free: 10.82 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.32e-06/0.1427, allocations: 0 / 0.7785 GB, free: 10.82 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.1428, allocations: 310.8 kB / 0.7787 GB, free: 10.51 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.806e-05/0.1429, allocations: 31.92 kB / 0.7788 GB, free: 10.48 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.995e-05/0.1429, allocations: 23.98 kB / 0.7788 GB, free: 10.45 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.711e-05/0.143, allocations: 56.86 kB / 0.7789 GB, free: 10.39 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1431, allocations: 0 / 0.7789 GB, free: 10.39 MB / 458.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001422/0.1432, allocations: 89.62 kB / 0.7789 GB, free: 10.3 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.1432, allocations: 7.938 kB / 0.7789 GB, free: 10.29 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1432, allocations: 0 / 0.7789 GB, free: 10.29 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.1433, allocations: 0 / 0.7789 GB, free: 10.29 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.1434, allocations: 15.98 kB / 0.779 GB, free: 10.28 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.1434, allocations: 4 kB / 0.779 GB, free: 10.27 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.55e-05/0.1435, allocations: 8.438 kB / 0.779 GB, free: 10.27 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.1435, allocations: 0 / 0.779 GB, free: 10.27 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 (9): * Single equations (assignments): 9 * 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 7.373e-05/0.1436, allocations: 117.8 kB / 0.7791 GB, free: 10.14 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.183e-05/0.1436, allocations: 3.938 kB / 0.7791 GB, free: 10.14 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.991e-05/0.1436, allocations: 12.25 kB / 0.7791 GB, free: 10.12 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.1436, allocations: 4 kB / 0.7791 GB, free: 10.12 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.1436, allocations: 4 kB / 0.7791 GB, free: 10.11 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.1437, allocations: 3.938 kB / 0.7791 GB, free: 10.11 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001317/0.1438, allocations: 175.5 kB / 0.7793 GB, free: 9.891 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.1438, allocations: 4 kB / 0.7793 GB, free: 9.887 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001261/0.1439, allocations: 15.98 kB / 0.7793 GB, free: 9.871 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.1439, allocations: 3.938 kB / 0.7793 GB, free: 9.867 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.144, allocations: 4 kB / 0.7793 GB, free: 9.863 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.144, allocations: 0 / 0.7793 GB, free: 9.863 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.144, allocations: 0 / 0.7793 GB, free: 9.863 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002268/0.1442, allocations: 145 kB / 0.7794 GB, free: 9.703 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.212e-05/0.1442, allocations: 81.05 kB / 0.7795 GB, free: 9.605 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.747e-05/0.1443, allocations: 4.031 kB / 0.7795 GB, free: 9.602 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.1444, allocations: 15.98 kB / 0.7795 GB, free: 9.586 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.024e-05/0.1444, allocations: 4 kB / 0.7795 GB, free: 9.582 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.405e-06/0.1444, allocations: 4 kB / 0.7796 GB, free: 9.578 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.3e-05/0.1445, allocations: 75.28 kB / 0.7796 GB, free: 9.504 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1445, allocations: 0 / 0.7796 GB, free: 9.504 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.000173/0.1446, allocations: 12 kB / 0.7796 GB, free: 9.492 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 (8): * Single equations (assignments): 8 * 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.0001021/0.1447, allocations: 107.2 kB / 0.7797 GB, free: 9.379 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001451/0.1449, allocations: 67.91 kB / 0.7798 GB, free: 9.312 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1449, allocations: 0 / 0.7798 GB, free: 9.312 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 4.833e-05/0.145, allocations: 31.98 kB / 0.7798 GB, free: 9.281 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002029/0.1452, allocations: 8 kB / 0.7798 GB, free: 9.273 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004935/0.1457, allocations: 195.4 kB / 0.78 GB, free: 9.055 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002354/0.1459, allocations: 0.6809 MB / 0.7807 GB, free: 8.348 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 9.187e-05/0.146, allocations: 12 kB / 0.7807 GB, free: 8.336 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.796e-05/0.1461, allocations: 11.44 kB / 0.7807 GB, free: 8.324 MB / 458.7 MB Notification: Performance of SimCode: time 2e-07/0.1461, allocations: 0 / 0.7807 GB, free: 8.324 MB / 458.7 MB Notification: Performance of Templates: time 0.002444/0.1485, allocations: 0.6635 MB / 0.7814 GB, free: 7.664 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1)