Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.WaterProperties.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.WaterProperties") translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.WaterProperties") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.656/1.656, allocations: 297.4 MB / 312.6 MB, free: 2.914 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.001259/0.001259, allocations: 192.7 kB / 382.3 MB, free: 14.81 MB / 314.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.487/1.487, allocations: 225.7 MB / 0.6617 GB, free: 7.227 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.0007927/0.0007927, allocations: 95.34 kB / 0.7789 GB, free: 46.96 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003546/0.0003548, allocations: 8 kB / 0.9058 GB, free: 4.949 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.685/0.6854, allocations: 119.2 MB / 1.022 GB, free: 58.02 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.006106/0.6915, allocations: 4.361 MB / 1.027 GB, free: 55.26 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.003959/0.6955, allocations: 4.461 MB / 1.031 GB, free: 51.14 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000154/0.6957, allocations: 0 / 1.031 GB, free: 51.14 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.000333/0.6961, allocations: 38.02 kB / 1.031 GB, free: 51.12 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0003511/0.6965, allocations: 86.95 kB / 1.031 GB, free: 51.07 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001741/0.6982, allocations: 446.5 kB / 1.031 GB, free: 50.84 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0004206/0.6986, allocations: 304.1 kB / 1.032 GB, free: 50.73 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 7.581e-05/0.6987, allocations: 9.469 kB / 1.032 GB, free: 50.73 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002735/0.699, allocations: 112.9 kB / 1.032 GB, free: 50.69 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001784/0.6992, allocations: 91.12 kB / 1.032 GB, free: 50.65 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.281e-05/0.6993, allocations: 8.938 kB / 1.032 GB, free: 50.65 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00101/0.7003, allocations: 330.1 kB / 1.032 GB, free: 50.53 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 8.912e-05/0.7004, allocations: 36.41 kB / 1.032 GB, free: 50.51 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000136/0.7005, allocations: 108.7 kB / 1.032 GB, free: 50.44 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0008179/0.7014, allocations: 333.8 kB / 1.033 GB, free: 50.34 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/0.7014, allocations: 6.562 kB / 1.033 GB, free: 50.33 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.723e-06/0.7014, allocations: 3.938 kB / 1.033 GB, free: 50.33 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.7014, allocations: 0 / 1.033 GB, free: 50.33 MB / 0.698 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.0008077/0.7022, allocations: 481.3 kB / 1.033 GB, free: 49.88 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.951e-05/0.7023, allocations: 8.156 kB / 1.033 GB, free: 49.88 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002249/0.7025, allocations: 18.77 kB / 1.033 GB, free: 49.88 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002912/0.7028, allocations: 209.4 kB / 1.033 GB, free: 49.66 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.647e-05/0.7029, allocations: 10.45 kB / 1.033 GB, free: 49.66 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.502e-05/0.7029, allocations: 22.16 kB / 1.033 GB, free: 49.65 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005906/0.7035, allocations: 248.2 kB / 1.034 GB, free: 49.51 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.7036, allocations: 3.938 kB / 1.034 GB, free: 49.51 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.87e-05/0.7036, allocations: 12.84 kB / 1.034 GB, free: 49.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.832e-05/0.7037, allocations: 7.141 kB / 1.034 GB, free: 49.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007695/0.7045, allocations: 426.4 kB / 1.034 GB, free: 49.42 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001506/0.706, allocations: 0.9393 MB / 1.035 GB, free: 48.59 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003936/0.7064, allocations: 158.1 kB / 1.035 GB, free: 48.52 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001533/0.7066, allocations: 62.33 kB / 1.035 GB, free: 48.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001444/0.708, allocations: 1.823 MB / 1.037 GB, free: 46.46 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.7081, allocations: 36.84 kB / 1.037 GB, free: 46.42 MB / 0.698 GB Notification: Performance of pre-optimization done (n=15): time 2.384e-06/0.7081, allocations: 4 kB / 1.037 GB, free: 46.42 MB / 0.698 GB Notification: Performance of matching and sorting (n=15): time 0.0004461/0.7085, allocations: 142.3 kB / 1.037 GB, free: 46.35 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.191e-05/0.7086, allocations: 66.12 kB / 1.037 GB, free: 46.28 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001671/0.7088, allocations: 170.2 kB / 1.037 GB, free: 46.15 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/0.7088, allocations: 28.52 kB / 1.037 GB, free: 46.12 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.37e-05/0.7089, allocations: 148.6 kB / 1.038 GB, free: 45.98 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.02e-05/0.7089, allocations: 47.14 kB / 1.038 GB, free: 45.95 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.117e-05/0.709, allocations: 1.812 kB / 1.038 GB, free: 45.95 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.85e-05/0.709, allocations: 334.3 kB / 1.038 GB, free: 45.62 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/0.7091, allocations: 31.09 kB / 1.038 GB, free: 45.61 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001518/0.7093, allocations: 134.8 kB / 1.038 GB, free: 45.47 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002836/0.7096, allocations: 211.5 kB / 1.038 GB, free: 45.28 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.7096, allocations: 0 / 1.038 GB, free: 45.28 MB / 0.698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004305/0.7101, allocations: 205.5 kB / 1.038 GB, free: 45.19 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.7101, allocations: 5.594 kB / 1.038 GB, free: 45.19 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/0.7101, allocations: 6.75 kB / 1.038 GB, free: 45.19 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.231e-05/0.7102, allocations: 7.562 kB / 1.038 GB, free: 45.19 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002644/0.7104, allocations: 58.91 kB / 1.039 GB, free: 45.18 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.445e-05/0.7105, allocations: 10.19 kB / 1.039 GB, free: 45.17 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001992/0.7107, allocations: 30.31 kB / 1.039 GB, free: 45.15 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.866e-05/0.7107, allocations: 15.28 kB / 1.039 GB, free: 45.15 MB / 0.698 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 0.0001091/0.7108, allocations: 130.4 kB / 1.039 GB, free: 45.02 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.627e-05/0.7109, allocations: 17.84 kB / 1.039 GB, free: 45.01 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003908/0.7113, allocations: 153.8 kB / 1.039 GB, free: 44.93 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-05/0.7113, allocations: 9 kB / 1.039 GB, free: 44.93 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.7114, allocations: 3.25 kB / 1.039 GB, free: 44.93 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.7114, allocations: 0 / 1.039 GB, free: 44.93 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003039/0.7117, allocations: 214.6 kB / 1.039 GB, free: 44.71 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.7117, allocations: 1.219 kB / 1.039 GB, free: 44.71 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001346/0.7118, allocations: 30.83 kB / 1.039 GB, free: 44.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.7119, allocations: 0 / 1.039 GB, free: 44.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.7119, allocations: 5.75 kB / 1.039 GB, free: 44.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.7119, allocations: 3.938 kB / 1.039 GB, free: 44.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.7119, allocations: 4 kB / 1.039 GB, free: 44.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002769/0.7122, allocations: 215.8 kB / 1.039 GB, free: 44.53 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.7123, allocations: 111.5 kB / 1.039 GB, free: 44.42 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.775e-05/0.7124, allocations: 2.062 kB / 1.039 GB, free: 44.42 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002732/0.7126, allocations: 19.92 kB / 1.039 GB, free: 44.41 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.187e-05/0.7127, allocations: 12.5 kB / 1.039 GB, free: 44.41 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.374e-05/0.7127, allocations: 13.52 kB / 1.04 GB, free: 44.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001063/0.7128, allocations: 124.3 kB / 1.04 GB, free: 44.31 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7129, allocations: 3.938 kB / 1.04 GB, free: 44.31 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006874/0.7136, allocations: 70.91 kB / 1.04 GB, free: 44.3 MB / 0.698 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.0004081/0.714, allocations: 174.9 kB / 1.04 GB, free: 44.19 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003314/0.7143, allocations: 118.2 kB / 1.04 GB, free: 44.16 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.7143, allocations: 0 / 1.04 GB, free: 44.16 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.78e-05/0.7145, allocations: 45.84 kB / 1.04 GB, free: 44.14 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006776/0.7151, allocations: 56.14 kB / 1.04 GB, free: 44.12 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009799/0.7161, allocations: 431.3 kB / 1.04 GB, free: 43.88 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001813/0.7163, allocations: 0.7179 MB / 1.041 GB, free: 43.17 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002908/0.7166, allocations: 46.7 kB / 1.041 GB, free: 43.16 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.87e-05/0.7167, allocations: 24.84 kB / 1.041 GB, free: 43.14 MB / 0.698 GB Notification: Performance of SimCode: time 5.41e-07/0.7167, allocations: 0 / 1.041 GB, free: 43.14 MB / 0.698 GB Notification: Performance of Templates: time 0.01036/0.7271, allocations: 3.288 MB / 1.044 GB, free: 42.83 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Media.Examples.WaterProperties.makefile (rm -f Buildings_8_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_8_Buildings.Media.Examples.WaterProperties.sim & ./Buildings_8_Buildings.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Examples.WaterProperties.pipe 2>&1)