Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.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.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck") translateModel(BuildingSystems.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7596/0.7596, 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.00108/0.00108, allocations: 179.3 kB / 192 MB, free: 6.73 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.472/1.472, allocations: 225.7 MB / 450.4 MB, free: 6.727 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.0008975/0.0008975, allocations: 107.5 kB / 0.5211 GB, free: 3.387 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.001666/0.001666, allocations: 282.4 kB / 0.6025 GB, free: 49.51 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004589/0.000459, allocations: 12 kB / 0.6948 GB, free: 2.82 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3181/0.3185, allocations: 82.45 MB / 0.7753 GB, free: 26.94 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterDerivativeCheck): time 0.001062/0.3197, allocations: 0.9914 MB / 0.7763 GB, free: 25.94 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.002501/0.3222, allocations: 3.523 MB / 0.7797 GB, free: 22.3 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.542e-05/0.3222, allocations: 0 / 0.7797 GB, free: 22.3 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 1.279e-05/0.3222, allocations: 0 / 0.7797 GB, free: 22.3 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 3.945e-05/0.3223, allocations: 15.91 kB / 0.7797 GB, free: 22.28 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003637/0.3226, allocations: 95.61 kB / 0.7798 GB, free: 22.19 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 4.746e-05/0.3227, allocations: 31.92 kB / 0.7798 GB, free: 22.16 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.131e-05/0.3227, allocations: 0 / 0.7798 GB, free: 22.16 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.743e-05/0.3228, allocations: 31.84 kB / 0.7799 GB, free: 22.12 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.756e-05/0.3228, allocations: 11.92 kB / 0.7799 GB, free: 22.11 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 9.918e-06/0.3228, allocations: 4 kB / 0.7799 GB, free: 22.11 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001758/0.323, allocations: 71.81 kB / 0.78 GB, free: 22.04 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.31e-05/0.323, allocations: 7.984 kB / 0.78 GB, free: 22.03 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 3.13e-05/0.3231, allocations: 37.64 kB / 0.78 GB, free: 21.99 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001397/0.3232, allocations: 74.52 kB / 0.7801 GB, free: 21.92 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3232, allocations: 0 / 0.7801 GB, free: 21.92 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3232, allocations: 0 / 0.7801 GB, free: 21.92 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.216e-06/0.3232, allocations: 0 / 0.7801 GB, free: 21.92 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002561/0.3235, allocations: 335.5 kB / 0.7804 GB, free: 21.54 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.999e-05/0.3235, allocations: 8.031 kB / 0.7804 GB, free: 21.54 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.293e-05/0.3236, allocations: 12.84 kB / 0.7804 GB, free: 21.52 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.441e-05/0.3237, allocations: 172.3 kB / 0.7806 GB, free: 21.32 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.386e-06/0.3237, allocations: 4.375 kB / 0.7806 GB, free: 21.31 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.049e-05/0.3237, allocations: 4.375 kB / 0.7806 GB, free: 21.31 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001008/0.3238, allocations: 57.8 kB / 0.7806 GB, free: 21.25 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.3238, allocations: 0 / 0.7806 GB, free: 21.25 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.3239, allocations: 0 / 0.7806 GB, free: 21.25 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.3239, allocations: 0 / 0.7806 GB, free: 21.25 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.189e-05/0.3239, allocations: 15.98 kB / 0.7807 GB, free: 21.23 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000112/0.324, allocations: 181.5 kB / 0.7808 GB, free: 21 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.626e-05/0.3241, allocations: 50.5 kB / 0.7809 GB, free: 20.95 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.311e-05/0.3241, allocations: 16.86 kB / 0.7809 GB, free: 20.93 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004844/0.3246, allocations: 0.5907 MB / 0.7815 GB, free: 20.23 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.407e-05/0.3247, allocations: 42.56 kB / 0.7815 GB, free: 20.18 MB / 458.7 MB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.3247, allocations: 0 / 0.7815 GB, free: 20.18 MB / 458.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004261/0.3251, allocations: 298.6 kB / 0.7818 GB, free: 19.83 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.529e-05/0.3251, allocations: 55.34 kB / 0.7819 GB, free: 19.77 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.362e-05/0.3252, allocations: 101.8 kB / 0.7819 GB, free: 19.66 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 8.967e-06/0.3252, allocations: 29.64 kB / 0.782 GB, free: 19.62 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.232e-05/0.3252, allocations: 87.98 kB / 0.7821 GB, free: 19.53 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.118e-05/0.3252, allocations: 27.62 kB / 0.7821 GB, free: 19.5 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-06/0.3252, allocations: 4 kB / 0.7821 GB, free: 19.5 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 4.286e-05/0.3253, allocations: 322.8 kB / 0.7824 GB, free: 19.18 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.31e-05/0.3253, allocations: 16 kB / 0.7824 GB, free: 19.16 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.631e-05/0.3254, allocations: 49.14 kB / 0.7825 GB, free: 19.09 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.504e-05/0.3254, allocations: 77.27 kB / 0.7825 GB, free: 19 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.3254, allocations: 0 / 0.7825 GB, free: 19 MB / 458.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001041/0.3256, allocations: 93.53 kB / 0.7826 GB, free: 18.9 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/0.3256, allocations: 4 kB / 0.7826 GB, free: 18.9 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.3256, allocations: 8.125 kB / 0.7826 GB, free: 18.89 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.3256, allocations: 0 / 0.7826 GB, free: 18.89 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.723e-05/0.3257, allocations: 19.94 kB / 0.7827 GB, free: 18.87 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.3257, allocations: 7.984 kB / 0.7827 GB, free: 18.86 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.496e-05/0.3257, allocations: 7.938 kB / 0.7827 GB, free: 18.86 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/0.3257, allocations: 4 kB / 0.7827 GB, free: 18.85 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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 4.947e-05/0.3258, allocations: 121.7 kB / 0.7828 GB, free: 18.72 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.389e-05/0.3258, allocations: 7.906 kB / 0.7828 GB, free: 18.71 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.33e-05/0.3258, allocations: 7.969 kB / 0.7828 GB, free: 18.7 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.3258, allocations: 4 kB / 0.7828 GB, free: 18.7 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.816e-06/0.3259, allocations: 0 / 0.7828 GB, free: 18.7 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.3259, allocations: 7.938 kB / 0.7828 GB, free: 18.69 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001956/0.3261, allocations: 169.7 kB / 0.783 GB, free: 18.48 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3261, allocations: 0 / 0.783 GB, free: 18.48 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.693e-05/0.3262, allocations: 15.98 kB / 0.783 GB, free: 18.46 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3262, allocations: 0 / 0.783 GB, free: 18.46 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.3262, allocations: 4 kB / 0.783 GB, free: 18.46 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.3262, allocations: 0 / 0.783 GB, free: 18.46 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3262, allocations: 4 kB / 0.783 GB, free: 18.45 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001218/0.3263, allocations: 187.3 kB / 0.7832 GB, free: 18.25 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.644e-05/0.3263, allocations: 81.02 kB / 0.7833 GB, free: 18.16 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.242e-05/0.3264, allocations: 4 kB / 0.7833 GB, free: 18.15 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.51e-05/0.3265, allocations: 4.031 kB / 0.7833 GB, free: 18.15 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.716e-05/0.3265, allocations: 8.438 kB / 0.7833 GB, free: 18.14 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.151e-06/0.3265, allocations: 3.938 kB / 0.7833 GB, free: 18.14 MB / 458.7 MB Notification: Performance of sorting global known variables: time 1.634e-05/0.3265, allocations: 79.28 kB / 0.7834 GB, free: 18.06 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3265, allocations: 0 / 0.7834 GB, free: 18.06 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002044/0.3267, allocations: 20 kB / 0.7834 GB, free: 18.04 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (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 Backend phase and start with SimCode phase: time 8.613e-05/0.3268, allocations: 108.4 kB / 0.7835 GB, free: 17.92 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 9.174e-05/0.3269, allocations: 39.92 kB / 0.7835 GB, free: 17.88 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3269, allocations: 0 / 0.7835 GB, free: 17.88 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.817e-05/0.327, allocations: 15.94 kB / 0.7835 GB, free: 17.87 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002298/0.3272, allocations: 12.23 kB / 0.7835 GB, free: 17.86 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004327/0.3276, allocations: 390.9 kB / 0.7839 GB, free: 17.45 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.168e-05/0.3277, allocations: 0.6848 MB / 0.7846 GB, free: 16.73 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 5.406e-05/0.3278, allocations: 4 kB / 0.7846 GB, free: 16.73 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.781e-05/0.3278, allocations: 11.44 kB / 0.7846 GB, free: 16.72 MB / 458.7 MB Notification: Performance of SimCode: time 3.81e-07/0.3278, allocations: 0 / 0.7846 GB, free: 16.72 MB / 458.7 MB Notification: Performance of Templates: time 0.00215/0.33, allocations: 0.6001 MB / 0.7852 GB, free: 16.12 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.pipe 2>&1)