Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Experimental.DHC.Networks.Steam.Examples.ConnectionCondensatePipe,fileNamePrefix="Buildings_10_Buildings_Experimental_DHC_Networks_Steam_Examples_ConnectionCondensatePipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Networks.Steam.Examples.ConnectionCondensatePipe,fileNamePrefix="Buildings_10_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.006649/0.006649, allocations: 98.38 kB / 15.73 MB, free: 6.062 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.001843/0.001843, allocations: 193.5 kB / 16.67 MB, free: 5.973 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.286/1.286, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.283/2.283, allocations: 437.1 MB / 0.7105 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001738/0.001738, allocations: 63.89 kB / 1.018 GB, free: 9.867 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6548/0.6566, allocations: 151.6 MB / 1.166 GB, free: 3.734 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Networks.Steam.Examples.ConnectionCondensatePipe): time 0.2641/0.9207, allocations: 265.6 MB / 1.426 GB, free: 9.164 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.03229/0.9531, allocations: 24.34 MB / 1.449 GB, free: 0.7578 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002942/0.956, allocations: 91.44 kB / 1.449 GB, free: 0.668 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.002303/0.9584, allocations: 0.8504 MB / 1.45 GB, free: 15.81 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.008589/0.967, allocations: 3.53 MB / 1.454 GB, free: 12.28 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002837/0.9699, allocations: 1.254 MB / 1.455 GB, free: 11.04 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.004296/0.9742, allocations: 3.245 MB / 1.458 GB, free: 7.781 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001516/0.9757, allocations: 1.165 MB / 1.459 GB, free: 6.582 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007301/0.983, allocations: 3.345 MB / 1.463 GB, free: 3.223 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00148/0.9845, allocations: 0.9295 MB / 1.463 GB, free: 2.289 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001432/0.9847, allocations: 88 kB / 1.464 GB, free: 2.203 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007396/0.9921, allocations: 3.761 MB / 1.467 GB, free: 14.44 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003121/0.9924, allocations: 255 kB / 1.467 GB, free: 14.19 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.000821/0.9932, allocations: 0.649 MB / 1.468 GB, free: 13.54 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.005159/0.9984, allocations: 3.369 MB / 1.471 GB, free: 10.16 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.9984, allocations: 11.88 kB / 1.471 GB, free: 10.14 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.312e-06/0.9984, allocations: 4 kB / 1.471 GB, free: 10.14 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.268e-05/0.9984, allocations: 0 / 1.471 GB, free: 10.14 MB / 1.201 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.002836/1.001, allocations: 1.788 MB / 1.473 GB, free: 8.293 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/1.001, allocations: 8.922 kB / 1.473 GB, free: 8.285 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001137/1.001, allocations: 102.5 kB / 1.473 GB, free: 8.176 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001882/1.003, allocations: 294.9 kB / 1.473 GB, free: 7.887 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001856/1.005, allocations: 1.187 MB / 1.475 GB, free: 6.645 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.858e-05/1.005, allocations: 45.31 kB / 1.475 GB, free: 6.602 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.293e-05/1.005, allocations: 60 kB / 1.475 GB, free: 6.543 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001044/1.006, allocations: 0.6839 MB / 1.475 GB, free: 5.797 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/1.006, allocations: 0 / 1.475 GB, free: 5.797 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.92e-05/1.006, allocations: 24 kB / 1.475 GB, free: 5.773 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.326e-05/1.006, allocations: 12 kB / 1.475 GB, free: 5.762 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000797/1.007, allocations: 428.8 kB / 1.476 GB, free: 5.34 MB / 1.201 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.004662/1.012, allocations: 5.363 MB / 1.481 GB, free: 15.44 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000335/1.012, allocations: 205 kB / 1.481 GB, free: 15.19 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001999/1.013, allocations: 116.2 kB / 1.481 GB, free: 15.06 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003016/1.013, allocations: 202.2 kB / 1.482 GB, free: 14.83 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/1.013, allocations: 42.5 kB / 1.482 GB, free: 14.78 MB / 1.217 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000363/1.013, allocations: 59.64 kB / 1.482 GB, free: 14.72 MB / 1.217 GB Notification: Performance of pre-optimization done (n=13): time 1.483e-06/1.013, allocations: 0 / 1.482 GB, free: 14.72 MB / 1.217 GB Notification: Performance of matching and sorting (n=13): time 0.0008629/1.014, allocations: 357 kB / 1.482 GB, free: 14.36 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.286e-05/1.014, allocations: 158.2 kB / 1.482 GB, free: 14.17 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001595/1.016, allocations: 1.175 MB / 1.483 GB, free: 12.99 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 2.682e-05/1.016, allocations: 29.7 kB / 1.483 GB, free: 12.95 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004725/1.016, allocations: 0.5788 MB / 1.484 GB, free: 12.37 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 4.957e-05/1.016, allocations: 59.55 kB / 1.484 GB, free: 12.31 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001218/1.017, allocations: 89.39 kB / 1.484 GB, free: 12.22 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001295/1.017, allocations: 326 kB / 1.484 GB, free: 11.89 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002015/1.017, allocations: 92.8 kB / 1.484 GB, free: 11.8 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004276/1.017, allocations: 384 kB / 1.485 GB, free: 11.29 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005838/1.018, allocations: 445.5 kB / 1.485 GB, free: 10.75 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/1.018, allocations: 4 kB / 1.485 GB, free: 10.74 MB / 1.217 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008784/1.019, allocations: 0.493 MB / 1.486 GB, free: 10.24 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/1.019, allocations: 19.88 kB / 1.486 GB, free: 10.22 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/1.019, allocations: 8 kB / 1.486 GB, free: 10.21 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/1.019, allocations: 8 kB / 1.486 GB, free: 10.21 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002738/1.019, allocations: 83.83 kB / 1.486 GB, free: 10.12 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.844e-05/1.019, allocations: 15.94 kB / 1.486 GB, free: 10.11 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006252/1.02, allocations: 52.25 kB / 1.486 GB, free: 10.06 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.545e-05/1.02, allocations: 24 kB / 1.486 GB, free: 10.04 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000431/1.02, allocations: 312 kB / 1.486 GB, free: 9.727 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000412/1.021, allocations: 387.9 kB / 1.487 GB, free: 9.207 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005516/1.021, allocations: 433.6 kB / 1.487 GB, free: 8.676 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.468e-06/1.021, allocations: 7.984 kB / 1.487 GB, free: 8.668 MB / 1.217 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.0008379/1.022, allocations: 488.9 kB / 1.488 GB, free: 8.184 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/1.022, allocations: 14.72 kB / 1.488 GB, free: 8.172 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/1.022, allocations: 11.98 kB / 1.488 GB, free: 8.16 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/1.022, allocations: 12 kB / 1.488 GB, free: 8.148 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002485/1.022, allocations: 87.83 kB / 1.488 GB, free: 8.062 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/1.022, allocations: 11.94 kB / 1.488 GB, free: 8.051 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006175/1.023, allocations: 47.89 kB / 1.488 GB, free: 8.004 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.54e-05/1.023, allocations: 24 kB / 1.488 GB, free: 7.98 MB / 1.217 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.0001304/1.023, allocations: 216.1 kB / 1.488 GB, free: 7.762 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002782/1.024, allocations: 119.2 kB / 1.488 GB, free: 7.645 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005151/1.024, allocations: 249.6 kB / 1.488 GB, free: 7.383 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-06/1.024, allocations: 4 kB / 1.488 GB, free: 7.379 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/1.024, allocations: 3.938 kB / 1.488 GB, free: 7.375 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/1.024, allocations: 0 / 1.488 GB, free: 7.375 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001319/1.025, allocations: 1.215 MB / 1.489 GB, free: 6.094 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/1.025, allocations: 7.938 kB / 1.489 GB, free: 6.086 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001265/1.026, allocations: 31.92 kB / 1.489 GB, free: 6.055 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/1.026, allocations: 4 kB / 1.489 GB, free: 6.051 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/1.026, allocations: 0 / 1.489 GB, free: 6.051 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.58e-06/1.026, allocations: 12.11 kB / 1.49 GB, free: 6.039 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/1.026, allocations: 0 / 1.49 GB, free: 6.039 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005577/1.026, allocations: 326.5 kB / 1.49 GB, free: 5.691 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002771/1.026, allocations: 240.2 kB / 1.49 GB, free: 5.438 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/1.027, allocations: 0 / 1.49 GB, free: 5.438 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004685/1.027, allocations: 23.97 kB / 1.49 GB, free: 5.414 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.801e-05/1.027, allocations: 15.97 kB / 1.49 GB, free: 5.398 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-06/1.027, allocations: 4 kB / 1.49 GB, free: 5.395 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001248/1.028, allocations: 0.8491 MB / 1.491 GB, free: 4.543 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.7e-07/1.028, allocations: 0 / 1.491 GB, free: 4.543 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001634/1.03, allocations: 0.706 MB / 1.492 GB, free: 3.836 MB / 1.217 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.002266/1.032, allocations: 1.281 MB / 1.493 GB, free: 2.523 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0007668/1.033, allocations: 407.2 kB / 1.493 GB, free: 2.129 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/1.033, allocations: 0 / 1.493 GB, free: 2.129 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0001513/1.033, allocations: 64.81 kB / 1.493 GB, free: 2.066 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00188/1.035, allocations: 0.5016 MB / 1.494 GB, free: 1.582 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009928/1.045, allocations: 7.287 MB / 1.501 GB, free: 9.93 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000626/1.046, allocations: 1.036 MB / 1.502 GB, free: 8.863 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0006701/1.046, allocations: 227.1 kB / 1.502 GB, free: 8.645 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004976/1.047, allocations: 395.3 kB / 1.503 GB, free: 8.258 MB / 1.232 GB Notification: Performance of SimCode: time 5.31e-07/1.047, allocations: 0 / 1.503 GB, free: 8.258 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.856/2.903, allocations: 36.14 MB / 1.538 GB, free: 4.434 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.96/16.86, allocations: 10.11 kB / 1.538 GB, free: 4.426 MB / 1.264 GB (rm -f Buildings_10_Buildings.Experimental.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Experimental.DHC.Networks.Steam.Examples.ConnectionCondensatePipe_res.mat --tempDir=temp_Buildings_10_Buildings_Experimental_DHC_Networks_Steam_Examples_ConnectionCondensatePipe_fmu --startTime=0 --stopTime=86400 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Experimental_DHC_Networks_Steam_Examples_ConnectionCondensatePipe.fmu > Buildings_10_Buildings.Experimental.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.pipe 2>&1)