Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck") translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.413/1.413, allocations: 255.9 MB / 271.2 MB, free: 8.895 MB / 218.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.0009691/0.0009691, allocations: 186.4 kB / 330.8 MB, free: 460 kB / 250.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.618/1.618, allocations: 225.7 MB / 0.6016 GB, free: 1.555 MB / 426.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.0008234/0.0008234, allocations: 99.56 kB / 0.709 GB, free: 6.949 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003189/0.0003188, allocations: 8 kB / 0.8261 GB, free: 115.6 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1991/0.1994, allocations: 109.2 MB / 0.9327 GB, free: 6.238 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.001237/0.2007, allocations: 0.9812 MB / 0.9337 GB, free: 5.25 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.00286/0.2036, allocations: 3.531 MB / 0.9371 GB, free: 1.59 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.187e-05/0.2037, allocations: 0 / 0.9371 GB, free: 1.59 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 1.908e-05/0.2037, allocations: 0 / 0.9371 GB, free: 1.59 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 4.245e-05/0.2037, allocations: 11.92 kB / 0.9372 GB, free: 1.578 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003993/0.2041, allocations: 91.61 kB / 0.9372 GB, free: 1.488 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 5.034e-05/0.2042, allocations: 31.91 kB / 0.9373 GB, free: 1.457 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.775e-05/0.2042, allocations: 0 / 0.9373 GB, free: 1.457 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 4.319e-05/0.2043, allocations: 23.92 kB / 0.9373 GB, free: 1.434 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 6.284e-05/0.2044, allocations: 27.91 kB / 0.9373 GB, free: 1.406 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 1.08e-05/0.2044, allocations: 0 / 0.9373 GB, free: 1.406 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002007/0.2046, allocations: 67.77 kB / 0.9374 GB, free: 1.34 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 1.657e-05/0.2046, allocations: 15.97 kB / 0.9374 GB, free: 1.324 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 3.79e-05/0.2047, allocations: 41.64 kB / 0.9374 GB, free: 1.277 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001633/0.2048, allocations: 64.12 kB / 0.9375 GB, free: 1.215 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.2048, allocations: 0 / 0.9375 GB, free: 1.215 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.484e-06/0.2048, allocations: 4 kB / 0.9375 GB, free: 1.211 MB / 0.573 GB Notification: Performance of Transformations before backend: time 3.506e-06/0.2049, allocations: 0 / 0.9375 GB, free: 1.211 MB / 0.573 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.0002842/0.2051, allocations: 335.5 kB / 0.9378 GB, free: 0.8359 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.2052, allocations: 19.92 kB / 0.9378 GB, free: 0.8164 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.898e-05/0.2053, allocations: 8.844 kB / 0.9379 GB, free: 0.8086 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.669e-05/0.2053, allocations: 168.3 kB / 0.938 GB, free: 0.6055 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.2053, allocations: 8.375 kB / 0.938 GB, free: 0.5977 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.098e-05/0.2054, allocations: 8.312 kB / 0.938 GB, free: 0.5898 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001041/0.2055, allocations: 57.8 kB / 0.9381 GB, free: 0.5273 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/0.2055, allocations: 0 / 0.9381 GB, free: 0.5273 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.2055, allocations: 4 kB / 0.9381 GB, free: 0.5234 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.2055, allocations: 4 kB / 0.9381 GB, free: 0.5195 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.232e-05/0.2056, allocations: 15.98 kB / 0.9381 GB, free: 0.5039 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001154/0.2057, allocations: 161.7 kB / 0.9383 GB, free: 304 kB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 7.082e-05/0.2058, allocations: 58.56 kB / 0.9383 GB, free: 236 kB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.278e-05/0.2058, allocations: 12.86 kB / 0.9383 GB, free: 220 kB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006395/0.2064, allocations: 0.6024 MB / 0.9389 GB, free: 15.5 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/0.2065, allocations: 30.56 kB / 0.9389 GB, free: 15.46 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.2065, allocations: 0 / 0.9389 GB, free: 15.46 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0005308/0.207, allocations: 298.2 kB / 0.9392 GB, free: 15.12 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.2071, allocations: 51.41 kB / 0.9393 GB, free: 15.06 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.081e-05/0.2071, allocations: 102.1 kB / 0.9394 GB, free: 14.95 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.2072, allocations: 33.7 kB / 0.9394 GB, free: 14.91 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.29e-05/0.2072, allocations: 95.97 kB / 0.9395 GB, free: 14.81 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.119e-05/0.2072, allocations: 27.56 kB / 0.9395 GB, free: 14.79 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-06/0.2073, allocations: 0 / 0.9395 GB, free: 14.79 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.2074, allocations: 318.8 kB / 0.9398 GB, free: 14.46 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.603e-05/0.2074, allocations: 15.94 kB / 0.9398 GB, free: 14.45 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.492e-05/0.2075, allocations: 61.08 kB / 0.9399 GB, free: 14.37 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.207e-05/0.2075, allocations: 73.25 kB / 0.94 GB, free: 14.28 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.2076, allocations: 0 / 0.94 GB, free: 14.28 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001302/0.2077, allocations: 93.58 kB / 0.9401 GB, free: 14.18 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.2077, allocations: 8 kB / 0.9401 GB, free: 14.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.2077, allocations: 0 / 0.9401 GB, free: 14.18 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.2077, allocations: 4 kB / 0.9401 GB, free: 14.17 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.903e-05/0.2078, allocations: 27.92 kB / 0.9401 GB, free: 14.14 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.2078, allocations: 0 / 0.9401 GB, free: 14.14 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.872e-05/0.2079, allocations: 7.938 kB / 0.9401 GB, free: 14.14 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-06/0.2079, allocations: 4 kB / 0.9401 GB, free: 14.13 MB / 0.5886 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 7.372e-05/0.208, allocations: 114.6 kB / 0.9402 GB, free: 14.01 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.317e-05/0.208, allocations: 4 kB / 0.9402 GB, free: 14.01 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.627e-05/0.208, allocations: 7.969 kB / 0.9402 GB, free: 13.99 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.208, allocations: 4 kB / 0.9402 GB, free: 13.99 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.2081, allocations: 0 / 0.9402 GB, free: 13.99 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.2081, allocations: 7.875 kB / 0.9402 GB, free: 13.98 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002352/0.2083, allocations: 173.7 kB / 0.9404 GB, free: 13.76 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.2083, allocations: 4.375 kB / 0.9404 GB, free: 13.76 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.411e-05/0.2084, allocations: 15.98 kB / 0.9404 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.2084, allocations: 0 / 0.9404 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.2084, allocations: 8 kB / 0.9404 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.2084, allocations: 4 kB / 0.9404 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.2084, allocations: 0 / 0.9404 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001675/0.2086, allocations: 175.4 kB / 0.9406 GB, free: 13.54 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.3e-05/0.2087, allocations: 88.95 kB / 0.9407 GB, free: 13.44 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.275e-05/0.2087, allocations: 0 / 0.9407 GB, free: 13.44 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.2088, allocations: 12.03 kB / 0.9407 GB, free: 13.43 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.579e-05/0.2088, allocations: 3.938 kB / 0.9407 GB, free: 13.42 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.2088, allocations: 7.938 kB / 0.9407 GB, free: 13.41 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.972e-05/0.2089, allocations: 79.28 kB / 0.9408 GB, free: 13.34 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2089, allocations: 0 / 0.9408 GB, free: 13.34 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000216/0.2091, allocations: 19.98 kB / 0.9408 GB, free: 13.32 MB / 0.5886 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 0.0001312/0.2092, allocations: 103.8 kB / 0.9409 GB, free: 13.21 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001052/0.2094, allocations: 39.92 kB / 0.9409 GB, free: 13.17 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2094, allocations: 256 / 0.9409 GB, free: 13.17 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.459e-05/0.2094, allocations: 23.94 kB / 0.941 GB, free: 13.14 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002484/0.2096, allocations: 15.83 kB / 0.941 GB, free: 13.13 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006371/0.2103, allocations: 390.9 kB / 0.9414 GB, free: 12.72 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002535/0.2106, allocations: 0.6809 MB / 0.942 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.988e-05/0.2106, allocations: 15.77 kB / 0.942 GB, free: 12 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.151e-05/0.2107, allocations: 11.44 kB / 0.942 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of SimCode: time 3.31e-07/0.2107, allocations: 0 / 0.942 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of Templates: time 0.002445/0.2131, allocations: 0.5905 MB / 0.9426 GB, free: 11.4 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1)