Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.WaterProperties.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.WaterProperties") translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.WaterProperties") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.742/1.742, allocations: 306.1 MB / 321.4 MB, free: 10.75 MB / 250.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.001108/0.001109, allocations: 179.5 kB / 393.1 MB, free: 4.074 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.437/1.437, allocations: 225.7 MB / 0.6743 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008/0.0008001, allocations: 89.45 kB / 0.7935 GB, free: 40.05 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004052/0.0004052, allocations: 10.06 kB / 0.9224 GB, free: 8.688 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6024/0.6029, allocations: 121.3 MB / 1.041 GB, free: 58.35 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.004492/0.6074, allocations: 4.375 MB / 1.045 GB, free: 55.18 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002643/0.6101, allocations: 4.466 MB / 1.049 GB, free: 51.04 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.538e-05/0.6102, allocations: 1.906 kB / 1.049 GB, free: 51.04 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0002515/0.6104, allocations: 37.19 kB / 1.05 GB, free: 51.03 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0002327/0.6107, allocations: 89.67 kB / 1.05 GB, free: 50.97 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001021/0.6117, allocations: 465.2 kB / 1.05 GB, free: 50.73 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002854/0.612, allocations: 314.1 kB / 1.05 GB, free: 50.62 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 5.013e-05/0.6121, allocations: 11.28 kB / 1.05 GB, free: 50.62 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001814/0.6123, allocations: 108.4 kB / 1.05 GB, free: 50.58 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001299/0.6124, allocations: 96.02 kB / 1.051 GB, free: 50.54 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.294e-05/0.6124, allocations: 5.406 kB / 1.051 GB, free: 50.54 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006257/0.6131, allocations: 351.6 kB / 1.051 GB, free: 50.41 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 7.18e-05/0.6131, allocations: 34.02 kB / 1.051 GB, free: 50.39 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 9.718e-05/0.6132, allocations: 105.1 kB / 1.051 GB, free: 50.32 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005217/0.6138, allocations: 368.7 kB / 1.051 GB, free: 50.2 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.6138, allocations: 4 kB / 1.051 GB, free: 50.19 MB / 0.698 GB Notification: Performance of FrontEnd: time 8.91e-07/0.6138, allocations: 0 / 1.051 GB, free: 50.19 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.065e-06/0.6138, allocations: 0 / 1.051 GB, free: 50.19 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.0005654/0.6144, allocations: 469.4 kB / 1.052 GB, free: 49.76 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.6144, allocations: 9.688 kB / 1.052 GB, free: 49.76 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001385/0.6146, allocations: 22.88 kB / 1.052 GB, free: 49.75 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001682/0.6147, allocations: 213 kB / 1.052 GB, free: 49.53 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.6148, allocations: 14.77 kB / 1.052 GB, free: 49.52 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.209e-05/0.6148, allocations: 14.38 kB / 1.052 GB, free: 49.52 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003215/0.6151, allocations: 246.1 kB / 1.052 GB, free: 49.38 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.6151, allocations: 2.031 kB / 1.052 GB, free: 49.38 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.132e-05/0.6152, allocations: 11.84 kB / 1.052 GB, free: 49.38 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.327e-05/0.6152, allocations: 9.781 kB / 1.052 GB, free: 49.37 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004211/0.6156, allocations: 430.2 kB / 1.053 GB, free: 49.29 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009098/0.6165, allocations: 0.9485 MB / 1.054 GB, free: 48.45 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002405/0.6168, allocations: 157.3 kB / 1.054 GB, free: 48.39 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.244e-05/0.6169, allocations: 61.91 kB / 1.054 GB, free: 48.36 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008969/0.6178, allocations: 1.832 MB / 1.056 GB, free: 46.32 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.6178, allocations: 39.8 kB / 1.056 GB, free: 46.28 MB / 0.698 GB Notification: Performance of pre-optimization done (n=15): time 1.453e-06/0.6178, allocations: 0 / 1.056 GB, free: 46.28 MB / 0.698 GB Notification: Performance of matching and sorting (n=15): time 0.000284/0.6181, allocations: 145.9 kB / 1.056 GB, free: 46.21 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.842e-05/0.6182, allocations: 55.34 kB / 1.056 GB, free: 46.14 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.6183, allocations: 169.8 kB / 1.056 GB, free: 46.02 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.6183, allocations: 31.98 kB / 1.056 GB, free: 45.98 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.946e-05/0.6184, allocations: 142.4 kB / 1.056 GB, free: 45.85 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.957e-05/0.6184, allocations: 48.58 kB / 1.056 GB, free: 45.81 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.394e-06/0.6184, allocations: 6.062 kB / 1.056 GB, free: 45.81 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.077e-05/0.6185, allocations: 326.4 kB / 1.057 GB, free: 45.49 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.324e-05/0.6185, allocations: 30.62 kB / 1.057 GB, free: 45.48 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.6187, allocations: 154.4 kB / 1.057 GB, free: 45.33 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001713/0.6188, allocations: 193.2 kB / 1.057 GB, free: 45.15 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.6188, allocations: 0.9688 kB / 1.057 GB, free: 45.15 MB / 0.698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002625/0.6191, allocations: 220.3 kB / 1.057 GB, free: 45.04 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.6191, allocations: 8.344 kB / 1.057 GB, free: 45.04 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.6192, allocations: 2.219 kB / 1.057 GB, free: 45.04 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.6192, allocations: 10.44 kB / 1.057 GB, free: 45.04 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000163/0.6193, allocations: 60.23 kB / 1.057 GB, free: 45.03 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.6194, allocations: 10.81 kB / 1.057 GB, free: 45.02 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/0.6195, allocations: 28.78 kB / 1.057 GB, free: 45 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.049e-05/0.6195, allocations: 11.34 kB / 1.057 GB, free: 45 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 8.106e-05/0.6196, allocations: 136.7 kB / 1.057 GB, free: 44.87 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.814e-05/0.6196, allocations: 18.88 kB / 1.057 GB, free: 44.86 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002642/0.6199, allocations: 157.3 kB / 1.058 GB, free: 44.78 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.938e-06/0.6199, allocations: 6.906 kB / 1.058 GB, free: 44.77 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.6199, allocations: 0 / 1.058 GB, free: 44.77 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.6199, allocations: 0 / 1.058 GB, free: 44.77 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001848/0.6201, allocations: 212.6 kB / 1.058 GB, free: 44.56 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.6201, allocations: 0 / 1.058 GB, free: 44.56 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.561e-05/0.6202, allocations: 22.52 kB / 1.058 GB, free: 44.56 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.6202, allocations: 4 kB / 1.058 GB, free: 44.56 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.6203, allocations: 5.844 kB / 1.058 GB, free: 44.55 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.6203, allocations: 7.469 kB / 1.058 GB, free: 44.55 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.6203, allocations: 0 / 1.058 GB, free: 44.55 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001772/0.6204, allocations: 219.9 kB / 1.058 GB, free: 44.39 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.908e-05/0.6205, allocations: 111.9 kB / 1.058 GB, free: 44.27 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.617e-05/0.6206, allocations: 6.25 kB / 1.058 GB, free: 44.27 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001981/0.6208, allocations: 30.92 kB / 1.058 GB, free: 44.26 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.344e-05/0.6208, allocations: 10.27 kB / 1.058 GB, free: 44.26 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.07e-05/0.6208, allocations: 13.09 kB / 1.058 GB, free: 44.25 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.742e-05/0.6209, allocations: 114.5 kB / 1.058 GB, free: 44.17 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6209, allocations: 0 / 1.058 GB, free: 44.17 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003423/0.6213, allocations: 80.8 kB / 1.058 GB, free: 44.15 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.0003132/0.6216, allocations: 186.4 kB / 1.059 GB, free: 44.04 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002068/0.6218, allocations: 107.2 kB / 1.059 GB, free: 44.02 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.6218, allocations: 1.031 kB / 1.059 GB, free: 44.02 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 6.03e-05/0.6219, allocations: 53.69 kB / 1.059 GB, free: 44 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004085/0.6223, allocations: 53.42 kB / 1.059 GB, free: 43.98 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006216/0.6229, allocations: 431.1 kB / 1.059 GB, free: 43.73 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001368/0.6231, allocations: 0.7198 MB / 1.06 GB, free: 43.02 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001538/0.6232, allocations: 48.17 kB / 1.06 GB, free: 43 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.763e-05/0.6233, allocations: 27.48 kB / 1.06 GB, free: 42.99 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/0.6233, allocations: 0 / 1.06 GB, free: 42.99 MB / 0.698 GB Notification: Performance of Templates: time 0.006315/0.6296, allocations: 3.3 MB / 1.063 GB, free: 42.68 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.WaterProperties.makefile (rm -f Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.WaterProperties.sim & ./Buildings_latest_Buildings.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe 2>&1)