Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck") translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.762/1.762, allocations: 297.4 MB / 312.6 MB, free: 2.906 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.001621/0.001621, allocations: 189.4 kB / 382.3 MB, free: 14.8 MB / 314.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.393/1.393, allocations: 225.7 MB / 0.6617 GB, free: 7.219 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.000787/0.0007871, allocations: 90.81 kB / 0.7789 GB, free: 46.92 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004739/0.000474, allocations: 8 kB / 0.9058 GB, free: 4.949 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5863/0.5868, allocations: 119.2 MB / 1.022 GB, free: 57.86 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.001215/0.5881, allocations: 0.9834 MB / 1.023 GB, free: 57.37 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.003384/0.5915, allocations: 3.527 MB / 1.027 GB, free: 54.84 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.124e-05/0.5915, allocations: 0 / 1.027 GB, free: 54.84 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.815e-05/0.5915, allocations: 6.969 kB / 1.027 GB, free: 54.83 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.559e-05/0.5916, allocations: 4.594 kB / 1.027 GB, free: 54.83 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005153/0.5921, allocations: 94.33 kB / 1.027 GB, free: 54.78 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 7.35e-05/0.5922, allocations: 37.98 kB / 1.027 GB, free: 54.77 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.643e-05/0.5923, allocations: 5.344 kB / 1.027 GB, free: 54.76 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 4.998e-05/0.5923, allocations: 18.62 kB / 1.027 GB, free: 54.76 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.07e-05/0.5924, allocations: 18.39 kB / 1.027 GB, free: 54.75 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.276e-05/0.5924, allocations: 1.188 kB / 1.027 GB, free: 54.75 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002376/0.5927, allocations: 81.52 kB / 1.027 GB, free: 54.71 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.728e-05/0.5927, allocations: 9.188 kB / 1.027 GB, free: 54.71 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.601e-05/0.5927, allocations: 44.11 kB / 1.027 GB, free: 54.67 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001882/0.5929, allocations: 67.31 kB / 1.027 GB, free: 54.65 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.5929, allocations: 3.938 kB / 1.027 GB, free: 54.65 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.753e-06/0.593, allocations: 0 / 1.027 GB, free: 54.65 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.593, allocations: 0 / 1.027 GB, free: 54.65 MB / 0.698 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.0002988/0.5933, allocations: 341.4 kB / 1.027 GB, free: 54.29 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.5933, allocations: 12.28 kB / 1.027 GB, free: 54.29 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.04e-05/0.5934, allocations: 4.531 kB / 1.027 GB, free: 54.29 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.389e-05/0.5935, allocations: 162.3 kB / 1.028 GB, free: 54.09 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.5935, allocations: 3.594 kB / 1.028 GB, free: 54.09 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.755e-05/0.5935, allocations: 8.594 kB / 1.028 GB, free: 54.09 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000117/0.5936, allocations: 58.31 kB / 1.028 GB, free: 54.04 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.5937, allocations: 0.9844 kB / 1.028 GB, free: 54.04 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.5937, allocations: 4.656 kB / 1.028 GB, free: 54.04 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.5937, allocations: 3.781 kB / 1.028 GB, free: 54.04 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.919e-05/0.5937, allocations: 20.73 kB / 1.028 GB, free: 54.04 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00012/0.5939, allocations: 170.6 kB / 1.028 GB, free: 53.84 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.606e-05/0.5939, allocations: 52.05 kB / 1.028 GB, free: 53.8 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.557e-05/0.594, allocations: 16.16 kB / 1.028 GB, free: 53.79 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005273/0.5945, allocations: 0.5923 MB / 1.028 GB, free: 53.16 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.616e-05/0.5945, allocations: 43 kB / 1.028 GB, free: 53.11 MB / 0.698 GB Notification: Performance of pre-optimization done (n=5): time 1.874e-06/0.5946, allocations: 0 / 1.028 GB, free: 53.11 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0005562/0.5951, allocations: 298.9 kB / 1.029 GB, free: 52.83 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.353e-05/0.5952, allocations: 52.94 kB / 1.029 GB, free: 52.77 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.818e-05/0.5952, allocations: 98.89 kB / 1.029 GB, free: 52.67 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.5952, allocations: 31.14 kB / 1.029 GB, free: 52.64 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.928e-05/0.5953, allocations: 86.39 kB / 1.029 GB, free: 52.55 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.104e-05/0.5953, allocations: 32.42 kB / 1.029 GB, free: 52.52 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.009e-06/0.5953, allocations: 4 kB / 1.029 GB, free: 52.52 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.315e-05/0.5954, allocations: 318.2 kB / 1.029 GB, free: 52.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.166e-05/0.5954, allocations: 14.39 kB / 1.029 GB, free: 52.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.562e-05/0.5955, allocations: 49.58 kB / 1.029 GB, free: 52.15 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.181e-05/0.5956, allocations: 75.69 kB / 1.029 GB, free: 52.08 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.5956, allocations: 2.109 kB / 1.029 GB, free: 52.08 MB / 0.698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.00014/0.5957, allocations: 96.27 kB / 1.03 GB, free: 52.02 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.5957, allocations: 8.625 kB / 1.03 GB, free: 52.02 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.5958, allocations: 1.125 kB / 1.03 GB, free: 52.02 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.5958, allocations: 6.562 kB / 1.03 GB, free: 52.02 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.923e-05/0.5959, allocations: 20.72 kB / 1.03 GB, free: 52.02 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.5959, allocations: 0.5625 kB / 1.03 GB, free: 52.02 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.802e-05/0.5959, allocations: 9.219 kB / 1.03 GB, free: 52.01 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.5959, allocations: 4.156 kB / 1.03 GB, free: 52.01 MB / 0.698 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.865e-05/0.596, allocations: 123.2 kB / 1.03 GB, free: 51.88 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.527e-05/0.596, allocations: 7.5 kB / 1.03 GB, free: 51.88 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.401e-05/0.596, allocations: 8.969 kB / 1.03 GB, free: 51.87 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.5961, allocations: 7.344 kB / 1.03 GB, free: 51.87 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.5961, allocations: 0 / 1.03 GB, free: 51.87 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.5961, allocations: 5.203 kB / 1.03 GB, free: 51.86 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001887/0.5963, allocations: 173.8 kB / 1.03 GB, free: 51.67 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.5963, allocations: 0 / 1.03 GB, free: 51.67 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.46e-05/0.5964, allocations: 18.58 kB / 1.03 GB, free: 51.66 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.5964, allocations: 1.891 kB / 1.03 GB, free: 51.66 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.5964, allocations: 4 kB / 1.03 GB, free: 51.66 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.5964, allocations: 2.047 kB / 1.03 GB, free: 51.66 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.5964, allocations: 0 / 1.03 GB, free: 51.66 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001372/0.5965, allocations: 178.1 kB / 1.03 GB, free: 51.51 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.047e-05/0.5966, allocations: 85.95 kB / 1.03 GB, free: 51.41 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.5966, allocations: 0.6562 kB / 1.03 GB, free: 51.41 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.5967, allocations: 3.766 kB / 1.03 GB, free: 51.41 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.879e-05/0.5967, allocations: 5.438 kB / 1.03 GB, free: 51.41 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.204e-06/0.5967, allocations: 7.938 kB / 1.03 GB, free: 51.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.781e-05/0.5968, allocations: 78.81 kB / 1.03 GB, free: 51.33 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5968, allocations: 0 / 1.03 GB, free: 51.33 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002127/0.597, allocations: 18.91 kB / 1.03 GB, free: 51.32 MB / 0.698 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.112e-05/0.5971, allocations: 105.3 kB / 1.03 GB, free: 51.23 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001045/0.5972, allocations: 41.28 kB / 1.03 GB, free: 51.22 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.5972, allocations: 3.938 kB / 1.03 GB, free: 51.22 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.069e-05/0.5972, allocations: 18.06 kB / 1.03 GB, free: 51.21 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002425/0.5975, allocations: 14.92 kB / 1.03 GB, free: 51.21 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000488/0.598, allocations: 392.5 kB / 1.031 GB, free: 50.93 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.428e-05/0.5981, allocations: 0.6849 MB / 1.032 GB, free: 50.23 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.589e-05/0.5981, allocations: 11.12 kB / 1.032 GB, free: 50.23 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.188e-05/0.5982, allocations: 10.69 kB / 1.032 GB, free: 50.22 MB / 0.698 GB Notification: Performance of SimCode: time 4.11e-07/0.5982, allocations: 0.9688 kB / 1.032 GB, free: 50.22 MB / 0.698 GB Notification: Performance of Templates: time 0.002335/0.6005, allocations: 0.5913 MB / 1.032 GB, free: 50.15 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.makefile (rm -f Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.sim & ./Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1)