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.000902/0.0009021, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.006808/0.006809, allocations: 171.4 kB / 16.26 MB, free: 6.613 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.447/1.447, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.951/2.951, allocations: 473.4 MB / 0.7469 GB, free: 6.129 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003703/0.0003704, allocations: 9.344 kB / 0.9158 GB, free: 33.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3842/0.3846, allocations: 162.2 MB / 1.074 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe): time 1.052/1.437, allocations: 260.2 MB / 1.328 GB, free: 17.22 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.036/1.473, allocations: 25.72 MB / 1.353 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004845/1.478, allocations: 89 kB / 1.353 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00312/1.481, allocations: 0.6866 MB / 1.354 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0124/1.494, allocations: 3.095 MB / 1.357 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003838/1.497, allocations: 1.144 MB / 1.358 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006742/1.504, allocations: 4.488 MB / 1.363 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001924/1.506, allocations: 0.9424 MB / 1.364 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009898/1.516, allocations: 2.971 MB / 1.366 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002127/1.518, allocations: 0.9412 MB / 1.367 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001566/1.518, allocations: 40.94 kB / 1.367 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008447/1.527, allocations: 3.616 MB / 1.371 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003133/1.527, allocations: 213.4 kB / 1.371 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009599/1.528, allocations: 0.6084 MB / 1.372 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005369/1.534, allocations: 3.255 MB / 1.375 GB, free: 8.27 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.386e-06/1.534, allocations: 3.984 kB / 1.375 GB, free: 8.266 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.485e-06/1.534, allocations: 0 / 1.375 GB, free: 8.266 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.501e-05/1.534, allocations: 0 / 1.375 GB, free: 8.266 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.002589/1.536, allocations: 1.512 MB / 1.376 GB, free: 7.141 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/1.536, allocations: 11.56 kB / 1.376 GB, free: 7.141 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001996/1.538, allocations: 302.3 kB / 1.377 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00161/1.54, allocations: 1.118 MB / 1.378 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.204e-05/1.54, allocations: 43.56 kB / 1.378 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.588e-05/1.54, allocations: 68.12 kB / 1.378 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009683/1.541, allocations: 0.6476 MB / 1.379 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/1.541, allocations: 2.906 kB / 1.379 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.057e-05/1.541, allocations: 29.78 kB / 1.379 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.327e-05/1.541, allocations: 14.75 kB / 1.379 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000747/1.542, allocations: 461.4 kB / 1.379 GB, free: 5.41 MB / 0.9981 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.003697/1.546, allocations: 4.745 MB / 1.384 GB, free: 0.9023 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003525/1.546, allocations: 248.2 kB / 1.384 GB, free: 0.707 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002288/1.546, allocations: 141.8 kB / 1.384 GB, free: 0.6133 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002987/1.547, allocations: 212.5 kB / 1.384 GB, free: 412 kB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/1.547, allocations: 36.41 kB / 1.384 GB, free: 372 kB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006649/1.547, allocations: 223.5 kB / 1.385 GB, free: 264 kB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 2.525e-06/1.547, allocations: 3.938 kB / 1.385 GB, free: 260 kB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.0008199/1.548, allocations: 355.5 kB / 1.385 GB, free: 80 kB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.711e-05/1.548, allocations: 161.2 kB / 1.385 GB, free: 15.89 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001599/1.55, allocations: 1.155 MB / 1.386 GB, free: 15.25 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.473e-05/1.55, allocations: 32.98 kB / 1.386 GB, free: 15.22 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004727/1.55, allocations: 0.5649 MB / 1.387 GB, free: 14.72 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.465e-05/1.55, allocations: 54.41 kB / 1.387 GB, free: 14.68 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.999e-05/1.55, allocations: 34.36 kB / 1.387 GB, free: 14.65 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001259/1.551, allocations: 324.1 kB / 1.387 GB, free: 14.33 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001887/1.551, allocations: 90.5 kB / 1.387 GB, free: 14.29 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004008/1.551, allocations: 357.8 kB / 1.388 GB, free: 13.89 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005638/1.552, allocations: 413.7 kB / 1.388 GB, free: 13.54 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/1.552, allocations: 0 / 1.388 GB, free: 13.54 MB / 1.014 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008698/1.553, allocations: 477.9 kB / 1.388 GB, free: 13.33 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002425/1.553, allocations: 294 kB / 1.389 GB, free: 12.96 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/1.553, allocations: 12.31 kB / 1.389 GB, free: 12.96 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/1.553, allocations: 12.84 kB / 1.389 GB, free: 12.96 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000268/1.553, allocations: 82.73 kB / 1.389 GB, free: 12.94 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.669e-05/1.553, allocations: 17.72 kB / 1.389 GB, free: 12.94 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009381/1.554, allocations: 85.8 kB / 1.389 GB, free: 12.9 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.19e-05/1.554, allocations: 24.62 kB / 1.389 GB, free: 12.89 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 8.546e-06/1.554, allocations: 7.875 kB / 1.389 GB, free: 12.89 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005483/1.555, allocations: 327.6 kB / 1.389 GB, free: 12.78 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/1.555, allocations: 9.594 kB / 1.389 GB, free: 12.78 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.128e-06/1.555, allocations: 11.5 kB / 1.389 GB, free: 12.78 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002137/1.555, allocations: 86.17 kB / 1.389 GB, free: 12.76 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/1.555, allocations: 10.88 kB / 1.389 GB, free: 12.76 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007131/1.556, allocations: 78.05 kB / 1.389 GB, free: 12.73 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.649e-05/1.556, allocations: 21.81 kB / 1.389 GB, free: 12.72 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.0004494/1.556, allocations: 360.2 kB / 1.39 GB, free: 12.44 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000289/1.557, allocations: 114.2 kB / 1.39 GB, free: 12.38 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000517/1.557, allocations: 265.3 kB / 1.39 GB, free: 12.21 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/1.557, allocations: 3.594 kB / 1.39 GB, free: 12.21 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/1.557, allocations: 0 / 1.39 GB, free: 12.21 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/1.557, allocations: 6.188 kB / 1.39 GB, free: 12.2 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001828/1.559, allocations: 1.467 MB / 1.392 GB, free: 11.01 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/1.559, allocations: 2.156 kB / 1.392 GB, free: 11.01 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001108/1.559, allocations: 32.03 kB / 1.392 GB, free: 11 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/1.559, allocations: 5.875 kB / 1.392 GB, free: 11 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/1.559, allocations: 7.281 kB / 1.392 GB, free: 10.99 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/1.559, allocations: 9.812 kB / 1.392 GB, free: 10.99 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/1.559, allocations: 3.469 kB / 1.392 GB, free: 10.99 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006022/1.56, allocations: 420.5 kB / 1.392 GB, free: 10.67 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003082/1.56, allocations: 240.9 kB / 1.392 GB, free: 10.45 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001187/1.56, allocations: 21.34 kB / 1.392 GB, free: 10.44 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006178/1.561, allocations: 51.88 kB / 1.392 GB, free: 10.42 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.227e-05/1.561, allocations: 15.52 kB / 1.392 GB, free: 10.41 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.227e-06/1.561, allocations: 6.312 kB / 1.392 GB, free: 10.41 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001345/1.562, allocations: 0.8321 MB / 1.393 GB, free: 9.945 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.61e-07/1.562, allocations: 4 kB / 1.393 GB, free: 9.941 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002309/1.565, allocations: 0.7152 MB / 1.394 GB, free: 9.84 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.001759/1.566, allocations: 0.5151 MB / 1.394 GB, free: 9.621 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0008797/1.567, allocations: 389.7 kB / 1.395 GB, free: 9.496 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/1.567, allocations: 0 / 1.395 GB, free: 9.496 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001624/1.567, allocations: 79.86 kB / 1.395 GB, free: 9.469 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002847/1.57, allocations: 0.4903 MB / 1.395 GB, free: 9.227 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002603/1.573, allocations: 1.853 MB / 1.397 GB, free: 7.926 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006431/1.574, allocations: 1.038 MB / 1.398 GB, free: 7.07 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008999/1.574, allocations: 219.5 kB / 1.398 GB, free: 6.957 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001868/1.575, allocations: 72.83 kB / 1.398 GB, free: 6.945 MB / 1.014 GB Notification: Performance of SimCode: time 1.112e-06/1.575, allocations: 0 / 1.398 GB, free: 6.945 MB / 1.014 GB Notification: Performance of Templates: time 0.04685/1.622, allocations: 24.97 MB / 1.423 GB, free: 3.996 MB / 1.029 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)