Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Examples.WaterProperties.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.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Media.Examples.WaterProperties") translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Media.Examples.WaterProperties") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.65/1.65, allocations: 291.7 MB / 306.8 MB, free: 7.684 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.0008896/0.0008895, allocations: 181.3 kB / 375.4 MB, free: 5.145 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.326/1.326, allocations: 225.7 MB / 0.6538 GB, free: 13.67 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.0007333/0.0007333, allocations: 106.7 kB / 0.7699 GB, free: 50.3 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003569/0.000357, allocations: 12 kB / 0.8956 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6003/0.6007, allocations: 118.1 MB / 1.011 GB, free: 57.3 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.004755/0.6055, allocations: 4.197 MB / 1.015 GB, free: 57.07 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002133/0.6077, allocations: 2.457 MB / 1.017 GB, free: 56.66 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.89e-05/0.6078, allocations: 2.969 kB / 1.017 GB, free: 56.66 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0002238/0.608, allocations: 39.14 kB / 1.017 GB, free: 56.65 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0002209/0.6082, allocations: 88.41 kB / 1.018 GB, free: 56.6 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007684/0.609, allocations: 384.4 kB / 1.018 GB, free: 56.45 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002147/0.6092, allocations: 263.1 kB / 1.018 GB, free: 56.39 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.306e-05/0.6093, allocations: 15.78 kB / 1.018 GB, free: 56.39 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000164/0.6095, allocations: 114.7 kB / 1.018 GB, free: 56.36 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001161/0.6096, allocations: 83.53 kB / 1.018 GB, free: 56.34 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.379e-05/0.6096, allocations: 5.344 kB / 1.018 GB, free: 56.34 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004602/0.6101, allocations: 247.8 kB / 1.019 GB, free: 56.29 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 5.536e-05/0.6102, allocations: 36.55 kB / 1.019 GB, free: 56.28 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.785e-05/0.6102, allocations: 53.36 kB / 1.019 GB, free: 56.25 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002647/0.6105, allocations: 214.6 kB / 1.019 GB, free: 56.2 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.6105, allocations: 0 / 1.019 GB, free: 56.2 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6105, allocations: 0 / 1.019 GB, free: 56.2 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.737e-06/0.6105, allocations: 0 / 1.019 GB, free: 56.2 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0005613/0.6111, allocations: 476.5 kB / 1.019 GB, free: 55.77 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.6111, allocations: 8.656 kB / 1.019 GB, free: 55.77 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000132/0.6112, allocations: 23.91 kB / 1.019 GB, free: 55.77 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001666/0.6114, allocations: 208 kB / 1.02 GB, free: 55.56 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.6114, allocations: 16.66 kB / 1.02 GB, free: 55.56 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.948e-05/0.6115, allocations: 18.06 kB / 1.02 GB, free: 55.56 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000307/0.6118, allocations: 249.6 kB / 1.02 GB, free: 55.47 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.6118, allocations: 0 / 1.02 GB, free: 55.47 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.277e-05/0.6118, allocations: 14.73 kB / 1.02 GB, free: 55.47 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.586e-05/0.6119, allocations: 6.391 kB / 1.02 GB, free: 55.47 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003967/0.6123, allocations: 428.5 kB / 1.02 GB, free: 55.47 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008622/0.6131, allocations: 0.9434 MB / 1.021 GB, free: 54.72 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002356/0.6134, allocations: 156.2 kB / 1.021 GB, free: 54.69 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.75e-05/0.6135, allocations: 66.09 kB / 1.021 GB, free: 54.68 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008881/0.6144, allocations: 1.825 MB / 1.023 GB, free: 52.69 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.035e-05/0.6144, allocations: 33.03 kB / 1.023 GB, free: 52.65 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=15): time 1.383e-06/0.6144, allocations: 2.062 kB / 1.023 GB, free: 52.65 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15): time 0.0002816/0.6147, allocations: 147.9 kB / 1.023 GB, free: 52.61 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.275e-05/0.6147, allocations: 61.36 kB / 1.023 GB, free: 52.54 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.6148, allocations: 170.3 kB / 1.024 GB, free: 52.43 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.6149, allocations: 31.14 kB / 1.024 GB, free: 52.39 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.115e-05/0.6149, allocations: 136.4 kB / 1.024 GB, free: 52.28 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.855e-05/0.615, allocations: 57.3 kB / 1.024 GB, free: 52.25 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.735e-06/0.615, allocations: 3.938 kB / 1.024 GB, free: 52.25 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.119e-05/0.615, allocations: 323.7 kB / 1.024 GB, free: 51.93 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.766e-05/0.6151, allocations: 32.23 kB / 1.024 GB, free: 51.93 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.131e-05/0.6152, allocations: 141.6 kB / 1.024 GB, free: 51.8 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001759/0.6154, allocations: 200.5 kB / 1.024 GB, free: 51.66 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.6154, allocations: 4.406 kB / 1.024 GB, free: 51.66 MB / 0.7136 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002696/0.6157, allocations: 211.6 kB / 1.025 GB, free: 51.6 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.6157, allocations: 6.062 kB / 1.025 GB, free: 51.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.6157, allocations: 2.688 kB / 1.025 GB, free: 51.6 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.6157, allocations: 9.156 kB / 1.025 GB, free: 51.6 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001582/0.6159, allocations: 59.58 kB / 1.025 GB, free: 51.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.6159, allocations: 7.734 kB / 1.025 GB, free: 51.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/0.616, allocations: 27.53 kB / 1.025 GB, free: 51.57 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/0.616, allocations: 17.78 kB / 1.025 GB, free: 51.57 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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 0.000101/0.6161, allocations: 140.5 kB / 1.025 GB, free: 51.45 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.998e-05/0.6162, allocations: 19.48 kB / 1.025 GB, free: 51.44 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002481/0.6164, allocations: 151.9 kB / 1.025 GB, free: 51.4 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/0.6165, allocations: 5.875 kB / 1.025 GB, free: 51.4 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.6165, allocations: 0 / 1.025 GB, free: 51.4 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.6165, allocations: 1.156 kB / 1.025 GB, free: 51.4 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000184/0.6167, allocations: 213 kB / 1.025 GB, free: 51.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.6167, allocations: 4 kB / 1.025 GB, free: 51.2 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.59e-05/0.6168, allocations: 28.22 kB / 1.025 GB, free: 51.2 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.6168, allocations: 2.781 kB / 1.025 GB, free: 51.2 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.6168, allocations: 0 / 1.025 GB, free: 51.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.6168, allocations: 6.844 kB / 1.025 GB, free: 51.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.6168, allocations: 0 / 1.025 GB, free: 51.2 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000181/0.617, allocations: 226.8 kB / 1.026 GB, free: 51.05 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.433e-05/0.6171, allocations: 110.7 kB / 1.026 GB, free: 50.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.234e-05/0.6171, allocations: 0 / 1.026 GB, free: 50.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001723/0.6173, allocations: 21.2 kB / 1.026 GB, free: 50.94 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.275e-05/0.6173, allocations: 8.109 kB / 1.026 GB, free: 50.94 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.6173, allocations: 13.16 kB / 1.026 GB, free: 50.94 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.036e-05/0.6174, allocations: 121.7 kB / 1.026 GB, free: 50.86 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6174, allocations: 6.5 kB / 1.026 GB, free: 50.86 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003267/0.6177, allocations: 70.59 kB / 1.026 GB, free: 50.86 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0002242/0.618, allocations: 179.1 kB / 1.026 GB, free: 50.74 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002076/0.6182, allocations: 110.5 kB / 1.026 GB, free: 50.73 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.6182, allocations: 1.25 kB / 1.026 GB, free: 50.73 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.554e-05/0.6182, allocations: 45.3 kB / 1.026 GB, free: 50.73 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004379/0.6187, allocations: 57.38 kB / 1.026 GB, free: 50.72 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005425/0.6192, allocations: 425.9 kB / 1.027 GB, free: 50.49 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001272/0.6194, allocations: 0.7202 MB / 1.027 GB, free: 49.79 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001668/0.6196, allocations: 47.08 kB / 1.027 GB, free: 49.78 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.454e-05/0.6196, allocations: 19.66 kB / 1.027 GB, free: 49.77 MB / 0.7136 GB Notification: Performance of SimCode: time 2.4e-07/0.6196, allocations: 4 kB / 1.027 GB, free: 49.77 MB / 0.7136 GB Notification: Performance of Templates: time 0.00591/0.6255, allocations: 3.15 MB / 1.031 GB, free: 49.53 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Media.Examples.WaterProperties.makefile (rm -f Buildings_8.0.0_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Examples.WaterProperties.sim & ./Buildings_8.0.0_Buildings.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Media.Examples.WaterProperties.pipe 2>&1)