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.001196/0.001197, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001222/0.001223, allocations: 195.2 kB / 16.53 MB, free: 6.391 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.437/1.437, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.958/2.958, allocations: 472.6 MB / 0.7451 GB, free: 4.672 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 61.7 kB / 0.912 GB, free: 33.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3614/0.3627, allocations: 159.9 MB / 1.068 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe): time 1.042/1.404, allocations: 265.5 MB / 1.327 GB, free: 9.656 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03403/1.438, allocations: 24.32 MB / 1.351 GB, free: 7.926 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005252/1.444, allocations: 92.44 kB / 1.351 GB, free: 7.926 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003/1.447, allocations: 0.8446 MB / 1.352 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01222/1.459, allocations: 3.541 MB / 1.356 GB, free: 6.996 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003782/1.463, allocations: 1.235 MB / 1.357 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005257/1.468, allocations: 3.233 MB / 1.36 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001895/1.47, allocations: 1.172 MB / 1.361 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009932/1.48, allocations: 3.336 MB / 1.364 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002297/1.482, allocations: 0.9234 MB / 1.365 GB, free: 4 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000228/1.482, allocations: 84.75 kB / 1.365 GB, free: 4 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00941/1.492, allocations: 3.69 MB / 1.369 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004669/1.492, allocations: 267 kB / 1.369 GB, free: 2.992 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00118/1.494, allocations: 0.6369 MB / 1.37 GB, free: 2.613 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.009488/1.503, allocations: 3.308 MB / 1.373 GB, free: 1.363 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 9.167e-06/1.503, allocations: 0 / 1.373 GB, free: 1.363 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.234e-06/1.503, allocations: 2.625 kB / 1.373 GB, free: 1.363 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.11e-05/1.503, allocations: 0 / 1.373 GB, free: 1.363 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.003722/1.507, allocations: 1.725 MB / 1.375 GB, free: 76 kB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/1.507, allocations: 8.438 kB / 1.375 GB, free: 76 kB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002094/1.509, allocations: 305.8 kB / 1.375 GB, free: 15.92 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001845/1.511, allocations: 1.116 MB / 1.376 GB, free: 15.06 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.627e-05/1.511, allocations: 48.38 kB / 1.376 GB, free: 15.04 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.732e-05/1.511, allocations: 64.16 kB / 1.376 GB, free: 15.02 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/1.512, allocations: 0.6853 MB / 1.377 GB, free: 14.52 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/1.512, allocations: 3.438 kB / 1.377 GB, free: 14.52 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.132e-05/1.512, allocations: 25 kB / 1.377 GB, free: 14.5 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.364e-05/1.512, allocations: 15.31 kB / 1.377 GB, free: 14.5 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007533/1.513, allocations: 427.1 kB / 1.377 GB, free: 14.3 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.004754/1.518, allocations: 5.384 MB / 1.383 GB, free: 9.102 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003274/1.518, allocations: 205.4 kB / 1.383 GB, free: 8.922 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000195/1.518, allocations: 116.5 kB / 1.383 GB, free: 8.84 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003261/1.519, allocations: 202.6 kB / 1.383 GB, free: 8.637 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.899e-05/1.519, allocations: 41.19 kB / 1.383 GB, free: 8.59 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004483/1.519, allocations: 55.22 kB / 1.383 GB, free: 8.559 MB / 1.014 GB Notification: Performance of pre-optimization done (n=13): time 2.565e-06/1.519, allocations: 0 / 1.383 GB, free: 8.559 MB / 1.014 GB Notification: Performance of matching and sorting (n=13): time 0.0008979/1.52, allocations: 342.4 kB / 1.384 GB, free: 8.383 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.694e-05/1.52, allocations: 168.3 kB / 1.384 GB, free: 8.188 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00152/1.522, allocations: 1.168 MB / 1.385 GB, free: 7.547 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.691e-05/1.522, allocations: 27.55 kB / 1.385 GB, free: 7.516 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000431/1.522, allocations: 0.573 MB / 1.385 GB, free: 7.012 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.859e-05/1.522, allocations: 51.77 kB / 1.385 GB, free: 6.973 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/1.522, allocations: 98.72 kB / 1.386 GB, free: 6.906 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001051/1.522, allocations: 324.1 kB / 1.386 GB, free: 6.586 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001979/1.523, allocations: 92.89 kB / 1.386 GB, free: 6.539 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003916/1.523, allocations: 388 kB / 1.386 GB, free: 6.105 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005648/1.524, allocations: 449.1 kB / 1.387 GB, free: 5.707 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/1.524, allocations: 6.531 kB / 1.387 GB, free: 5.703 MB / 1.014 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009248/1.524, allocations: 496.6 kB / 1.387 GB, free: 5.488 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/1.525, allocations: 8.344 kB / 1.387 GB, free: 5.488 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/1.525, allocations: 6.875 kB / 1.387 GB, free: 5.488 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.263e-05/1.525, allocations: 15.45 kB / 1.387 GB, free: 5.484 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002842/1.525, allocations: 86.73 kB / 1.387 GB, free: 5.469 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.599e-05/1.525, allocations: 13.94 kB / 1.387 GB, free: 5.469 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007472/1.526, allocations: 44.08 kB / 1.387 GB, free: 5.449 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.535e-05/1.526, allocations: 25.94 kB / 1.387 GB, free: 5.445 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004797/1.526, allocations: 309.7 kB / 1.388 GB, free: 5.242 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003868/1.527, allocations: 381.1 kB / 1.388 GB, free: 4.812 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005234/1.527, allocations: 438.7 kB / 1.388 GB, free: 4.418 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.09e-06/1.527, allocations: 10.5 kB / 1.389 GB, free: 4.41 MB / 1.014 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.0008578/1.528, allocations: 484.4 kB / 1.389 GB, free: 4.203 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/1.528, allocations: 11.88 kB / 1.389 GB, free: 4.203 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/1.528, allocations: 6.688 kB / 1.389 GB, free: 4.203 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.158e-06/1.528, allocations: 15.06 kB / 1.389 GB, free: 4.199 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002453/1.528, allocations: 88.98 kB / 1.389 GB, free: 4.18 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.333e-05/1.528, allocations: 17.11 kB / 1.389 GB, free: 4.176 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007293/1.529, allocations: 52.81 kB / 1.389 GB, free: 4.152 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.274e-05/1.529, allocations: 23.22 kB / 1.389 GB, free: 4.148 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (42): * Single equations (assignments): 42 * 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.0001548/1.529, allocations: 211.4 kB / 1.389 GB, free: 3.953 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002987/1.53, allocations: 115.9 kB / 1.389 GB, free: 3.891 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000549/1.53, allocations: 259.3 kB / 1.39 GB, free: 3.723 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/1.53, allocations: 2.094 kB / 1.39 GB, free: 3.723 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/1.53, allocations: 0 / 1.39 GB, free: 3.723 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/1.53, allocations: 2.25 kB / 1.39 GB, free: 3.723 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001402/1.532, allocations: 1.223 MB / 1.391 GB, free: 2.691 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/1.532, allocations: 0 / 1.391 GB, free: 2.691 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001265/1.532, allocations: 26.83 kB / 1.391 GB, free: 2.688 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/1.532, allocations: 3.531 kB / 1.391 GB, free: 2.688 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.617e-05/1.532, allocations: 6.562 kB / 1.391 GB, free: 2.684 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/1.532, allocations: 3.938 kB / 1.391 GB, free: 2.68 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/1.532, allocations: 2.469 kB / 1.391 GB, free: 2.68 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005506/1.532, allocations: 316.3 kB / 1.391 GB, free: 2.461 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002835/1.533, allocations: 222.8 kB / 1.391 GB, free: 2.262 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001314/1.533, allocations: 11.19 kB / 1.391 GB, free: 2.254 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005117/1.533, allocations: 29.64 kB / 1.392 GB, free: 2.238 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.37e-05/1.533, allocations: 7.406 kB / 1.392 GB, free: 2.238 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/1.533, allocations: 10.11 kB / 1.392 GB, free: 2.23 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001228/1.535, allocations: 0.8502 MB / 1.392 GB, free: 1.758 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.71e-07/1.535, allocations: 0 / 1.392 GB, free: 1.758 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002127/1.537, allocations: 0.6976 MB / 1.393 GB, free: 1.664 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 (12): * Single equations (assignments): 12 * 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.001789/1.538, allocations: 0.5058 MB / 1.394 GB, free: 1.457 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0009079/1.539, allocations: 418.3 kB / 1.394 GB, free: 1.312 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/1.539, allocations: 0 / 1.394 GB, free: 1.312 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001519/1.54, allocations: 74.17 kB / 1.394 GB, free: 1.285 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002158/1.542, allocations: 495 kB / 1.394 GB, free: 1.035 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002275/1.544, allocations: 1.489 MB / 1.396 GB, free: 112 kB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006395/1.545, allocations: 1.037 MB / 1.397 GB, free: 15.25 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0009551/1.546, allocations: 222.3 kB / 1.397 GB, free: 15.14 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001883/1.546, allocations: 75.86 kB / 1.397 GB, free: 15.12 MB / 1.029 GB Notification: Performance of SimCode: time 2.063e-06/1.546, allocations: 1.312 kB / 1.397 GB, free: 15.12 MB / 1.029 GB Notification: Performance of Templates: time 0.04238/1.588, allocations: 25.6 MB / 1.422 GB, free: 11.39 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)