Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Media.Examples.WaterProperties.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Media.Examples.WaterProperties") translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Media.Examples.WaterProperties") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.328/2.328, allocations: 254.9 MB / 269.9 MB, free: 9.645 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.001326/0.001326, allocations: 193.1 kB / 329.5 MB, free: 1.16 MB / 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 2.66/2.66, allocations: 225.6 MB / 0.6001 GB, free: 496 kB / 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.001273/0.001273, allocations: 99.05 kB / 0.7074 GB, free: 6.238 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0007239/0.0007243, allocations: 11.94 kB / 0.8242 GB, free: 124.8 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2204/0.2211, allocations: 109.1 MB / 0.9307 GB, free: 24.94 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.005318/0.2265, allocations: 4.189 MB / 0.9348 GB, free: 20.73 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.003222/0.2298, allocations: 2.459 MB / 0.9372 GB, free: 18.26 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001508/0.23, allocations: 7.938 kB / 0.9372 GB, free: 18.25 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.000269/0.2303, allocations: 35.75 kB / 0.9373 GB, free: 18.22 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0003025/0.2306, allocations: 83.48 kB / 0.9374 GB, free: 18.14 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.001458/0.2321, allocations: 374.4 kB / 0.9377 GB, free: 17.77 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0003046/0.2324, allocations: 255.9 kB / 0.938 GB, free: 17.52 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 6.005e-05/0.2325, allocations: 13.56 kB / 0.938 GB, free: 17.5 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002243/0.2327, allocations: 107.6 kB / 0.9381 GB, free: 17.4 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001558/0.2329, allocations: 87.66 kB / 0.9382 GB, free: 17.31 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.053e-05/0.2329, allocations: 4 kB / 0.9382 GB, free: 17.31 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008677/0.2338, allocations: 247.5 kB / 0.9384 GB, free: 17.07 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 6.459e-05/0.2339, allocations: 39.89 kB / 0.9384 GB, free: 17.03 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.591e-05/0.2339, allocations: 53.64 kB / 0.9385 GB, free: 16.97 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0004186/0.2343, allocations: 207.7 kB / 0.9387 GB, free: 16.77 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.2344, allocations: 0 / 0.9387 GB, free: 16.77 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.994e-06/0.2344, allocations: 0 / 0.9387 GB, free: 16.77 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.2344, allocations: 0 / 0.9387 GB, free: 16.77 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.0007414/0.2351, allocations: 467.4 kB / 0.9391 GB, free: 16.26 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.2352, allocations: 8.031 kB / 0.9391 GB, free: 16.25 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001869/0.2354, allocations: 24.75 kB / 0.9392 GB, free: 16.23 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000222/0.2356, allocations: 216.1 kB / 0.9394 GB, free: 15.98 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.007e-05/0.2357, allocations: 12.7 kB / 0.9394 GB, free: 15.96 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.936e-05/0.2357, allocations: 16.38 kB / 0.9394 GB, free: 15.95 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004574/0.2362, allocations: 250.3 kB / 0.9396 GB, free: 15.68 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.2362, allocations: 0 / 0.9396 GB, free: 15.68 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.23e-05/0.2362, allocations: 12 kB / 0.9396 GB, free: 15.67 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.287e-05/0.2363, allocations: 8 kB / 0.9397 GB, free: 15.66 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000593/0.2369, allocations: 431.4 kB / 0.9401 GB, free: 15.24 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001294/0.2382, allocations: 1.008 MB / 0.9411 GB, free: 14.14 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003717/0.2386, allocations: 162.2 kB / 0.9412 GB, free: 13.98 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001405/0.2387, allocations: 64.88 kB / 0.9413 GB, free: 13.91 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001407/0.2402, allocations: 1.829 MB / 0.9431 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.555e-05/0.2402, allocations: 38.56 kB / 0.9431 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=15): time 2.384e-06/0.2402, allocations: 3.938 kB / 0.9431 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of matching and sorting (n=15): time 0.0004224/0.2407, allocations: 137.9 kB / 0.9432 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.93e-05/0.2407, allocations: 55.34 kB / 0.9433 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.2409, allocations: 166.1 kB / 0.9434 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.694e-05/0.2409, allocations: 37.7 kB / 0.9435 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.376e-05/0.241, allocations: 143.8 kB / 0.9436 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.863e-05/0.241, allocations: 51.2 kB / 0.9437 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.242e-05/0.2411, allocations: 8 kB / 0.9437 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.643e-05/0.2411, allocations: 322.8 kB / 0.944 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.553e-05/0.2412, allocations: 35.92 kB / 0.944 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/0.2414, allocations: 140.3 kB / 0.9441 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001384/0.2415, allocations: 59.88 kB / 0.9442 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.2416, allocations: 0 / 0.9442 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004249/0.242, allocations: 213.2 kB / 0.9444 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.242, allocations: 8 kB / 0.9444 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.242, allocations: 7.938 kB / 0.9444 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.318e-05/0.2421, allocations: 4 kB / 0.9444 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003088/0.2424, allocations: 55.86 kB / 0.9445 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/0.2424, allocations: 8.406 kB / 0.9445 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001892/0.2426, allocations: 35.67 kB / 0.9445 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.675e-05/0.2427, allocations: 16 kB / 0.9445 GB, free: 10.09 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001161/0.2428, allocations: 125.8 kB / 0.9447 GB, free: 9.961 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.509e-05/0.2428, allocations: 15.81 kB / 0.9447 GB, free: 9.945 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004035/0.2433, allocations: 150.9 kB / 0.9448 GB, free: 9.793 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.907e-05/0.2433, allocations: 11.92 kB / 0.9448 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.2433, allocations: 0 / 0.9448 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.2433, allocations: 4 kB / 0.9448 GB, free: 9.777 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002801/0.2436, allocations: 213.5 kB / 0.945 GB, free: 9.52 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.2436, allocations: 3.938 kB / 0.945 GB, free: 9.516 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001646/0.2438, allocations: 31.98 kB / 0.9451 GB, free: 9.484 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.2438, allocations: 0 / 0.9451 GB, free: 9.484 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.2438, allocations: 4 kB / 0.9451 GB, free: 9.48 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/0.2438, allocations: 3.938 kB / 0.9451 GB, free: 9.477 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.2439, allocations: 0 / 0.9451 GB, free: 9.477 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000294/0.2442, allocations: 219.3 kB / 0.9453 GB, free: 9.246 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.437e-05/0.2443, allocations: 108.8 kB / 0.9454 GB, free: 9.121 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.444e-05/0.2443, allocations: 3.938 kB / 0.9454 GB, free: 9.117 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002999/0.2446, allocations: 19.92 kB / 0.9454 GB, free: 9.098 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.656e-05/0.2447, allocations: 7.984 kB / 0.9454 GB, free: 9.09 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.989e-05/0.2447, allocations: 11.98 kB / 0.9454 GB, free: 9.078 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 9.347e-05/0.2448, allocations: 121.6 kB / 0.9455 GB, free: 8.961 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.61e-07/0.2448, allocations: 0 / 0.9455 GB, free: 8.961 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0005023/0.2453, allocations: 75.98 kB / 0.9456 GB, free: 8.887 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 (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.0003126/0.2457, allocations: 179.1 kB / 0.9458 GB, free: 8.703 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003096/0.246, allocations: 116.9 kB / 0.9459 GB, free: 8.59 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.246, allocations: 4.188 kB / 0.9459 GB, free: 8.586 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 9.032e-05/0.2461, allocations: 43.92 kB / 0.9459 GB, free: 8.543 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006886/0.2468, allocations: 59.77 kB / 0.946 GB, free: 8.484 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008275/0.2476, allocations: 415.5 kB / 0.9464 GB, free: 8.055 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000159/0.2478, allocations: 0.7131 MB / 0.9471 GB, free: 7.312 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0002926/0.2481, allocations: 49.8 kB / 0.9471 GB, free: 7.266 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.122e-05/0.2482, allocations: 27.44 kB / 0.9472 GB, free: 7.242 MB / 0.5886 GB Notification: Performance of SimCode: time 1.162e-06/0.2482, allocations: 0 / 0.9472 GB, free: 7.242 MB / 0.5886 GB Notification: Performance of Templates: time 0.008903/0.2571, allocations: 3.086 MB / 0.9502 GB, free: 4.176 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Media.Examples.WaterProperties.makefile (rm -f Buildings_7.0.0_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_7.0.0_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_7.0.0_Buildings.Media.Examples.WaterProperties.sim & ./Buildings_7.0.0_Buildings.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Media.Examples.WaterProperties.pipe 2>&1)