Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Examples.WaterProperties.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Media.Examples.WaterProperties") translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Media.Examples.WaterProperties") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.806/1.806, allocations: 292.6 MB / 307.8 MB, free: 7.164 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.0011/0.0011, allocations: 189 kB / 376.5 MB, free: 4.441 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.498/1.498, allocations: 225.7 MB / 0.655 GB, free: 13.14 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.0008297/0.0008297, allocations: 97.78 kB / 0.7711 GB, free: 50.44 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004617/0.0004619, allocations: 8 kB / 0.897 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6131/0.6136, allocations: 118.2 MB / 1.012 GB, free: 58.09 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.00512/0.6188, allocations: 4.183 MB / 1.016 GB, free: 57.87 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002312/0.6211, allocations: 2.465 MB / 1.019 GB, free: 57.45 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000105/0.6213, allocations: 4.781 kB / 1.019 GB, free: 57.45 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0002544/0.6215, allocations: 29.34 kB / 1.019 GB, free: 57.44 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0002622/0.6218, allocations: 90.56 kB / 1.019 GB, free: 57.39 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.001101/0.6229, allocations: 422.7 kB / 1.019 GB, free: 57.23 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002176/0.6231, allocations: 254.1 kB / 1.02 GB, free: 57.17 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 5.307e-05/0.6232, allocations: 19.98 kB / 1.02 GB, free: 57.17 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001741/0.6234, allocations: 102.9 kB / 1.02 GB, free: 57.14 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001191/0.6235, allocations: 89.28 kB / 1.02 GB, free: 57.12 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.221e-05/0.6235, allocations: 8.766 kB / 1.02 GB, free: 57.12 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005836/0.6241, allocations: 328.3 kB / 1.02 GB, free: 57.05 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 5.674e-05/0.6242, allocations: 40.66 kB / 1.02 GB, free: 57.04 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 8.005e-05/0.6243, allocations: 99.44 kB / 1.02 GB, free: 56.99 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000324/0.6246, allocations: 233.5 kB / 1.021 GB, free: 56.95 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.6246, allocations: 0.7812 kB / 1.021 GB, free: 56.95 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.736e-06/0.6246, allocations: 0 / 1.021 GB, free: 56.95 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.6246, allocations: 5.531 kB / 1.021 GB, free: 56.94 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.0005715/0.6252, allocations: 477.4 kB / 1.021 GB, free: 56.52 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.6253, allocations: 10.97 kB / 1.021 GB, free: 56.52 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001351/0.6254, allocations: 20.33 kB / 1.021 GB, free: 56.51 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001875/0.6256, allocations: 205 kB / 1.021 GB, free: 56.3 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.6256, allocations: 18.64 kB / 1.021 GB, free: 56.3 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.404e-05/0.6257, allocations: 17.06 kB / 1.021 GB, free: 56.3 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003098/0.626, allocations: 248.6 kB / 1.021 GB, free: 56.22 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.626, allocations: 6.047 kB / 1.021 GB, free: 56.21 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.037e-05/0.626, allocations: 8.312 kB / 1.021 GB, free: 56.21 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.316e-05/0.626, allocations: 7.562 kB / 1.022 GB, free: 56.21 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004195/0.6265, allocations: 425.8 kB / 1.022 GB, free: 56.21 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008687/0.6273, allocations: 0.945 MB / 1.023 GB, free: 55.46 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002102/0.6276, allocations: 160.7 kB / 1.023 GB, free: 55.43 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.326e-05/0.6277, allocations: 64.19 kB / 1.023 GB, free: 55.43 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008891/0.6286, allocations: 1.828 MB / 1.025 GB, free: 53.43 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.6286, allocations: 42.11 kB / 1.025 GB, free: 53.39 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=15): time 1.403e-06/0.6286, allocations: 0 / 1.025 GB, free: 53.39 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15): time 0.0002722/0.6289, allocations: 146.7 kB / 1.025 GB, free: 53.35 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.219e-05/0.6289, allocations: 56.75 kB / 1.025 GB, free: 53.28 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.629, allocations: 172.5 kB / 1.025 GB, free: 53.16 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.6291, allocations: 31.61 kB / 1.025 GB, free: 53.13 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.725e-05/0.6291, allocations: 146.3 kB / 1.025 GB, free: 53.01 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.702e-05/0.6292, allocations: 44.53 kB / 1.025 GB, free: 52.98 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.356e-06/0.6292, allocations: 7.031 kB / 1.025 GB, free: 52.98 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.003e-05/0.6292, allocations: 326 kB / 1.026 GB, free: 52.67 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.359e-05/0.6293, allocations: 33.97 kB / 1.026 GB, free: 52.67 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.641e-05/0.6294, allocations: 138.1 kB / 1.026 GB, free: 52.55 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001672/0.6296, allocations: 201.7 kB / 1.026 GB, free: 52.4 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.6296, allocations: 0 / 1.026 GB, free: 52.4 MB / 0.7136 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002424/0.6298, allocations: 209.3 kB / 1.026 GB, free: 52.34 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.6298, allocations: 6.094 kB / 1.026 GB, free: 52.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.6299, allocations: 7.156 kB / 1.026 GB, free: 52.34 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.6299, allocations: 5.531 kB / 1.026 GB, free: 52.34 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001588/0.63, allocations: 57.5 kB / 1.026 GB, free: 52.33 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.948e-06/0.6301, allocations: 11.41 kB / 1.026 GB, free: 52.33 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/0.6302, allocations: 34.66 kB / 1.026 GB, free: 52.31 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.579e-05/0.6302, allocations: 13.59 kB / 1.026 GB, free: 52.31 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 7.262e-05/0.6303, allocations: 132.8 kB / 1.027 GB, free: 52.19 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.595e-05/0.6303, allocations: 17.45 kB / 1.027 GB, free: 52.18 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002518/0.6306, allocations: 151.2 kB / 1.027 GB, free: 52.14 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/0.6306, allocations: 6.656 kB / 1.027 GB, free: 52.14 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.6306, allocations: 0 / 1.027 GB, free: 52.14 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.6306, allocations: 6.625 kB / 1.027 GB, free: 52.14 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001771/0.6308, allocations: 214.4 kB / 1.027 GB, free: 51.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.6308, allocations: 1.688 kB / 1.027 GB, free: 51.94 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.312e-05/0.6309, allocations: 31.12 kB / 1.027 GB, free: 51.94 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.6309, allocations: 3.938 kB / 1.027 GB, free: 51.93 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.6309, allocations: 2.906 kB / 1.027 GB, free: 51.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.6309, allocations: 3.938 kB / 1.027 GB, free: 51.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.6309, allocations: 0 / 1.027 GB, free: 51.93 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001688/0.6311, allocations: 228.4 kB / 1.027 GB, free: 51.78 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.066e-05/0.6312, allocations: 111.1 kB / 1.027 GB, free: 51.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.286e-05/0.6312, allocations: 1.312 kB / 1.027 GB, free: 51.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001682/0.6314, allocations: 16.91 kB / 1.027 GB, free: 51.67 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.709e-05/0.6314, allocations: 12.83 kB / 1.027 GB, free: 51.67 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-05/0.6314, allocations: 12.22 kB / 1.027 GB, free: 51.67 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.645e-05/0.6315, allocations: 120.6 kB / 1.027 GB, free: 51.59 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6315, allocations: 0 / 1.027 GB, free: 51.59 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003369/0.6318, allocations: 75.08 kB / 1.028 GB, free: 51.59 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.0002902/0.6321, allocations: 183 kB / 1.028 GB, free: 51.48 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002008/0.6323, allocations: 113.9 kB / 1.028 GB, free: 51.46 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.6324, allocations: 4.062 kB / 1.028 GB, free: 51.46 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.432e-05/0.6324, allocations: 44.98 kB / 1.028 GB, free: 51.46 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004062/0.6328, allocations: 53.28 kB / 1.028 GB, free: 51.45 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005961/0.6334, allocations: 432.1 kB / 1.028 GB, free: 51.22 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001215/0.6336, allocations: 0.7141 MB / 1.029 GB, free: 50.52 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001686/0.6337, allocations: 48.2 kB / 1.029 GB, free: 50.51 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.577e-05/0.6338, allocations: 26.28 kB / 1.029 GB, free: 50.5 MB / 0.7136 GB Notification: Performance of SimCode: time 2.3e-07/0.6338, allocations: 0 / 1.029 GB, free: 50.5 MB / 0.7136 GB Notification: Performance of Templates: time 0.006426/0.6402, allocations: 3.232 MB / 1.032 GB, free: 50.25 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Media.Examples.WaterProperties.makefile (rm -f Buildings_maint.8.0.x_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Examples.WaterProperties.sim & ./Buildings_maint.8.0.x_Buildings.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Media.Examples.WaterProperties.pipe 2>&1)