Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Media.Examples.WaterProperties.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/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_master_Buildings.Media.Examples.WaterProperties") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.956/4.956, allocations: 0.5623 GB / 0.5769 GB, free: 3.324 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00243/0.002429, allocations: 358.3 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.06/4.06, allocations: 410.7 MB / 1.112 GB, free: 6.074 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001819/0.001819, allocations: 185.2 kB / 1.225 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.000481/0.0004813, allocations: 12 kB / 1.348 GB, free: 8.32 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5841/0.5846, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.004359/0.589, allocations: 4.195 MB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002629/0.5917, allocations: 2.449 MB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001854/0.592, allocations: 0 / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0002321/0.5922, allocations: 27.81 kB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0002647/0.5925, allocations: 89.16 kB / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001304/0.5938, allocations: 394.3 kB / 1.468 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0002622/0.5941, allocations: 259.9 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 4.628e-05/0.5941, allocations: 9.562 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001959/0.5943, allocations: 104.4 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001314/0.5945, allocations: 92.97 kB / 1.468 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.787e-05/0.5945, allocations: 8 kB / 1.468 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007031/0.5952, allocations: 243.3 kB / 1.468 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 5.463e-05/0.5953, allocations: 36.83 kB / 1.468 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 4.475e-05/0.5954, allocations: 49.64 kB / 1.468 GB, free: 276.4 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003445/0.5957, allocations: 210.6 kB / 1.469 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.887e-06/0.5958, allocations: 0 / 1.469 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.125e-06/0.5958, allocations: 4.562 kB / 1.469 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.769e-06/0.5958, allocations: 4 kB / 1.469 GB, free: 276.2 MB / 0.8542 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.0006242/0.5964, allocations: 472.7 kB / 1.469 GB, free: 275.7 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.5965, allocations: 11.62 kB / 1.469 GB, free: 275.7 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001836/0.5967, allocations: 32.28 kB / 1.469 GB, free: 275.7 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001908/0.5969, allocations: 210.8 kB / 1.469 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.5969, allocations: 9.953 kB / 1.469 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.823e-05/0.5969, allocations: 19.98 kB / 1.469 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003704/0.5973, allocations: 247.5 kB / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.5973, allocations: 3.938 kB / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.936e-05/0.5974, allocations: 9.062 kB / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.02e-05/0.5974, allocations: 7.953 kB / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005155/0.5979, allocations: 428.8 kB / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001067/0.599, allocations: 0.9451 MB / 1.471 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003016/0.5993, allocations: 151.9 kB / 1.471 GB, free: 273.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001171/0.5995, allocations: 60.88 kB / 1.471 GB, free: 273.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001115/0.6006, allocations: 1.824 MB / 1.473 GB, free: 271.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.6007, allocations: 39.81 kB / 1.473 GB, free: 271.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=15): time 3.325e-06/0.6007, allocations: 0 / 1.473 GB, free: 271.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15): time 0.0003659/0.601, allocations: 147 kB / 1.473 GB, free: 271.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.85e-05/0.6011, allocations: 56.22 kB / 1.473 GB, free: 271 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.6012, allocations: 167.3 kB / 1.473 GB, free: 270.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.6013, allocations: 34.95 kB / 1.473 GB, free: 270.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.152e-05/0.6013, allocations: 135.8 kB / 1.474 GB, free: 270.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.416e-05/0.6014, allocations: 51.27 kB / 1.474 GB, free: 270.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.068e-05/0.6014, allocations: 8.5 kB / 1.474 GB, free: 270.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.64e-05/0.6015, allocations: 320.6 kB / 1.474 GB, free: 270.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.098e-05/0.6016, allocations: 35.97 kB / 1.474 GB, free: 270.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001267/0.6017, allocations: 150.4 kB / 1.474 GB, free: 270.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001243/0.6019, allocations: 58.23 kB / 1.474 GB, free: 270 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.099e-06/0.6019, allocations: 0.7812 kB / 1.474 GB, free: 270 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003797/0.6023, allocations: 213.2 kB / 1.474 GB, free: 269.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.853e-05/0.6023, allocations: 8 kB / 1.474 GB, free: 269.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.6023, allocations: 4 kB / 1.474 GB, free: 269.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.6023, allocations: 4 kB / 1.474 GB, free: 269.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00023/0.6026, allocations: 57.31 kB / 1.474 GB, free: 269.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/0.6026, allocations: 8 kB / 1.474 GB, free: 269.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001702/0.6028, allocations: 27.69 kB / 1.474 GB, free: 269.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.345e-05/0.6028, allocations: 16 kB / 1.474 GB, free: 269.7 MB / 0.8542 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.0001027/0.6029, allocations: 130.8 kB / 1.475 GB, free: 269.5 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.971e-05/0.603, allocations: 23.09 kB / 1.475 GB, free: 269.5 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003272/0.6033, allocations: 158.8 kB / 1.475 GB, free: 269.3 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.691e-05/0.6034, allocations: 5.688 kB / 1.475 GB, free: 269.3 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.877e-06/0.6034, allocations: 0 / 1.475 GB, free: 269.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.226e-06/0.6034, allocations: 0 / 1.475 GB, free: 269.3 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002548/0.6037, allocations: 213.5 kB / 1.475 GB, free: 269.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.253e-06/0.6037, allocations: 0 / 1.475 GB, free: 269.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001195/0.6038, allocations: 24.97 kB / 1.475 GB, free: 269.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.85e-06/0.6038, allocations: 7.938 kB / 1.475 GB, free: 269.1 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.6039, allocations: 4 kB / 1.475 GB, free: 269.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/0.6039, allocations: 1 kB / 1.475 GB, free: 269.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.916e-06/0.6039, allocations: 0 / 1.475 GB, free: 269.1 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002435/0.6041, allocations: 221.7 kB / 1.475 GB, free: 268.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.894e-05/0.6042, allocations: 112.8 kB / 1.475 GB, free: 268.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.107e-05/0.6043, allocations: 11.95 kB / 1.475 GB, free: 268.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002327/0.6045, allocations: 8.812 kB / 1.475 GB, free: 268.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.447e-05/0.6046, allocations: 11.98 kB / 1.475 GB, free: 268.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.87e-05/0.6046, allocations: 16.48 kB / 1.475 GB, free: 268.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.264e-05/0.6047, allocations: 120 kB / 1.475 GB, free: 268.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.49e-07/0.6047, allocations: 0 / 1.475 GB, free: 268.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005283/0.6052, allocations: 78.02 kB / 1.476 GB, free: 268.5 MB / 0.8542 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.0002528/0.6055, allocations: 160.8 kB / 1.476 GB, free: 268.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002807/0.6058, allocations: 123.6 kB / 1.476 GB, free: 268.2 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.255e-06/0.6058, allocations: 0 / 1.476 GB, free: 268.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.798e-05/0.6059, allocations: 47.91 kB / 1.476 GB, free: 268.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005846/0.6065, allocations: 46.06 kB / 1.476 GB, free: 268.1 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007325/0.6073, allocations: 426.9 kB / 1.476 GB, free: 267.7 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001581/0.6074, allocations: 0.7231 MB / 1.477 GB, free: 266.9 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002447/0.6077, allocations: 46.11 kB / 1.477 GB, free: 266.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.671e-05/0.6077, allocations: 23.44 kB / 1.477 GB, free: 266.8 MB / 0.8542 GB Notification: Performance of SimCode: time 1.632e-06/0.6078, allocations: 7.156 kB / 1.477 GB, free: 266.8 MB / 0.8542 GB Notification: Performance of Templates: time 0.007844/0.6156, allocations: 3.14 MB / 1.48 GB, free: 264 MB / 0.8542 GB