Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.DHC.Networks.Steam.Examples.ConnectionCondensatePipe,fileNamePrefix="Buildings_11_Buildings_DHC_Networks_Steam_Examples_ConnectionCondensatePipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe,fileNamePrefix="Buildings_11_Buildings_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.001624/0.001624, allocations: 108 kB / 15.61 MB, free: 152 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.00185/0.00185, allocations: 198.2 kB / 16.53 MB, free: 6.664 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.34/1.34, allocations: 222.9 MB / 240.2 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.572/2.572, allocations: 469.8 MB / 0.7424 GB, free: 7.422 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002577/0.002578, allocations: 64 kB / 0.9087 GB, free: 34.22 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2462/0.2488, allocations: 159.2 MB / 1.064 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe): time 0.653/0.9019, allocations: 265.5 MB / 1.323 GB, free: 8.746 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02285/0.9248, allocations: 24.31 MB / 1.347 GB, free: 8.027 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002007/0.9268, allocations: 92.09 kB / 1.347 GB, free: 8.027 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001455/0.9283, allocations: 0.8429 MB / 1.348 GB, free: 8.012 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00647/0.9348, allocations: 3.537 MB / 1.351 GB, free: 7.887 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002067/0.9369, allocations: 1.238 MB / 1.353 GB, free: 7.645 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002211/0.9391, allocations: 3.239 MB / 1.356 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009309/0.94, allocations: 1.156 MB / 1.357 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005176/0.9452, allocations: 3.343 MB / 1.36 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009018/0.9461, allocations: 0.9305 MB / 1.361 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000109/0.9462, allocations: 85.44 kB / 1.361 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005465/0.9517, allocations: 3.688 MB / 1.365 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001737/0.9519, allocations: 269.4 kB / 1.365 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004276/0.9523, allocations: 0.6369 MB / 1.366 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002843/0.9552, allocations: 3.303 MB / 1.369 GB, free: 2.828 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.9552, allocations: 3.219 kB / 1.369 GB, free: 2.828 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.583e-06/0.9552, allocations: 1.359 kB / 1.369 GB, free: 2.828 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.104e-05/0.9552, allocations: 0 / 1.369 GB, free: 2.828 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.001951/0.9572, allocations: 1.737 MB / 1.371 GB, free: 1.57 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 2.965e-05/0.9572, allocations: 6.844 kB / 1.371 GB, free: 1.57 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.229e-05/0.9573, allocations: 98.23 kB / 1.371 GB, free: 1.484 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001691/0.959, allocations: 306.8 kB / 1.371 GB, free: 1.328 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001218/0.9602, allocations: 1.115 MB / 1.372 GB, free: 480 kB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.354e-05/0.9602, allocations: 47.78 kB / 1.372 GB, free: 460 kB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.944e-05/0.9603, allocations: 63.12 kB / 1.372 GB, free: 440 kB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007588/0.9611, allocations: 0.6721 MB / 1.373 GB, free: 15.94 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.9611, allocations: 5.906 kB / 1.373 GB, free: 15.94 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.68e-05/0.9611, allocations: 21.06 kB / 1.373 GB, free: 15.93 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.9612, allocations: 15.12 kB / 1.373 GB, free: 15.93 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007112/0.9619, allocations: 435.1 kB / 1.373 GB, free: 15.72 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.004384/0.9663, allocations: 5.369 MB / 1.379 GB, free: 10.53 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003009/0.9666, allocations: 209 kB / 1.379 GB, free: 10.35 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001834/0.9668, allocations: 119.7 kB / 1.379 GB, free: 10.27 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000278/0.9671, allocations: 202.3 kB / 1.379 GB, free: 10.06 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.9671, allocations: 43.69 kB / 1.379 GB, free: 10.02 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003604/0.9675, allocations: 57.16 kB / 1.379 GB, free: 9.98 MB / 1.014 GB Notification: Performance of pre-optimization done (n=13): time 1.703e-06/0.9675, allocations: 0 / 1.379 GB, free: 9.98 MB / 1.014 GB Notification: Performance of matching and sorting (n=13): time 0.0007845/0.9683, allocations: 346.6 kB / 1.38 GB, free: 9.801 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.962e-05/0.9684, allocations: 160.5 kB / 1.38 GB, free: 9.609 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001409/0.9698, allocations: 1.173 MB / 1.381 GB, free: 8.969 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.723e-05/0.9698, allocations: 33.08 kB / 1.381 GB, free: 8.934 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004413/0.9703, allocations: 0.5683 MB / 1.381 GB, free: 8.434 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.284e-05/0.9703, allocations: 58.33 kB / 1.381 GB, free: 8.387 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/0.9704, allocations: 94.73 kB / 1.382 GB, free: 8.324 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.9705, allocations: 323.8 kB / 1.382 GB, free: 8.004 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000183/0.9707, allocations: 96.86 kB / 1.382 GB, free: 7.953 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003971/0.9711, allocations: 389.5 kB / 1.382 GB, free: 7.52 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000529/0.9717, allocations: 444.4 kB / 1.383 GB, free: 7.121 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.9717, allocations: 3.594 kB / 1.383 GB, free: 7.121 MB / 1.014 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007724/0.9725, allocations: 499.5 kB / 1.383 GB, free: 6.902 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.9725, allocations: 10.19 kB / 1.383 GB, free: 6.902 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.9725, allocations: 5.875 kB / 1.383 GB, free: 6.902 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.9725, allocations: 14.81 kB / 1.383 GB, free: 6.898 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002461/0.9728, allocations: 80.42 kB / 1.383 GB, free: 6.887 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.9728, allocations: 16.16 kB / 1.383 GB, free: 6.887 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006234/0.9734, allocations: 46.17 kB / 1.383 GB, free: 6.867 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.293e-05/0.9735, allocations: 29.75 kB / 1.383 GB, free: 6.859 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003896/0.9739, allocations: 306 kB / 1.384 GB, free: 6.66 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003754/0.9742, allocations: 381.6 kB / 1.384 GB, free: 6.227 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005037/0.9748, allocations: 441 kB / 1.385 GB, free: 5.832 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.815e-06/0.9748, allocations: 2.344 kB / 1.385 GB, free: 5.832 MB / 1.014 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.0007436/0.9755, allocations: 487.2 kB / 1.385 GB, free: 5.625 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 7.373e-06/0.9755, allocations: 8.25 kB / 1.385 GB, free: 5.625 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.9755, allocations: 11.3 kB / 1.385 GB, free: 5.621 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.612e-06/0.9756, allocations: 14.41 kB / 1.385 GB, free: 5.617 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002206/0.9758, allocations: 83.94 kB / 1.385 GB, free: 5.605 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.9758, allocations: 16.64 kB / 1.385 GB, free: 5.602 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006161/0.9764, allocations: 43.02 kB / 1.385 GB, free: 5.586 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.587e-05/0.9765, allocations: 23.12 kB / 1.385 GB, free: 5.582 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.0001295/0.9766, allocations: 220.8 kB / 1.385 GB, free: 5.379 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002629/0.9769, allocations: 119.8 kB / 1.385 GB, free: 5.312 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004757/0.9773, allocations: 254.2 kB / 1.386 GB, free: 5.141 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.9774, allocations: 6.484 kB / 1.386 GB, free: 5.137 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.9774, allocations: 1.781 kB / 1.386 GB, free: 5.137 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.9774, allocations: 7.312 kB / 1.386 GB, free: 5.133 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001242/0.9786, allocations: 1.219 MB / 1.387 GB, free: 4.105 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.9786, allocations: 2.312 kB / 1.387 GB, free: 4.105 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001134/0.9788, allocations: 28.2 kB / 1.387 GB, free: 4.102 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.9788, allocations: 4 kB / 1.387 GB, free: 4.098 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.527e-06/0.9788, allocations: 2.125 kB / 1.387 GB, free: 4.098 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.9788, allocations: 6.875 kB / 1.387 GB, free: 4.094 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.9788, allocations: 8.109 kB / 1.387 GB, free: 4.086 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005053/0.9793, allocations: 310.5 kB / 1.387 GB, free: 3.875 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000253/0.9796, allocations: 228.9 kB / 1.387 GB, free: 3.668 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001304/0.9797, allocations: 6.484 kB / 1.388 GB, free: 3.664 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004826/0.9802, allocations: 28.94 kB / 1.388 GB, free: 3.648 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.088e-05/0.9802, allocations: 12.98 kB / 1.388 GB, free: 3.645 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-06/0.9803, allocations: 2.406 kB / 1.388 GB, free: 3.645 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001117/0.9814, allocations: 0.8488 MB / 1.388 GB, free: 3.172 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9814, allocations: 0 / 1.388 GB, free: 3.172 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001461/0.9829, allocations: 0.6989 MB / 1.389 GB, free: 3.078 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.002088/0.9849, allocations: 1.273 MB / 1.39 GB, free: 2.203 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0006613/0.9856, allocations: 405.5 kB / 1.391 GB, free: 2.074 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.9856, allocations: 4.125 kB / 1.391 GB, free: 2.07 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001401/0.9858, allocations: 67.83 kB / 1.391 GB, free: 2.043 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001796/0.9876, allocations: 0.4928 MB / 1.391 GB, free: 1.785 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009249/0.9968, allocations: 7.782 MB / 1.399 GB, free: 12.53 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005599/0.9974, allocations: 1.048 MB / 1.4 GB, free: 11.66 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0006818/0.9981, allocations: 218 kB / 1.4 GB, free: 11.55 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004642/0.9986, allocations: 404.6 kB / 1.4 GB, free: 11.22 MB / 1.029 GB Notification: Performance of SimCode: time 3.4e-07/0.9986, allocations: 0 / 1.4 GB, free: 11.22 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.685/4.683, allocations: 35.73 MB / 1.435 GB, free: 11.55 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.82/17.5, allocations: 11.84 kB / 1.435 GB, free: 11.54 MB / 1.061 GB (rm -f Buildings_11_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.pipe ; mkfifo Buildings_11_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.pipe >> ../files/Buildings_11_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe_res.mat --tempDir=temp_Buildings_11_Buildings_DHC_Networks_Steam_Examples_ConnectionCondensatePipe_fmu --startTime=0 --stopTime=86400 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_DHC_Networks_Steam_Examples_ConnectionCondensatePipe.fmu > Buildings_11_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.pipe 2>&1)