Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Experimental.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: "" <> buildModelFMU(Buildings.Experimental.DHC.Networks.Steam.Examples.ConnectionCondensatePipe,fileNamePrefix="Buildings_latest_Buildings_Experimental_DHC_Networks_Steam_Examples_ConnectionCondensatePipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Networks.Steam.Examples.ConnectionCondensatePipe,fileNamePrefix="Buildings_latest_Buildings_Experimental_DHC_Networks_Steam_Examples_ConnectionCondensatePipe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008768/0.0008769, allocations: 95.92 kB / 15.36 MB, free: 0.7344 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.005077/0.005077, allocations: 170.8 kB / 16.27 MB, free: 6.648 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.22/1.22, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.425/2.425, allocations: 462.7 MB / 0.7364 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002864/0.0002864, allocations: 8.531 kB / 0.9029 GB, free: 36.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2597/0.26, allocations: 159.6 MB / 1.059 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Networks.Steam.Examples.ConnectionCondensatePipe): time 0.7148/0.9748, allocations: 260.3 MB / 1.313 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02834/1.003, allocations: 25.74 MB / 1.338 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00291/1.006, allocations: 80.31 kB / 1.338 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002014/1.008, allocations: 0.691 MB / 1.339 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007645/1.016, allocations: 3.092 MB / 1.342 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002447/1.018, allocations: 1.15 MB / 1.343 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004035/1.022, allocations: 4.491 MB / 1.347 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001379/1.024, allocations: 0.9335 MB / 1.348 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006115/1.03, allocations: 2.981 MB / 1.351 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001081/1.031, allocations: 0.9371 MB / 1.352 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.529e-05/1.031, allocations: 36.78 kB / 1.352 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006184/1.037, allocations: 3.61 MB / 1.356 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002029/1.037, allocations: 211.3 kB / 1.356 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006753/1.038, allocations: 0.6055 MB / 1.357 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004015/1.042, allocations: 3.301 MB / 1.36 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/1.042, allocations: 0 / 1.36 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.403e-06/1.042, allocations: 1.781 kB / 1.36 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.249e-05/1.042, allocations: 0 / 1.36 GB, free: 12.23 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.002255/1.044, allocations: 1.523 MB / 1.361 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/1.045, allocations: 15.5 kB / 1.361 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.722e-05/1.045, allocations: 105.7 kB / 1.361 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001794/1.046, allocations: 295.7 kB / 1.362 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001338/1.048, allocations: 1.116 MB / 1.363 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.055e-05/1.048, allocations: 48.59 kB / 1.363 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.213e-05/1.048, allocations: 59.56 kB / 1.363 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008584/1.049, allocations: 0.6569 MB / 1.363 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/1.049, allocations: 4 kB / 1.363 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.588e-05/1.049, allocations: 24.69 kB / 1.363 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/1.049, allocations: 13.88 kB / 1.364 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000708/1.05, allocations: 452.9 kB / 1.364 GB, free: 10.09 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.003057/1.053, allocations: 4.756 MB / 1.369 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003114/1.053, allocations: 248.1 kB / 1.369 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001925/1.053, allocations: 140.9 kB / 1.369 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002433/1.053, allocations: 215.2 kB / 1.369 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.706e-05/1.053, allocations: 32.69 kB / 1.369 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005545/1.054, allocations: 232.1 kB / 1.369 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 1.332e-06/1.054, allocations: 0 / 1.369 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.0007362/1.055, allocations: 362.6 kB / 1.37 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/1.055, allocations: 160.2 kB / 1.37 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001288/1.056, allocations: 1.159 MB / 1.371 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/1.056, allocations: 32.97 kB / 1.371 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002957/1.056, allocations: 0.556 MB / 1.372 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.036e-05/1.056, allocations: 59.53 kB / 1.372 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.672e-05/1.056, allocations: 34.36 kB / 1.372 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.835e-05/1.057, allocations: 324.1 kB / 1.372 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001618/1.057, allocations: 90.5 kB / 1.372 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002578/1.057, allocations: 364.6 kB / 1.372 GB, free: 3.238 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004018/1.057, allocations: 408.2 kB / 1.373 GB, free: 2.887 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/1.057, allocations: 5.656 kB / 1.373 GB, free: 2.887 MB / 0.9981 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006882/1.058, allocations: 472.9 kB / 1.373 GB, free: 2.68 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 8.822e-05/1.058, allocations: 293.4 kB / 1.374 GB, free: 2.316 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/1.058, allocations: 6.219 kB / 1.374 GB, free: 2.316 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/1.058, allocations: 12.22 kB / 1.374 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002314/1.058, allocations: 85.5 kB / 1.374 GB, free: 2.297 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/1.058, allocations: 16.52 kB / 1.374 GB, free: 2.293 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007103/1.059, allocations: 81.36 kB / 1.374 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.274e-05/1.059, allocations: 24.94 kB / 1.374 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.019e-06/1.059, allocations: 2.156 kB / 1.374 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000456/1.06, allocations: 338.2 kB / 1.374 GB, free: 2.133 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/1.06, allocations: 4.969 kB / 1.374 GB, free: 2.133 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.203e-06/1.06, allocations: 12.28 kB / 1.374 GB, free: 2.133 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001986/1.06, allocations: 87.56 kB / 1.374 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/1.06, allocations: 18.95 kB / 1.374 GB, free: 2.105 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006443/1.061, allocations: 71.97 kB / 1.374 GB, free: 2.078 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.378e-05/1.061, allocations: 23.61 kB / 1.374 GB, free: 2.074 MB / 0.9981 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.0002582/1.061, allocations: 352.1 kB / 1.375 GB, free: 1.793 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002349/1.061, allocations: 113.6 kB / 1.375 GB, free: 1.734 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004132/1.062, allocations: 262.8 kB / 1.375 GB, free: 1.57 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/1.062, allocations: 3.312 kB / 1.375 GB, free: 1.57 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/1.062, allocations: 4.125 kB / 1.375 GB, free: 1.566 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/1.062, allocations: 6.922 kB / 1.375 GB, free: 1.562 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001307/1.063, allocations: 1.471 MB / 1.376 GB, free: 368 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/1.063, allocations: 3.312 kB / 1.376 GB, free: 368 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/1.063, allocations: 33.83 kB / 1.377 GB, free: 360 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/1.063, allocations: 3.312 kB / 1.377 GB, free: 360 kB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/1.063, allocations: 7.344 kB / 1.377 GB, free: 356 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/1.063, allocations: 8.922 kB / 1.377 GB, free: 352 kB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/1.063, allocations: 4.25 kB / 1.377 GB, free: 348 kB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004475/1.063, allocations: 416.2 kB / 1.377 GB, free: 28 kB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003116/1.064, allocations: 244.4 kB / 1.377 GB, free: 15.81 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/1.064, allocations: 11.11 kB / 1.377 GB, free: 15.8 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006002/1.065, allocations: 59.41 kB / 1.377 GB, free: 15.77 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.081e-05/1.065, allocations: 17.11 kB / 1.377 GB, free: 15.77 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/1.065, allocations: 5.406 kB / 1.377 GB, free: 15.77 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001226/1.066, allocations: 0.8338 MB / 1.378 GB, free: 15.3 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.9e-07/1.066, allocations: 0 / 1.378 GB, free: 15.3 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001931/1.068, allocations: 0.7166 MB / 1.379 GB, free: 15.2 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.002182/1.07, allocations: 1.378 MB / 1.38 GB, free: 14.22 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0006569/1.071, allocations: 388.7 kB / 1.38 GB, free: 14.09 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/1.071, allocations: 3.188 kB / 1.38 GB, free: 14.09 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001525/1.071, allocations: 79.61 kB / 1.381 GB, free: 14.07 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002413/1.073, allocations: 498.2 kB / 1.381 GB, free: 13.83 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01231/1.086, allocations: 8.091 MB / 1.389 GB, free: 8.207 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000615/1.086, allocations: 1.037 MB / 1.39 GB, free: 7.352 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0007222/1.087, allocations: 218.7 kB / 1.39 GB, free: 7.242 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004945/1.087, allocations: 403.5 kB / 1.391 GB, free: 6.91 MB / 1.014 GB Notification: Performance of SimCode: time 1.203e-06/1.087, allocations: 0 / 1.391 GB, free: 6.91 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05089/1.138, allocations: 34.93 MB / 1.425 GB, free: 10.39 MB / 1.045 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002661/1.139, allocations: 281 kB / 1.425 GB, free: 10.02 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.382/3.52, allocations: 3.25 kB / 1.425 GB, free: 10.02 MB / 1.045 GB (rm -f Buildings_latest_Buildings.Experimental.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.pipe ; mkfifo Buildings_latest_Buildings.Experimental.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Experimental.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.pipe >> ../files/Buildings_latest_Buildings.Experimental.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Experimental.DHC.Networks.Steam.Examples.ConnectionCondensatePipe_res.mat --tempDir=temp_Buildings_latest_Buildings_Experimental_DHC_Networks_Steam_Examples_ConnectionCondensatePipe_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Experimental_DHC_Networks_Steam_Examples_ConnectionCondensatePipe.fmu > Buildings_latest_Buildings.Experimental.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.pipe 2>&1)