Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe") translateModel(Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001585/0.001585, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001672/0.001673, allocations: 194.8 kB / 16.14 MB, free: 6.66 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.501/1.501, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.842/2.842, allocations: 472.6 MB / 0.7447 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 62.39 kB / 0.9113 GB, free: 33.69 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3363/0.3376, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe): time 1.076/1.414, allocations: 263.7 MB / 1.325 GB, free: 9.348 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03904/1.453, allocations: 25.97 MB / 1.35 GB, free: 7.141 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005697/1.459, allocations: 85.69 kB / 1.35 GB, free: 7.141 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0032/1.462, allocations: 0.6889 MB / 1.351 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01366/1.476, allocations: 3.094 MB / 1.354 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004888/1.481, allocations: 1.143 MB / 1.355 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.008574/1.489, allocations: 4.483 MB / 1.36 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001985/1.491, allocations: 0.9655 MB / 1.361 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01023/1.502, allocations: 3.007 MB / 1.363 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003032/1.505, allocations: 0.9688 MB / 1.364 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002299/1.505, allocations: 56.44 kB / 1.364 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01056/1.516, allocations: 3.627 MB / 1.368 GB, free: 2.609 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003999/1.516, allocations: 227.7 kB / 1.368 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001348/1.517, allocations: 0.6049 MB / 1.369 GB, free: 2.16 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.008069/1.525, allocations: 3.313 MB / 1.372 GB, free: 0.5742 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 9.829e-06/1.526, allocations: 0 / 1.372 GB, free: 0.5742 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.966e-06/1.526, allocations: 0 / 1.372 GB, free: 0.5742 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.524e-05/1.526, allocations: 0 / 1.372 GB, free: 0.5742 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.004316/1.53, allocations: 1.741 MB / 1.374 GB, free: 15.28 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/1.53, allocations: 8.094 kB / 1.374 GB, free: 15.28 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002296/1.532, allocations: 305.6 kB / 1.374 GB, free: 15.13 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001864/1.534, allocations: 1.118 MB / 1.375 GB, free: 14.27 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.878e-05/1.534, allocations: 45.19 kB / 1.375 GB, free: 14.25 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.636e-05/1.534, allocations: 62.84 kB / 1.375 GB, free: 14.23 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001118/1.535, allocations: 0.6493 MB / 1.376 GB, free: 13.79 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/1.535, allocations: 5.906 kB / 1.376 GB, free: 13.79 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.823e-05/1.536, allocations: 25.03 kB / 1.376 GB, free: 13.77 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.752e-05/1.536, allocations: 13.19 kB / 1.376 GB, free: 13.77 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008509/1.536, allocations: 451.2 kB / 1.376 GB, free: 13.55 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.00506/1.541, allocations: 4.722 MB / 1.381 GB, free: 9.051 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000456/1.542, allocations: 249.8 kB / 1.381 GB, free: 8.848 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002454/1.542, allocations: 133.3 kB / 1.381 GB, free: 8.758 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00036/1.543, allocations: 201.1 kB / 1.382 GB, free: 8.555 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.239e-05/1.543, allocations: 40.78 kB / 1.382 GB, free: 8.512 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007182/1.543, allocations: 225.7 kB / 1.382 GB, free: 8.402 MB / 1.014 GB Notification: Performance of pre-optimization done (n=15): time 2.234e-06/1.543, allocations: 0 / 1.382 GB, free: 8.402 MB / 1.014 GB Notification: Performance of matching and sorting (n=15): time 0.0008923/1.544, allocations: 347.6 kB / 1.382 GB, free: 8.223 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.957e-05/1.544, allocations: 156.4 kB / 1.382 GB, free: 8.035 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001607/1.546, allocations: 1.157 MB / 1.383 GB, free: 7.402 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.572e-05/1.546, allocations: 29.7 kB / 1.383 GB, free: 7.367 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004667/1.546, allocations: 0.5669 MB / 1.384 GB, free: 6.867 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.849e-05/1.547, allocations: 59.42 kB / 1.384 GB, free: 6.82 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001283/1.547, allocations: 86.75 kB / 1.384 GB, free: 6.766 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000115/1.547, allocations: 318.7 kB / 1.384 GB, free: 6.453 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001972/1.547, allocations: 89.48 kB / 1.385 GB, free: 6.406 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003953/1.547, allocations: 364.8 kB / 1.385 GB, free: 6 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005512/1.548, allocations: 410.4 kB / 1.385 GB, free: 5.641 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.764e-06/1.548, allocations: 6.156 kB / 1.385 GB, free: 5.637 MB / 1.014 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008689/1.549, allocations: 463.3 kB / 1.386 GB, free: 5.43 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/1.549, allocations: 5.938 kB / 1.386 GB, free: 5.43 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/1.549, allocations: 14.25 kB / 1.386 GB, free: 5.426 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.483e-05/1.549, allocations: 8.125 kB / 1.386 GB, free: 5.426 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002664/1.549, allocations: 75.83 kB / 1.386 GB, free: 5.414 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.326e-05/1.549, allocations: 12.78 kB / 1.386 GB, free: 5.414 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008766/1.55, allocations: 87.45 kB / 1.386 GB, free: 5.375 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-05/1.55, allocations: 25.09 kB / 1.386 GB, free: 5.367 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004323/1.551, allocations: 299.4 kB / 1.386 GB, free: 5.172 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003487/1.551, allocations: 348.4 kB / 1.387 GB, free: 4.781 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004852/1.551, allocations: 397.5 kB / 1.387 GB, free: 4.43 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.296e-06/1.551, allocations: 2.125 kB / 1.387 GB, free: 4.43 MB / 1.014 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007839/1.552, allocations: 457 kB / 1.387 GB, free: 4.227 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/1.552, allocations: 7.875 kB / 1.387 GB, free: 4.227 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/1.552, allocations: 13.88 kB / 1.387 GB, free: 4.219 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.868e-06/1.552, allocations: 10.16 kB / 1.387 GB, free: 4.219 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002169/1.553, allocations: 77.84 kB / 1.387 GB, free: 4.207 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/1.553, allocations: 15.14 kB / 1.387 GB, free: 4.203 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007888/1.553, allocations: 76.77 kB / 1.388 GB, free: 4.172 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.084e-05/1.553, allocations: 20.41 kB / 1.388 GB, free: 4.168 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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.0001697/1.554, allocations: 213.1 kB / 1.388 GB, free: 3.969 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002977/1.554, allocations: 111.6 kB / 1.388 GB, free: 3.91 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005208/1.554, allocations: 250.8 kB / 1.388 GB, free: 3.746 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/1.554, allocations: 3.594 kB / 1.388 GB, free: 3.746 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/1.554, allocations: 2.75 kB / 1.388 GB, free: 3.746 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/1.554, allocations: 0 / 1.388 GB, free: 3.746 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001883/1.556, allocations: 1.459 MB / 1.39 GB, free: 2.547 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/1.556, allocations: 0 / 1.39 GB, free: 2.547 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001107/1.556, allocations: 34.53 kB / 1.39 GB, free: 2.539 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/1.556, allocations: 6.469 kB / 1.39 GB, free: 2.535 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.829e-05/1.556, allocations: 11.03 kB / 1.39 GB, free: 2.527 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/1.556, allocations: 4.375 kB / 1.39 GB, free: 2.527 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/1.556, allocations: 3.188 kB / 1.39 GB, free: 2.527 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006067/1.557, allocations: 419.8 kB / 1.39 GB, free: 2.203 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003005/1.557, allocations: 224.9 kB / 1.39 GB, free: 2 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001454/1.558, allocations: 9.906 kB / 1.39 GB, free: 1.996 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006436/1.558, allocations: 58.75 kB / 1.39 GB, free: 1.969 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.668e-05/1.558, allocations: 14.39 kB / 1.39 GB, free: 1.961 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/1.558, allocations: 5.062 kB / 1.39 GB, free: 1.961 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001287/1.56, allocations: 0.8334 MB / 1.391 GB, free: 1.496 MB / 1.014 GB Notification: Performance of sort global known variables: time 4.6e-07/1.56, allocations: 0 / 1.391 GB, free: 1.496 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002587/1.562, allocations: 0.7149 MB / 1.392 GB, free: 1.395 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (13): * Single equations (assignments): 13 * 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.001956/1.564, allocations: 0.5094 MB / 1.392 GB, free: 1.18 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0009703/1.565, allocations: 371.2 kB / 1.393 GB, free: 1.059 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/1.565, allocations: 2.75 kB / 1.393 GB, free: 1.059 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001919/1.565, allocations: 70.64 kB / 1.393 GB, free: 1.035 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00256/1.568, allocations: 0.4892 MB / 1.393 GB, free: 0.7891 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002621/1.571, allocations: 1.828 MB / 1.395 GB, free: 15.52 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005646/1.571, allocations: 1.042 MB / 1.396 GB, free: 14.66 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0008729/1.572, allocations: 221.3 kB / 1.396 GB, free: 14.54 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000164/1.572, allocations: 76.84 kB / 1.396 GB, free: 14.52 MB / 1.029 GB Notification: Performance of SimCode: time 2.254e-06/1.572, allocations: 2.531 kB / 1.396 GB, free: 14.52 MB / 1.029 GB Notification: Performance of Templates: time 0.04696/1.619, allocations: 24.81 MB / 1.421 GB, free: 10.43 MB / 1.045 GB make -j1 -f Buildings_1.6_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.makefile (rm -f Buildings_1.6_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.pipe ; mkfifo Buildings_1.6_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.pipe ; head -c 1048576 < Buildings_1.6_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.pipe >> ../files/Buildings_1.6_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.sim & ./Buildings_1.6_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.pipe 2>&1)