Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.conf.json 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/IBPSA 3.0.0-master/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) 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 IBPSA with version 3.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck") translateModel(IBPSA.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008827/0.0008828, allocations: 174.7 kB / 16.07 MB, free: 5.73 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4478/0.4478, allocations: 89.07 MB / 105.9 MB, free: 12.45 MB / 90.72 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.265/1.265, allocations: 225.7 MB / 353.3 MB, free: 1.117 MB / 282.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.0007807/0.0007807, allocations: 103.8 kB / 425.4 MB, free: 6.672 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003102/0.0003103, allocations: 8 kB / 0.4955 GB, free: 4.57 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2945/0.2948, allocations: 71.34 MB / 0.5652 GB, free: 42.38 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterDerivativeCheck): time 0.00104/0.2959, allocations: 0.9722 MB / 0.5661 GB, free: 41.39 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002415/0.2983, allocations: 3.537 MB / 0.5696 GB, free: 37.74 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.451e-05/0.2983, allocations: 0 / 0.5696 GB, free: 37.74 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.643e-05/0.2983, allocations: 3.844 kB / 0.5696 GB, free: 37.74 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 3.965e-05/0.2984, allocations: 3.938 kB / 0.5696 GB, free: 37.74 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003491/0.2987, allocations: 99.55 kB / 0.5697 GB, free: 37.64 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.751e-05/0.2988, allocations: 31.91 kB / 0.5697 GB, free: 37.61 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.175e-05/0.2988, allocations: 7.984 kB / 0.5697 GB, free: 37.6 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.211e-05/0.2989, allocations: 15.94 kB / 0.5697 GB, free: 37.59 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.888e-05/0.2989, allocations: 23.91 kB / 0.5698 GB, free: 37.56 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.939e-06/0.2989, allocations: 4 kB / 0.5698 GB, free: 37.56 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001712/0.2991, allocations: 67.75 kB / 0.5698 GB, free: 37.49 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.244e-05/0.2991, allocations: 8 kB / 0.5698 GB, free: 37.48 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.072e-05/0.2992, allocations: 49.61 kB / 0.5699 GB, free: 37.43 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001371/0.2993, allocations: 69.95 kB / 0.57 GB, free: 37.36 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2993, allocations: 0 / 0.57 GB, free: 37.36 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2993, allocations: 0 / 0.57 GB, free: 37.36 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.557e-06/0.2993, allocations: 0 / 0.57 GB, free: 37.36 MB / 410.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.0002493/0.2996, allocations: 339.5 kB / 0.5703 GB, free: 36.98 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.155e-05/0.2996, allocations: 12.03 kB / 0.5703 GB, free: 36.97 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.184e-05/0.2997, allocations: 4.938 kB / 0.5703 GB, free: 36.97 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.889e-05/0.2998, allocations: 164.3 kB / 0.5705 GB, free: 36.77 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.2998, allocations: 8.375 kB / 0.5705 GB, free: 36.76 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.953e-05/0.2998, allocations: 4.375 kB / 0.5705 GB, free: 36.76 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.828e-05/0.2999, allocations: 57.8 kB / 0.5705 GB, free: 36.7 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.2999, allocations: 0 / 0.5705 GB, free: 36.7 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.3, allocations: 0 / 0.5705 GB, free: 36.7 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.3, allocations: 0 / 0.5705 GB, free: 36.7 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.361e-05/0.3, allocations: 27.97 kB / 0.5706 GB, free: 36.67 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000107/0.3001, allocations: 165.5 kB / 0.5707 GB, free: 36.46 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.987e-05/0.3002, allocations: 50.5 kB / 0.5708 GB, free: 36.4 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.464e-05/0.3002, allocations: 20.84 kB / 0.5708 GB, free: 36.38 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004681/0.3007, allocations: 0.5948 MB / 0.5714 GB, free: 35.67 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.191e-05/0.3007, allocations: 34.56 kB / 0.5714 GB, free: 35.63 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 9.72e-07/0.3007, allocations: 0 / 0.5714 GB, free: 35.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004118/0.3012, allocations: 298.2 kB / 0.5717 GB, free: 35.29 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.811e-05/0.3012, allocations: 59.34 kB / 0.5717 GB, free: 35.21 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.042e-05/0.3012, allocations: 97.86 kB / 0.5718 GB, free: 35.11 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.943e-06/0.3012, allocations: 25.7 kB / 0.5719 GB, free: 35.08 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.779e-05/0.3013, allocations: 88.05 kB / 0.5719 GB, free: 34.99 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.182e-05/0.3013, allocations: 27.64 kB / 0.572 GB, free: 34.96 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-06/0.3013, allocations: 4 kB / 0.572 GB, free: 34.96 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.469e-05/0.3013, allocations: 314.8 kB / 0.5723 GB, free: 34.64 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.168e-05/0.3014, allocations: 15.98 kB / 0.5723 GB, free: 34.62 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.851e-05/0.3014, allocations: 53.14 kB / 0.5723 GB, free: 34.55 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.819e-05/0.3015, allocations: 73.27 kB / 0.5724 GB, free: 34.46 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.3015, allocations: 4 kB / 0.5724 GB, free: 34.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 9.857e-05/0.3016, allocations: 93.98 kB / 0.5725 GB, free: 34.36 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.188e-06/0.3016, allocations: 8.031 kB / 0.5725 GB, free: 34.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.3016, allocations: 3.984 kB / 0.5725 GB, free: 34.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.3016, allocations: 4 kB / 0.5725 GB, free: 34.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.578e-05/0.3017, allocations: 19.94 kB / 0.5725 GB, free: 34.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.3017, allocations: 11.94 kB / 0.5725 GB, free: 34.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.422e-05/0.3017, allocations: 11.88 kB / 0.5726 GB, free: 34.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/0.3018, allocations: 4 kB / 0.5726 GB, free: 34.3 MB / 410.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.547e-05/0.3018, allocations: 121.8 kB / 0.5727 GB, free: 34.17 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.239e-05/0.3018, allocations: 8 kB / 0.5727 GB, free: 34.16 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.216e-05/0.3019, allocations: 7.969 kB / 0.5727 GB, free: 34.15 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.3019, allocations: 0 / 0.5727 GB, free: 34.15 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.3019, allocations: 0 / 0.5727 GB, free: 34.15 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.3019, allocations: 3.938 kB / 0.5727 GB, free: 34.15 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001683/0.3021, allocations: 173.7 kB / 0.5729 GB, free: 33.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.3021, allocations: 0 / 0.5729 GB, free: 33.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.643e-05/0.3021, allocations: 20 kB / 0.5729 GB, free: 33.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3022, allocations: 3.984 kB / 0.5729 GB, free: 33.91 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.982e-06/0.3022, allocations: 0 / 0.5729 GB, free: 33.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3022, allocations: 0 / 0.5729 GB, free: 33.91 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3022, allocations: 4 kB / 0.5729 GB, free: 33.9 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001122/0.3023, allocations: 171.3 kB / 0.573 GB, free: 33.72 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.578e-05/0.3023, allocations: 85.14 kB / 0.5731 GB, free: 33.62 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.149e-05/0.3023, allocations: 0 / 0.5731 GB, free: 33.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.249e-05/0.3024, allocations: 8 kB / 0.5731 GB, free: 33.61 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.328e-05/0.3025, allocations: 3.984 kB / 0.5731 GB, free: 33.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.3025, allocations: 7.938 kB / 0.5731 GB, free: 33.6 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.599e-05/0.3025, allocations: 83.28 kB / 0.5732 GB, free: 33.52 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3025, allocations: 0 / 0.5732 GB, free: 33.52 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001985/0.3027, allocations: 12 kB / 0.5732 GB, free: 33.5 MB / 410.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 7.481e-05/0.3028, allocations: 103.2 kB / 0.5733 GB, free: 33.39 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.379e-05/0.3029, allocations: 48.31 kB / 0.5734 GB, free: 33.34 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3029, allocations: 0 / 0.5734 GB, free: 33.34 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.793e-05/0.3029, allocations: 20.19 kB / 0.5734 GB, free: 33.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002248/0.3031, allocations: 15.84 kB / 0.5734 GB, free: 33.31 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004301/0.3036, allocations: 402.3 kB / 0.5738 GB, free: 32.89 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.83e-05/0.3037, allocations: 0.6848 MB / 0.5745 GB, free: 32.18 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.014e-05/0.3037, allocations: 8 kB / 0.5745 GB, free: 32.17 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.732e-05/0.3037, allocations: 11.44 kB / 0.5745 GB, free: 32.16 MB / 410.7 MB Notification: Performance of SimCode: time 2.9e-07/0.3038, allocations: 0 / 0.5745 GB, free: 32.16 MB / 410.7 MB Notification: Performance of Templates: time 0.00206/0.3058, allocations: 0.5936 MB / 0.5751 GB, free: 31.57 MB / 410.7 MB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.pipe 2>&1)