Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Examples.WaterDerivativeCheck.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/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) 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 Buildings with version 8.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Media.Examples.WaterDerivativeCheck") translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.671/1.671, allocations: 291.7 MB / 306.8 MB, free: 7.68 MB / 234.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.001074/0.001075, allocations: 177.6 kB / 375.4 MB, free: 5.117 MB / 298.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.349/1.349, allocations: 225.7 MB / 0.6538 GB, free: 13.61 MB / 490.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.0008711/0.0008712, allocations: 105.6 kB / 0.7699 GB, free: 50.33 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003592/0.0003593, allocations: 8.531 kB / 0.8956 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6602/0.6606, allocations: 118.1 MB / 1.011 GB, free: 57.68 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.001299/0.662, allocations: 0.9788 MB / 1.012 GB, free: 57.66 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.003435/0.6654, allocations: 3.047 MB / 1.015 GB, free: 57.46 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.59e-05/0.6655, allocations: 0 / 1.015 GB, free: 57.46 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.708e-05/0.6655, allocations: 7.266 kB / 1.015 GB, free: 57.46 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.077e-05/0.6656, allocations: 1.641 kB / 1.015 GB, free: 57.46 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003822/0.6659, allocations: 84.78 kB / 1.015 GB, free: 57.44 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 5.555e-05/0.666, allocations: 34.75 kB / 1.015 GB, free: 57.43 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.193e-05/0.666, allocations: 3.25 kB / 1.015 GB, free: 57.43 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.947e-05/0.6661, allocations: 20.2 kB / 1.015 GB, free: 57.43 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.445e-05/0.6662, allocations: 19.84 kB / 1.015 GB, free: 57.43 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.6662, allocations: 3.828 kB / 1.015 GB, free: 57.43 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001719/0.6664, allocations: 51.73 kB / 1.015 GB, free: 57.42 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.425e-05/0.6664, allocations: 5.672 kB / 1.015 GB, free: 57.42 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.231e-05/0.6664, allocations: 31.02 kB / 1.015 GB, free: 57.39 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000115/0.6665, allocations: 44.97 kB / 1.015 GB, free: 57.38 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.6665, allocations: 0 / 1.015 GB, free: 57.38 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.074e-06/0.6665, allocations: 2.75 kB / 1.015 GB, free: 57.38 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.6666, allocations: 0 / 1.015 GB, free: 57.38 MB / 0.7136 GB 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.0003196/0.6669, allocations: 342.3 kB / 1.015 GB, free: 57.02 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.6669, allocations: 8.531 kB / 1.015 GB, free: 57.02 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.771e-05/0.667, allocations: 3.844 kB / 1.015 GB, free: 57.02 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.801e-05/0.6671, allocations: 166.6 kB / 1.016 GB, free: 56.83 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.6671, allocations: 2.281 kB / 1.016 GB, free: 56.83 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.354e-05/0.6672, allocations: 9.094 kB / 1.016 GB, free: 56.83 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001265/0.6673, allocations: 57.8 kB / 1.016 GB, free: 56.79 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.6673, allocations: 0 / 1.016 GB, free: 56.79 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.6673, allocations: 2 kB / 1.016 GB, free: 56.79 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.6673, allocations: 2.844 kB / 1.016 GB, free: 56.79 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.949e-05/0.6674, allocations: 22.14 kB / 1.016 GB, free: 56.79 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00014/0.6675, allocations: 160.6 kB / 1.016 GB, free: 56.6 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.689e-05/0.6677, allocations: 55.03 kB / 1.016 GB, free: 56.58 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.58e-05/0.6677, allocations: 18.36 kB / 1.016 GB, free: 56.57 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005672/0.6683, allocations: 0.6089 MB / 1.017 GB, free: 55.94 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.66e-05/0.6683, allocations: 34.28 kB / 1.017 GB, free: 55.9 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 1.273e-06/0.6683, allocations: 0 / 1.017 GB, free: 55.9 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0005155/0.6688, allocations: 295.9 kB / 1.017 GB, free: 55.64 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.749e-05/0.6689, allocations: 51.91 kB / 1.017 GB, free: 55.58 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.041e-05/0.6689, allocations: 101 kB / 1.017 GB, free: 55.48 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.047e-05/0.6689, allocations: 29.64 kB / 1.017 GB, free: 55.45 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.775e-05/0.669, allocations: 95.36 kB / 1.017 GB, free: 55.36 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.379e-05/0.669, allocations: 27.34 kB / 1.017 GB, free: 55.34 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-06/0.669, allocations: 0 / 1.017 GB, free: 55.34 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.377e-05/0.6691, allocations: 323.8 kB / 1.017 GB, free: 55.03 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.234e-05/0.6691, allocations: 10.91 kB / 1.017 GB, free: 55.03 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.045e-05/0.6691, allocations: 55.86 kB / 1.017 GB, free: 54.98 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.848e-05/0.6692, allocations: 78.5 kB / 1.018 GB, free: 54.92 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.6692, allocations: 0 / 1.018 GB, free: 54.92 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001139/0.6693, allocations: 93.33 kB / 1.018 GB, free: 54.88 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.6693, allocations: 7.531 kB / 1.018 GB, free: 54.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.6694, allocations: 3.625 kB / 1.018 GB, free: 54.88 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.6694, allocations: 1.125 kB / 1.018 GB, free: 54.88 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.293e-05/0.6695, allocations: 23.53 kB / 1.018 GB, free: 54.88 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.6695, allocations: 0 / 1.018 GB, free: 54.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.835e-05/0.6695, allocations: 10.44 kB / 1.018 GB, free: 54.88 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.6695, allocations: 5.688 kB / 1.018 GB, free: 54.88 MB / 0.7136 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.047e-05/0.6696, allocations: 119.3 kB / 1.018 GB, free: 54.76 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.635e-05/0.6696, allocations: 10.11 kB / 1.018 GB, free: 54.76 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.698e-05/0.6697, allocations: 10.23 kB / 1.018 GB, free: 54.76 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.6697, allocations: 2.875 kB / 1.018 GB, free: 54.76 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.6697, allocations: 0 / 1.018 GB, free: 54.76 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.6697, allocations: 5.625 kB / 1.018 GB, free: 54.75 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001857/0.6699, allocations: 172.8 kB / 1.018 GB, free: 54.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.6699, allocations: 1.031 kB / 1.018 GB, free: 54.57 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.93e-05/0.67, allocations: 18.05 kB / 1.018 GB, free: 54.57 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.67, allocations: 1.094 kB / 1.018 GB, free: 54.57 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.365e-06/0.67, allocations: 1.812 kB / 1.018 GB, free: 54.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.67, allocations: 2.844 kB / 1.018 GB, free: 54.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.67, allocations: 3.469 kB / 1.018 GB, free: 54.57 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00014/0.6701, allocations: 174.1 kB / 1.018 GB, free: 54.43 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.294e-05/0.6702, allocations: 88.94 kB / 1.018 GB, free: 54.33 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/0.6702, allocations: 7.188 kB / 1.018 GB, free: 54.33 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.6703, allocations: 0.9375 kB / 1.018 GB, free: 54.33 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.995e-05/0.6703, allocations: 5.969 kB / 1.018 GB, free: 54.33 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.6704, allocations: 8.344 kB / 1.018 GB, free: 54.32 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.143e-05/0.6704, allocations: 80.69 kB / 1.018 GB, free: 54.25 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6704, allocations: 0.9062 kB / 1.018 GB, free: 54.25 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002314/0.6706, allocations: 10.22 kB / 1.018 GB, free: 54.25 MB / 0.7136 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001169/0.6708, allocations: 112.6 kB / 1.019 GB, free: 54.16 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.886e-05/0.6709, allocations: 39.64 kB / 1.019 GB, free: 54.16 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.6709, allocations: 5.094 kB / 1.019 GB, free: 54.16 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.038e-05/0.6709, allocations: 17.44 kB / 1.019 GB, free: 54.15 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002577/0.6712, allocations: 17.09 kB / 1.019 GB, free: 54.15 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005441/0.6717, allocations: 384.5 kB / 1.019 GB, free: 53.89 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001117/0.6718, allocations: 0.6825 MB / 1.02 GB, free: 53.2 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.48e-05/0.6719, allocations: 12.61 kB / 1.02 GB, free: 53.2 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.096e-05/0.6719, allocations: 10.38 kB / 1.02 GB, free: 53.19 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/0.6719, allocations: 0 / 1.02 GB, free: 53.19 MB / 0.7136 GB Notification: Performance of Templates: time 0.002382/0.6743, allocations: 0.564 MB / 1.02 GB, free: 53.16 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Media.Examples.WaterDerivativeCheck.makefile (rm -f Buildings_8.0.0_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Examples.WaterDerivativeCheck.sim & ./Buildings_8.0.0_Buildings.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1)