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.WaterProperties.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.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties") translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties") 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.422/1.422, allocations: 255.9 MB / 271.2 MB, free: 8.926 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.001143/0.001143, allocations: 179.7 kB / 330.8 MB, free: 496 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.596/1.596, allocations: 225.7 MB / 0.6016 GB, free: 15.96 MB / 442.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.0007488/0.000749, allocations: 109.5 kB / 0.709 GB, free: 5.398 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003476/0.0003476, allocations: 11.92 kB / 0.8261 GB, free: 123.8 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2094/0.2098, allocations: 109.2 MB / 0.9327 GB, free: 24.16 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.003655/0.2135, allocations: 4.371 MB / 0.937 GB, free: 19.73 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.002101/0.2156, allocations: 4.431 MB / 0.9413 GB, free: 14.83 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.161e-05/0.2157, allocations: 0 / 0.9413 GB, free: 14.83 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0002147/0.2159, allocations: 35.81 kB / 0.9414 GB, free: 14.79 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001937/0.2161, allocations: 95.41 kB / 0.9414 GB, free: 14.7 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007195/0.2168, allocations: 434.2 kB / 0.9419 GB, free: 14.27 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001978/0.217, allocations: 303.8 kB / 0.9422 GB, free: 13.98 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.03e-05/0.2171, allocations: 9.562 kB / 0.9422 GB, free: 13.96 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000152/0.2172, allocations: 107.6 kB / 0.9423 GB, free: 13.86 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001096/0.2174, allocations: 95.64 kB / 0.9424 GB, free: 13.77 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.043e-05/0.2174, allocations: 8 kB / 0.9424 GB, free: 13.76 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004985/0.2179, allocations: 331.2 kB / 0.9427 GB, free: 13.43 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 6.109e-05/0.218, allocations: 31.91 kB / 0.9427 GB, free: 13.4 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 7.586e-05/0.2181, allocations: 113.3 kB / 0.9428 GB, free: 13.29 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0004324/0.2185, allocations: 339.4 kB / 0.9431 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.2185, allocations: 0 / 0.9431 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.964e-06/0.2185, allocations: 0 / 0.9431 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.2185, allocations: 0 / 0.9431 GB, free: 12.95 MB / 0.5886 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.0005532/0.2191, allocations: 463.4 kB / 0.9436 GB, free: 12.45 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.2191, allocations: 11.98 kB / 0.9436 GB, free: 12.44 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001374/0.2193, allocations: 32.73 kB / 0.9436 GB, free: 12.41 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001472/0.2194, allocations: 208.1 kB / 0.9438 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.2194, allocations: 16.7 kB / 0.9438 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.706e-05/0.2195, allocations: 16.38 kB / 0.9439 GB, free: 12.13 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002909/0.2198, allocations: 246.3 kB / 0.9441 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.2198, allocations: 4 kB / 0.9441 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.922e-05/0.2198, allocations: 8 kB / 0.9441 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.57e-05/0.2198, allocations: 15.98 kB / 0.9441 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003595/0.2202, allocations: 427.5 kB / 0.9445 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007975/0.221, allocations: 1.004 MB / 0.9455 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000221/0.2212, allocations: 158.6 kB / 0.9457 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.313e-05/0.2213, allocations: 60.88 kB / 0.9457 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008511/0.2222, allocations: 1.829 MB / 0.9475 GB, free: 7.918 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.694e-05/0.2222, allocations: 34.56 kB / 0.9475 GB, free: 7.875 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=15): time 1.203e-06/0.2222, allocations: 0 / 0.9475 GB, free: 7.875 MB / 0.5886 GB Notification: Performance of matching and sorting (n=15): time 0.0002722/0.2225, allocations: 153.3 kB / 0.9477 GB, free: 7.719 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.261e-05/0.2225, allocations: 67.28 kB / 0.9477 GB, free: 7.641 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.481e-05/0.2226, allocations: 157.5 kB / 0.9479 GB, free: 7.477 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.2227, allocations: 29.7 kB / 0.9479 GB, free: 7.441 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.901e-05/0.2227, allocations: 147.7 kB / 0.9481 GB, free: 7.289 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.522e-05/0.2227, allocations: 51.3 kB / 0.9481 GB, free: 7.238 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.494e-06/0.2228, allocations: 4 kB / 0.9481 GB, free: 7.234 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 4.516e-05/0.2228, allocations: 322.8 kB / 0.9484 GB, free: 6.91 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.574e-05/0.2229, allocations: 35.97 kB / 0.9485 GB, free: 6.875 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.686e-05/0.223, allocations: 143.4 kB / 0.9486 GB, free: 6.688 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001531/0.2231, allocations: 193.5 kB / 0.9488 GB, free: 6.449 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2231, allocations: 0 / 0.9488 GB, free: 6.449 MB / 0.5886 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002764/0.2234, allocations: 217.3 kB / 0.949 GB, free: 6.23 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.2234, allocations: 11.94 kB / 0.949 GB, free: 6.219 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.2234, allocations: 4 kB / 0.949 GB, free: 6.215 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.2235, allocations: 4 kB / 0.949 GB, free: 6.211 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001547/0.2236, allocations: 55.86 kB / 0.9491 GB, free: 6.156 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.2236, allocations: 11.98 kB / 0.9491 GB, free: 6.145 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.963e-05/0.2237, allocations: 27.69 kB / 0.9491 GB, free: 6.117 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.608e-05/0.2238, allocations: 12 kB / 0.9491 GB, free: 6.105 MB / 0.5886 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.113e-05/0.2238, allocations: 134 kB / 0.9492 GB, free: 5.965 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.401e-05/0.2239, allocations: 15.91 kB / 0.9492 GB, free: 5.949 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002406/0.2241, allocations: 162.8 kB / 0.9494 GB, free: 5.785 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/0.2241, allocations: 7.938 kB / 0.9494 GB, free: 5.777 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.237e-06/0.2242, allocations: 0 / 0.9494 GB, free: 5.777 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.2242, allocations: 0 / 0.9494 GB, free: 5.777 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001712/0.2243, allocations: 213.5 kB / 0.9496 GB, free: 5.52 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.2243, allocations: 0 / 0.9496 GB, free: 5.52 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.243e-05/0.2244, allocations: 27.98 kB / 0.9496 GB, free: 5.492 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.2244, allocations: 0 / 0.9496 GB, free: 5.492 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.308e-06/0.2245, allocations: 4 kB / 0.9496 GB, free: 5.488 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.2245, allocations: 7.938 kB / 0.9497 GB, free: 5.48 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2245, allocations: 0 / 0.9497 GB, free: 5.48 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001654/0.2246, allocations: 220 kB / 0.9499 GB, free: 5.25 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.621e-05/0.2247, allocations: 108.8 kB / 0.95 GB, free: 5.125 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.521e-05/0.2247, allocations: 8 kB / 0.95 GB, free: 5.117 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/0.2249, allocations: 15.92 kB / 0.95 GB, free: 5.102 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.593e-05/0.2249, allocations: 15.98 kB / 0.95 GB, free: 5.086 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.685e-05/0.225, allocations: 8 kB / 0.95 GB, free: 5.078 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.601e-05/0.225, allocations: 117.8 kB / 0.9501 GB, free: 4.965 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.11e-07/0.225, allocations: 0 / 0.9501 GB, free: 4.965 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003078/0.2253, allocations: 75.92 kB / 0.9502 GB, free: 4.891 MB / 0.5886 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 (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.0002459/0.2256, allocations: 179.1 kB / 0.9504 GB, free: 4.707 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001783/0.2258, allocations: 119.7 kB / 0.9505 GB, free: 4.59 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2258, allocations: 0.9375 kB / 0.9505 GB, free: 4.59 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.008e-05/0.2258, allocations: 43.92 kB / 0.9505 GB, free: 4.547 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003866/0.2262, allocations: 55.89 kB / 0.9506 GB, free: 4.492 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005361/0.2268, allocations: 429.5 kB / 0.951 GB, free: 4.051 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001191/0.2269, allocations: 0.7131 MB / 0.9517 GB, free: 3.309 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001521/0.2271, allocations: 49.78 kB / 0.9517 GB, free: 3.258 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.202e-05/0.2271, allocations: 19.44 kB / 0.9518 GB, free: 3.242 MB / 0.5886 GB Notification: Performance of SimCode: time 2e-07/0.2271, allocations: 7.938 kB / 0.9518 GB, free: 3.234 MB / 0.5886 GB Notification: Performance of Templates: time 0.005374/0.2325, allocations: 3.207 MB / 0.9549 GB, free: 52 kB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.sim & ./Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.pipe 2>&1)