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.001606/0.001605, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001757/0.001757, allocations: 197.9 kB / 16.14 MB, free: 6.695 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.453/1.453, allocations: 222.9 MB / 239.8 MB, free: 4.66 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.941/2.941, allocations: 472.6 MB / 0.7447 GB, free: 5.016 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 63.81 kB / 0.9113 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3359/0.3371, 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.026/1.363, allocations: 263.7 MB / 1.325 GB, free: 9.297 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03731/1.4, allocations: 25.98 MB / 1.35 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004865/1.405, allocations: 82.97 kB / 1.35 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002797/1.408, allocations: 0.686 MB / 1.351 GB, free: 6.969 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01088/1.419, allocations: 3.101 MB / 1.354 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003436/1.422, allocations: 1.131 MB / 1.355 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00591/1.428, allocations: 4.483 MB / 1.36 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001703/1.43, allocations: 0.9684 MB / 1.361 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01309/1.443, allocations: 3.008 MB / 1.363 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003659/1.447, allocations: 0.9778 MB / 1.364 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005301/1.447, allocations: 50.75 kB / 1.365 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01469/1.462, allocations: 3.627 MB / 1.368 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.00093/1.463, allocations: 231.4 kB / 1.368 GB, free: 2.508 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002206/1.465, allocations: 0.6069 MB / 1.369 GB, free: 2.164 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0108/1.476, allocations: 3.305 MB / 1.372 GB, free: 0.5859 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 1.085e-05/1.476, allocations: 0 / 1.372 GB, free: 0.5859 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.004e-06/1.476, allocations: 0 / 1.372 GB, free: 0.5859 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.084e-05/1.476, allocations: 3.938 kB / 1.372 GB, free: 0.582 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.00642/1.483, allocations: 1.74 MB / 1.374 GB, free: 15.29 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/1.483, allocations: 10.25 kB / 1.374 GB, free: 15.29 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003942/1.487, allocations: 310.1 kB / 1.374 GB, free: 15.13 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00373/1.49, allocations: 1.115 MB / 1.375 GB, free: 14.27 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.225e-05/1.491, allocations: 41.59 kB / 1.375 GB, free: 14.26 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001798/1.491, allocations: 69.31 kB / 1.375 GB, free: 14.23 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002009/1.493, allocations: 0.6416 MB / 1.376 GB, free: 13.8 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.669e-05/1.493, allocations: 4 kB / 1.376 GB, free: 13.8 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.932e-05/1.493, allocations: 24.38 kB / 1.376 GB, free: 13.78 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.014e-05/1.493, allocations: 16.47 kB / 1.376 GB, free: 13.78 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001625/1.495, allocations: 453.6 kB / 1.376 GB, free: 13.56 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.008503/1.503, allocations: 4.711 MB / 1.381 GB, free: 9.066 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007411/1.504, allocations: 251.4 kB / 1.381 GB, free: 8.859 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004072/1.504, allocations: 139.3 kB / 1.381 GB, free: 8.766 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004939/1.505, allocations: 204 kB / 1.382 GB, free: 8.562 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.311e-05/1.505, allocations: 48.38 kB / 1.382 GB, free: 8.512 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00152/1.507, allocations: 226.3 kB / 1.382 GB, free: 8.402 MB / 1.014 GB Notification: Performance of pre-optimization done (n=15): time 5.751e-06/1.507, allocations: 0 / 1.382 GB, free: 8.402 MB / 1.014 GB Notification: Performance of matching and sorting (n=15): time 0.001733/1.508, allocations: 339.8 kB / 1.382 GB, free: 8.227 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/1.508, allocations: 159.4 kB / 1.382 GB, free: 8.039 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00313/1.512, allocations: 1.164 MB / 1.383 GB, free: 7.398 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.922e-05/1.512, allocations: 25.7 kB / 1.383 GB, free: 7.367 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007158/1.512, allocations: 0.564 MB / 1.384 GB, free: 6.875 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 8.332e-05/1.512, allocations: 52.16 kB / 1.384 GB, free: 6.828 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002073/1.513, allocations: 84.81 kB / 1.384 GB, free: 6.773 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001801/1.513, allocations: 320.3 kB / 1.384 GB, free: 6.457 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003617/1.513, allocations: 95.95 kB / 1.385 GB, free: 6.406 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007032/1.514, allocations: 359.3 kB / 1.385 GB, free: 6.008 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009292/1.515, allocations: 404.8 kB / 1.385 GB, free: 5.652 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-05/1.515, allocations: 3.938 kB / 1.385 GB, free: 5.648 MB / 1.014 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001868/1.517, allocations: 459.6 kB / 1.386 GB, free: 5.445 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.266e-05/1.517, allocations: 8.156 kB / 1.386 GB, free: 5.445 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.321e-05/1.517, allocations: 8.188 kB / 1.386 GB, free: 5.445 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.614e-05/1.517, allocations: 8.438 kB / 1.386 GB, free: 5.445 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000429/1.517, allocations: 86.39 kB / 1.386 GB, free: 5.426 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.312e-05/1.517, allocations: 13.28 kB / 1.386 GB, free: 5.426 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001804/1.519, allocations: 80.03 kB / 1.386 GB, free: 5.391 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.882e-05/1.519, allocations: 23.69 kB / 1.386 GB, free: 5.387 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008822/1.52, allocations: 303.2 kB / 1.386 GB, free: 5.188 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006988/1.521, allocations: 343.5 kB / 1.387 GB, free: 4.801 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009002/1.522, allocations: 399.2 kB / 1.387 GB, free: 4.445 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.085e-06/1.522, allocations: 2.625 kB / 1.387 GB, free: 4.445 MB / 1.014 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.001387/1.523, allocations: 461 kB / 1.387 GB, free: 4.238 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/1.523, allocations: 7.562 kB / 1.387 GB, free: 4.238 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/1.523, allocations: 8.562 kB / 1.387 GB, free: 4.238 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/1.523, allocations: 10.22 kB / 1.387 GB, free: 4.238 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003849/1.524, allocations: 75.38 kB / 1.387 GB, free: 4.227 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.998e-05/1.524, allocations: 15.23 kB / 1.387 GB, free: 4.223 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001729/1.526, allocations: 89.42 kB / 1.388 GB, free: 4.18 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.987e-05/1.526, allocations: 16.5 kB / 1.388 GB, free: 4.18 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.0002568/1.526, allocations: 215.8 kB / 1.388 GB, free: 3.98 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006938/1.527, allocations: 110.6 kB / 1.388 GB, free: 3.922 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000998/1.528, allocations: 254.2 kB / 1.388 GB, free: 3.754 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/1.528, allocations: 6.031 kB / 1.388 GB, free: 3.754 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/1.528, allocations: 4 kB / 1.388 GB, free: 3.75 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/1.528, allocations: 2.094 kB / 1.388 GB, free: 3.75 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00322/1.531, allocations: 1.453 MB / 1.39 GB, free: 2.555 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/1.531, allocations: 3.594 kB / 1.39 GB, free: 2.555 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000171/1.531, allocations: 30.97 kB / 1.39 GB, free: 2.547 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/1.531, allocations: 3.25 kB / 1.39 GB, free: 2.547 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.369e-05/1.531, allocations: 11.09 kB / 1.39 GB, free: 2.539 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.021e-06/1.531, allocations: 4.75 kB / 1.39 GB, free: 2.539 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.521e-06/1.531, allocations: 4.75 kB / 1.39 GB, free: 2.539 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009964/1.532, allocations: 412.4 kB / 1.39 GB, free: 2.219 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006544/1.533, allocations: 221.1 kB / 1.39 GB, free: 2.02 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003832/1.533, allocations: 8.938 kB / 1.39 GB, free: 2.016 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001231/1.534, allocations: 60.77 kB / 1.39 GB, free: 1.984 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.929e-05/1.535, allocations: 10.81 kB / 1.39 GB, free: 1.984 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.137e-05/1.535, allocations: 13.23 kB / 1.39 GB, free: 1.977 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.00244/1.537, allocations: 0.831 MB / 1.391 GB, free: 1.512 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.826e-06/1.537, allocations: 0 / 1.391 GB, free: 1.512 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00448/1.542, allocations: 0.7196 MB / 1.392 GB, free: 1.406 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.004009/1.546, allocations: 0.5028 MB / 1.392 GB, free: 1.199 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001677/1.547, allocations: 380.2 kB / 1.393 GB, free: 1.066 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.695e-06/1.547, allocations: 0 / 1.393 GB, free: 1.066 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003521/1.548, allocations: 76.86 kB / 1.393 GB, free: 1.039 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005486/1.553, allocations: 0.4892 MB / 1.393 GB, free: 0.7969 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00471/1.558, allocations: 1.83 MB / 1.395 GB, free: 15.52 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001081/1.559, allocations: 1.04 MB / 1.396 GB, free: 14.66 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001842/1.561, allocations: 222.4 kB / 1.396 GB, free: 14.55 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003644/1.561, allocations: 76.03 kB / 1.396 GB, free: 14.54 MB / 1.029 GB Notification: Performance of SimCode: time 1.383e-06/1.561, allocations: 0 / 1.396 GB, free: 14.54 MB / 1.029 GB Notification: Performance of Templates: time 0.06886/1.63, allocations: 24.81 MB / 1.421 GB, free: 10.42 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)