Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") 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.439/1.439, allocations: 255.9 MB / 271.2 MB, free: 8.898 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.0009576/0.0009574, allocations: 182.4 kB / 330.8 MB, free: 472 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.501/1.501, allocations: 225.7 MB / 0.6016 GB, free: 1.5 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.000956/0.0009558, allocations: 107.5 kB / 0.709 GB, free: 6.945 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.000411/0.0004111, allocations: 9.875 kB / 0.8261 GB, free: 115.6 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2096/0.21, allocations: 109.2 MB / 0.9327 GB, free: 6.234 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.003367/0.2134, allocations: 4.134 MB / 0.9368 GB, free: 1.953 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.002751/0.2162, allocations: 4.059 MB / 0.9408 GB, free: 13.46 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.81e-05/0.2163, allocations: 0 / 0.9408 GB, free: 13.46 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0002677/0.2166, allocations: 35.81 kB / 0.9408 GB, free: 13.43 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0002729/0.2169, allocations: 95.47 kB / 0.9409 GB, free: 13.34 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.001248/0.2181, allocations: 458.1 kB / 0.9413 GB, free: 12.89 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0003804/0.2185, allocations: 339.7 kB / 0.9416 GB, free: 12.55 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 5.479e-05/0.2186, allocations: 13.55 kB / 0.9416 GB, free: 12.54 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002496/0.2188, allocations: 111.6 kB / 0.9418 GB, free: 12.43 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001925/0.219, allocations: 99.66 kB / 0.9419 GB, free: 12.33 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.679e-05/0.2191, allocations: 4 kB / 0.9419 GB, free: 12.32 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001027/0.2201, allocations: 427.1 kB / 0.9423 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 8.589e-05/0.2202, allocations: 39.88 kB / 0.9423 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001208/0.2203, allocations: 101.4 kB / 0.9424 GB, free: 11.76 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000657/0.221, allocations: 399.2 kB / 0.9428 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.221, allocations: 0 / 0.9428 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.823e-06/0.221, allocations: 4 kB / 0.9428 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.221, allocations: 0 / 0.9428 GB, free: 11.37 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.0007477/0.2218, allocations: 467.4 kB / 0.9432 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.2218, allocations: 15.98 kB / 0.9432 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001828/0.2237, allocations: 184.5 kB / 0.9434 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002272/0.2239, allocations: 216 kB / 0.9436 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.657e-05/0.2239, allocations: 8.703 kB / 0.9436 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.681e-05/0.224, allocations: 20.31 kB / 0.9437 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005897/0.2246, allocations: 305.7 kB / 0.9439 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.2246, allocations: 3.938 kB / 0.9439 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.474e-05/0.2246, allocations: 12 kB / 0.944 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.122e-05/0.2247, allocations: 7.984 kB / 0.944 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000668/0.2253, allocations: 259.6 kB / 0.9442 GB, free: 9.777 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001546/0.2269, allocations: 1.385 MB / 0.9456 GB, free: 8.277 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006169/0.2275, allocations: 198.4 kB / 0.9458 GB, free: 8.074 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002152/0.2278, allocations: 76.81 kB / 0.9458 GB, free: 7.996 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.894e-05/0.2278, allocations: 11.92 kB / 0.9458 GB, free: 7.984 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.2278, allocations: 30.56 kB / 0.9459 GB, free: 7.945 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=18): time 1.754e-06/0.2278, allocations: 0 / 0.9459 GB, free: 7.945 MB / 0.5886 GB Notification: Performance of matching and sorting (n=18): time 0.0007378/0.2286, allocations: 249.3 kB / 0.9461 GB, free: 7.695 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.766e-05/0.2286, allocations: 51.41 kB / 0.9462 GB, free: 7.633 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.2288, allocations: 152.5 kB / 0.9463 GB, free: 7.473 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.732e-05/0.2288, allocations: 29.7 kB / 0.9463 GB, free: 7.438 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.643e-05/0.2289, allocations: 132 kB / 0.9465 GB, free: 7.305 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 5.081e-05/0.2289, allocations: 59.11 kB / 0.9465 GB, free: 7.246 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.517e-05/0.2289, allocations: 8 kB / 0.9465 GB, free: 7.238 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.2291, allocations: 322.8 kB / 0.9468 GB, free: 6.914 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002119/0.2293, allocations: 68.41 kB / 0.9469 GB, free: 6.848 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002387/0.2295, allocations: 144.1 kB / 0.947 GB, free: 6.676 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000459/0.23, allocations: 213.2 kB / 0.9472 GB, free: 6.434 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.23, allocations: 0 / 0.9472 GB, free: 6.434 MB / 0.5886 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005851/0.2306, allocations: 257.7 kB / 0.9475 GB, free: 6.176 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.2306, allocations: 4 kB / 0.9475 GB, free: 6.172 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.2307, allocations: 4.312 kB / 0.9475 GB, free: 6.168 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.2307, allocations: 8 kB / 0.9475 GB, free: 6.16 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000373/0.2311, allocations: 63.89 kB / 0.9476 GB, free: 6.098 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.519e-05/0.2311, allocations: 7.984 kB / 0.9476 GB, free: 6.09 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002555/0.2313, allocations: 31.83 kB / 0.9476 GB, free: 6.059 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.404e-05/0.2314, allocations: 8 kB / 0.9476 GB, free: 6.051 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (28): * Single equations (assignments): 28 * 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 0.0001231/0.2315, allocations: 137.6 kB / 0.9477 GB, free: 5.906 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.439e-05/0.2316, allocations: 19.81 kB / 0.9478 GB, free: 5.887 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006215/0.2322, allocations: 225.7 kB / 0.948 GB, free: 5.66 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.2322, allocations: 4 kB / 0.948 GB, free: 5.656 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.493e-06/0.2322, allocations: 3.984 kB / 0.948 GB, free: 5.652 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.2322, allocations: 0 / 0.948 GB, free: 5.652 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002767/0.2325, allocations: 241.7 kB / 0.9482 GB, free: 5.367 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.2325, allocations: 0 / 0.9482 GB, free: 5.367 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003207/0.2328, allocations: 43.95 kB / 0.9482 GB, free: 5.324 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.2329, allocations: 4 kB / 0.9482 GB, free: 5.32 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.024e-05/0.2329, allocations: 8 kB / 0.9483 GB, free: 5.312 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.2329, allocations: 0 / 0.9483 GB, free: 5.312 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.2329, allocations: 7.875 kB / 0.9483 GB, free: 5.305 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005161/0.2334, allocations: 299.2 kB / 0.9486 GB, free: 4.996 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.962e-05/0.2335, allocations: 104.8 kB / 0.9487 GB, free: 4.875 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.037e-05/0.2336, allocations: 12 kB / 0.9487 GB, free: 4.863 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002625/0.2338, allocations: 19.92 kB / 0.9487 GB, free: 4.844 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.724e-05/0.2339, allocations: 7.984 kB / 0.9487 GB, free: 4.836 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.512e-05/0.2339, allocations: 8 kB / 0.9487 GB, free: 4.828 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 7.939e-05/0.234, allocations: 117.1 kB / 0.9488 GB, free: 4.715 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.3e-07/0.234, allocations: 0 / 0.9488 GB, free: 4.715 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003828/0.2344, allocations: 56.12 kB / 0.9489 GB, free: 4.66 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 (20): * Single equations (assignments): 20 * 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.0002155/0.2346, allocations: 143.6 kB / 0.949 GB, free: 4.512 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0005241/0.2351, allocations: 187.8 kB / 0.9492 GB, free: 4.328 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.2352, allocations: 0 / 0.9492 GB, free: 4.328 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002208/0.2354, allocations: 87.88 kB / 0.9493 GB, free: 4.242 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005024/0.2359, allocations: 62.75 kB / 0.9493 GB, free: 4.184 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000962/0.2369, allocations: 498.6 kB / 0.9498 GB, free: 3.672 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002782/0.2372, allocations: 0.7137 MB / 0.9505 GB, free: 2.93 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0003746/0.2375, allocations: 57.92 kB / 0.9505 GB, free: 2.871 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.728e-05/0.2376, allocations: 23.42 kB / 0.9506 GB, free: 2.848 MB / 0.5886 GB Notification: Performance of SimCode: time 2.204e-06/0.2376, allocations: 0 / 0.9506 GB, free: 2.848 MB / 0.5886 GB Notification: Performance of Templates: time 0.006972/0.2446, allocations: 3.153 MB / 0.9536 GB, free: 15.72 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)