Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe") translateModel(Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001547/0.001547, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002059/0.00206, allocations: 193.8 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.509/1.509, allocations: 222.9 MB / 239.9 MB, free: 4.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.903/2.903, allocations: 472.6 MB / 0.7448 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 59.59 kB / 0.9115 GB, free: 33.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3704/0.3716, allocations: 159.9 MB / 1.068 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe): time 1.067/1.438, allocations: 262.8 MB / 1.324 GB, free: 9.605 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03686/1.475, allocations: 24.54 MB / 1.348 GB, free: 8.254 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005811/1.481, allocations: 86.03 kB / 1.348 GB, free: 8.254 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003728/1.485, allocations: 0.735 MB / 1.349 GB, free: 8.047 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01346/1.499, allocations: 3.249 MB / 1.352 GB, free: 7.32 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004184/1.503, allocations: 1.146 MB / 1.353 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00543/1.508, allocations: 3.25 MB / 1.357 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002174/1.51, allocations: 1.157 MB / 1.358 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009642/1.52, allocations: 3.268 MB / 1.361 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002144/1.522, allocations: 0.9832 MB / 1.362 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004331/1.523, allocations: 90.81 kB / 1.362 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0105/1.533, allocations: 3.707 MB / 1.366 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005847/1.534, allocations: 282.6 kB / 1.366 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001669/1.535, allocations: 0.6499 MB / 1.366 GB, free: 2.914 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.009261/1.545, allocations: 3.336 MB / 1.37 GB, free: 2 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/1.545, allocations: 0 / 1.37 GB, free: 2 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.376e-06/1.545, allocations: 0 / 1.37 GB, free: 2 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.249e-05/1.545, allocations: 11.12 kB / 1.37 GB, free: 1.992 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 147 * Number of variables: 147 Notification: Performance of Generate backend data structure: time 0.005516/1.55, allocations: 1.733 MB / 1.371 GB, free: 0.8516 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.118e-05/1.55, allocations: 10.69 kB / 1.371 GB, free: 0.8516 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002592/1.553, allocations: 301.7 kB / 1.372 GB, free: 0.7617 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002541/1.556, allocations: 1.122 MB / 1.373 GB, free: 112 kB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.019e-05/1.556, allocations: 48.59 kB / 1.373 GB, free: 92 kB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001741/1.556, allocations: 62.06 kB / 1.373 GB, free: 72 kB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001619/1.558, allocations: 0.6544 MB / 1.374 GB, free: 15.69 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.409e-05/1.558, allocations: 2.531 kB / 1.374 GB, free: 15.69 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.908e-05/1.558, allocations: 21 kB / 1.374 GB, free: 15.68 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.633e-05/1.558, allocations: 13.62 kB / 1.374 GB, free: 15.68 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009923/1.559, allocations: 447.8 kB / 1.374 GB, free: 15.46 MB / 1.014 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007018/1.566, allocations: 4.727 MB / 1.379 GB, free: 10.95 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004598/1.566, allocations: 251.2 kB / 1.379 GB, free: 10.75 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002453/1.566, allocations: 131.8 kB / 1.379 GB, free: 10.66 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003723/1.567, allocations: 203.2 kB / 1.379 GB, free: 10.45 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.595e-05/1.567, allocations: 43.59 kB / 1.379 GB, free: 10.41 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001151/1.568, allocations: 201.1 kB / 1.379 GB, free: 10.31 MB / 1.014 GB Notification: Performance of pre-optimization done (n=15): time 5.19e-06/1.568, allocations: 0 / 1.379 GB, free: 10.31 MB / 1.014 GB Notification: Performance of matching and sorting (n=15): time 0.001283/1.569, allocations: 400.2 kB / 1.38 GB, free: 10.1 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000134/1.569, allocations: 164.7 kB / 1.38 GB, free: 9.91 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002398/1.572, allocations: 1.154 MB / 1.381 GB, free: 9.277 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.277e-05/1.572, allocations: 31.8 kB / 1.381 GB, free: 9.242 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005254/1.572, allocations: 0.5626 MB / 1.382 GB, free: 8.746 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.778e-05/1.573, allocations: 56.08 kB / 1.382 GB, free: 8.703 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001633/1.573, allocations: 91.81 kB / 1.382 GB, free: 8.641 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000126/1.573, allocations: 321.3 kB / 1.382 GB, free: 8.324 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002269/1.573, allocations: 115.7 kB / 1.382 GB, free: 8.262 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004251/1.574, allocations: 366.4 kB / 1.383 GB, free: 7.867 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006103/1.574, allocations: 432.2 kB / 1.383 GB, free: 7.508 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.966e-06/1.574, allocations: 6.219 kB / 1.383 GB, free: 7.504 MB / 1.014 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001102/1.575, allocations: 0.4925 MB / 1.383 GB, free: 7.273 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/1.575, allocations: 5.531 kB / 1.383 GB, free: 7.273 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/1.575, allocations: 8.312 kB / 1.383 GB, free: 7.273 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.585e-05/1.575, allocations: 7.562 kB / 1.384 GB, free: 7.273 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003412/1.576, allocations: 88.94 kB / 1.384 GB, free: 7.254 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.718e-05/1.576, allocations: 11.03 kB / 1.384 GB, free: 7.254 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00114/1.577, allocations: 81.48 kB / 1.384 GB, free: 7.219 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.569e-05/1.577, allocations: 26.3 kB / 1.384 GB, free: 7.211 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005428/1.577, allocations: 315.7 kB / 1.384 GB, free: 7.008 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004046/1.578, allocations: 359 kB / 1.384 GB, free: 6.621 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005928/1.579, allocations: 428.8 kB / 1.385 GB, free: 6.258 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.015e-06/1.579, allocations: 3.109 kB / 1.385 GB, free: 6.258 MB / 1.014 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.001117/1.58, allocations: 496.3 kB / 1.385 GB, free: 6.031 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/1.58, allocations: 9.312 kB / 1.385 GB, free: 6.031 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/1.58, allocations: 7.75 kB / 1.385 GB, free: 6.031 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/1.58, allocations: 10.19 kB / 1.385 GB, free: 6.031 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002938/1.58, allocations: 80.2 kB / 1.385 GB, free: 6.016 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.313e-05/1.58, allocations: 14.64 kB / 1.385 GB, free: 6.012 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001032/1.581, allocations: 80.61 kB / 1.385 GB, free: 5.977 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.345e-05/1.581, allocations: 16.75 kB / 1.385 GB, free: 5.977 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (39): * Single equations (assignments): 39 * 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.0001896/1.581, allocations: 221.6 kB / 1.386 GB, free: 5.773 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003799/1.582, allocations: 108.9 kB / 1.386 GB, free: 5.715 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006712/1.582, allocations: 308.6 kB / 1.386 GB, free: 5.516 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/1.582, allocations: 9.406 kB / 1.386 GB, free: 5.512 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/1.582, allocations: 0 / 1.386 GB, free: 5.512 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/1.582, allocations: 3.984 kB / 1.386 GB, free: 5.508 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001731/1.584, allocations: 1.228 MB / 1.387 GB, free: 4.48 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/1.584, allocations: 0 / 1.387 GB, free: 4.48 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001674/1.584, allocations: 34.64 kB / 1.387 GB, free: 4.473 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/1.584, allocations: 6.125 kB / 1.387 GB, free: 4.469 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.759e-05/1.584, allocations: 2.938 kB / 1.387 GB, free: 4.469 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/1.584, allocations: 1.781 kB / 1.387 GB, free: 4.469 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/1.584, allocations: 7.156 kB / 1.387 GB, free: 4.465 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006654/1.585, allocations: 345.8 kB / 1.388 GB, free: 4.23 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003677/1.585, allocations: 225 kB / 1.388 GB, free: 4.027 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001862/1.586, allocations: 11.22 kB / 1.388 GB, free: 4.02 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006566/1.586, allocations: 53.23 kB / 1.388 GB, free: 3.996 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.571e-05/1.586, allocations: 19.17 kB / 1.388 GB, free: 3.984 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/1.586, allocations: 10.34 kB / 1.388 GB, free: 3.98 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001327/1.588, allocations: 0.8189 MB / 1.389 GB, free: 3.52 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.7e-07/1.588, allocations: 0 / 1.389 GB, free: 3.52 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002542/1.59, allocations: 0.7196 MB / 1.389 GB, free: 3.418 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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): 15 * 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.002353/1.593, allocations: 0.4933 MB / 1.39 GB, free: 3.223 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000977/1.594, allocations: 447.7 kB / 1.39 GB, free: 3.051 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/1.594, allocations: 3.406 kB / 1.39 GB, free: 3.051 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001819/1.594, allocations: 87.17 kB / 1.39 GB, free: 3.02 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002049/1.596, allocations: 487.1 kB / 1.391 GB, free: 2.766 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003636/1.6, allocations: 1.9 MB / 1.393 GB, free: 1.496 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006796/1.6, allocations: 1.037 MB / 1.394 GB, free: 0.6406 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.00104/1.601, allocations: 218.6 kB / 1.394 GB, free: 0.5273 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002223/1.602, allocations: 84.42 kB / 1.394 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of SimCode: time 3.91e-07/1.602, allocations: 0 / 1.394 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of Templates: time 0.04552/1.647, allocations: 25.26 MB / 1.419 GB, free: 13.49 MB / 1.045 GB make -j1 -f Buildings_3.0.0_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.makefile (rm -f Buildings_3.0.0_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.pipe ; mkfifo Buildings_3.0.0_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.pipe >> ../files/Buildings_3.0.0_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.sim & ./Buildings_3.0.0_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.pipe 2>&1)