Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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: "" <> buildModelFMU(Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe,fileNamePrefix="Buildings_latest_Buildings_DHC_Networks_Steam_Examples_ConnectionCondensatePipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe,fileNamePrefix="Buildings_latest_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.005773/0.005772, allocations: 100.8 kB / 15.73 MB, free: 6.445 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.001531/0.001531, allocations: 191.6 kB / 16.67 MB, free: 6.348 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 4.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.704/2.704, allocations: 482.6 MB / 0.755 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001762/0.001762, allocations: 63.91 kB / 1.083 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2728/0.2746, allocations: 162.3 MB / 1.242 GB, free: 9.883 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe): time 0.7496/1.024, allocations: 265.6 MB / 1.501 GB, free: 13.43 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.03033/1.055, allocations: 24.32 MB / 1.525 GB, free: 5.055 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002192/1.057, allocations: 95.44 kB / 1.525 GB, free: 4.961 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001865/1.059, allocations: 0.8387 MB / 1.526 GB, free: 4.117 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.007725/1.066, allocations: 3.522 MB / 1.529 GB, free: 0.5977 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.002615/1.069, allocations: 1.252 MB / 1.531 GB, free: 15.36 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.003872/1.073, allocations: 3.215 MB / 1.534 GB, free: 12.13 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001419/1.074, allocations: 1.174 MB / 1.535 GB, free: 10.93 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008172/1.083, allocations: 3.816 MB / 1.539 GB, free: 7.094 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001358/1.084, allocations: 0.9178 MB / 1.539 GB, free: 6.172 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0001316/1.084, allocations: 84 kB / 1.54 GB, free: 6.09 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006742/1.091, allocations: 3.772 MB / 1.543 GB, free: 2.312 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0002644/1.091, allocations: 251 kB / 1.543 GB, free: 2.066 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.000693/1.092, allocations: 0.649 MB / 1.544 GB, free: 1.414 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.0044/1.096, allocations: 3.33 MB / 1.547 GB, free: 14.07 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/1.096, allocations: 4 kB / 1.547 GB, free: 14.07 MB / 1.248 GB Notification: Performance of FrontEnd: time 3.016e-06/1.096, allocations: 3.938 kB / 1.547 GB, free: 14.07 MB / 1.248 GB Notification: Performance of Transformations before backend: time 1.076e-05/1.096, allocations: 3.938 kB / 1.547 GB, free: 14.06 MB / 1.248 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.002627/1.099, allocations: 1.788 MB / 1.549 GB, free: 12.21 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/1.099, allocations: 8.031 kB / 1.549 GB, free: 12.21 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001088/1.099, allocations: 106.5 kB / 1.549 GB, free: 12.09 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001827/1.101, allocations: 302.8 kB / 1.55 GB, free: 11.8 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001784/1.103, allocations: 1.18 MB / 1.551 GB, free: 10.56 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.778e-05/1.103, allocations: 49.31 kB / 1.551 GB, free: 10.52 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.82e-05/1.103, allocations: 60 kB / 1.551 GB, free: 10.46 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001015/1.104, allocations: 0.6799 MB / 1.551 GB, free: 9.715 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/1.104, allocations: 3.938 kB / 1.551 GB, free: 9.711 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.897e-05/1.104, allocations: 24 kB / 1.551 GB, free: 9.688 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/1.104, allocations: 12 kB / 1.551 GB, free: 9.676 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007682/1.105, allocations: 428.8 kB / 1.552 GB, free: 9.258 MB / 1.248 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.00454/1.109, allocations: 5.359 MB / 1.557 GB, free: 3.359 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003376/1.11, allocations: 209 kB / 1.557 GB, free: 3.109 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001944/1.11, allocations: 108.3 kB / 1.557 GB, free: 2.988 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002874/1.11, allocations: 210.2 kB / 1.558 GB, free: 2.746 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/1.11, allocations: 38.5 kB / 1.558 GB, free: 2.699 MB / 1.248 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003485/1.111, allocations: 51.75 kB / 1.558 GB, free: 2.648 MB / 1.248 GB Notification: Performance of pre-optimization done (n=13): time 1.663e-06/1.111, allocations: 0 / 1.558 GB, free: 2.648 MB / 1.248 GB Notification: Performance of matching and sorting (n=13): time 0.0008377/1.111, allocations: 352.6 kB / 1.558 GB, free: 2.297 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.532e-05/1.111, allocations: 162.2 kB / 1.558 GB, free: 2.102 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00155/1.113, allocations: 1.176 MB / 1.559 GB, free: 0.918 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 3.011e-05/1.113, allocations: 37.7 kB / 1.559 GB, free: 0.875 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004587/1.114, allocations: 0.5825 MB / 1.56 GB, free: 296 kB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 4.083e-05/1.114, allocations: 51.58 kB / 1.56 GB, free: 244 kB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/1.114, allocations: 89.59 kB / 1.56 GB, free: 148 kB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001347/1.114, allocations: 322 kB / 1.56 GB, free: 15.82 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002003/1.114, allocations: 92.8 kB / 1.56 GB, free: 15.73 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004202/1.114, allocations: 395.2 kB / 1.561 GB, free: 15.21 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005719/1.115, allocations: 448.4 kB / 1.561 GB, free: 14.66 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/1.115, allocations: 4 kB / 1.561 GB, free: 14.66 MB / 1.264 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008522/1.116, allocations: 0.4889 MB / 1.562 GB, free: 14.16 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/1.116, allocations: 8 kB / 1.562 GB, free: 14.16 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/1.116, allocations: 11.94 kB / 1.562 GB, free: 14.14 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/1.116, allocations: 15.94 kB / 1.562 GB, free: 14.13 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002662/1.116, allocations: 83.83 kB / 1.562 GB, free: 14.05 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.519e-05/1.116, allocations: 16.45 kB / 1.562 GB, free: 14.03 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005983/1.117, allocations: 51.89 kB / 1.562 GB, free: 13.98 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.534e-05/1.117, allocations: 28 kB / 1.562 GB, free: 13.95 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004363/1.117, allocations: 312.9 kB / 1.562 GB, free: 13.64 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003984/1.118, allocations: 379.6 kB / 1.563 GB, free: 13.13 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005436/1.118, allocations: 433.5 kB / 1.563 GB, free: 12.6 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.729e-06/1.118, allocations: 4.938 kB / 1.563 GB, free: 12.6 MB / 1.264 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.0008252/1.119, allocations: 496.9 kB / 1.564 GB, free: 12.11 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 1.028e-05/1.119, allocations: 8 kB / 1.564 GB, free: 12.1 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/1.119, allocations: 8 kB / 1.564 GB, free: 12.09 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/1.119, allocations: 12 kB / 1.564 GB, free: 12.08 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000241/1.119, allocations: 87.83 kB / 1.564 GB, free: 11.99 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.414e-05/1.12, allocations: 17.48 kB / 1.564 GB, free: 11.98 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006034/1.12, allocations: 52.09 kB / 1.564 GB, free: 11.93 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.316e-05/1.12, allocations: 27.94 kB / 1.564 GB, free: 11.9 MB / 1.264 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.0001329/1.12, allocations: 212.1 kB / 1.564 GB, free: 11.68 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002718/1.121, allocations: 115.2 kB / 1.564 GB, free: 11.57 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000496/1.121, allocations: 257.5 kB / 1.564 GB, free: 11.3 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/1.121, allocations: 0 / 1.564 GB, free: 11.3 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/1.121, allocations: 8 kB / 1.564 GB, free: 11.3 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/1.121, allocations: 3.938 kB / 1.564 GB, free: 11.29 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001307/1.122, allocations: 1.215 MB / 1.565 GB, free: 10.01 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/1.122, allocations: 0 / 1.565 GB, free: 10.01 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001277/1.123, allocations: 35.86 kB / 1.566 GB, free: 9.977 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/1.123, allocations: 4.125 kB / 1.566 GB, free: 9.973 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/1.123, allocations: 4 kB / 1.566 GB, free: 9.969 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/1.123, allocations: 0 / 1.566 GB, free: 9.969 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/1.123, allocations: 4 kB / 1.566 GB, free: 9.965 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005411/1.123, allocations: 322.8 kB / 1.566 GB, free: 9.621 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002594/1.123, allocations: 232.2 kB / 1.566 GB, free: 9.375 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/1.124, allocations: 4 kB / 1.566 GB, free: 9.371 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004615/1.124, allocations: 27.95 kB / 1.566 GB, free: 9.344 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.007e-05/1.124, allocations: 8 kB / 1.566 GB, free: 9.336 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.416e-06/1.124, allocations: 8 kB / 1.566 GB, free: 9.328 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001222/1.125, allocations: 0.8491 MB / 1.567 GB, free: 8.477 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.3e-07/1.125, allocations: 0 / 1.567 GB, free: 8.477 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001584/1.127, allocations: 0.706 MB / 1.568 GB, free: 7.77 MB / 1.264 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.002184/1.129, allocations: 1.276 MB / 1.569 GB, free: 6.461 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.0007487/1.13, allocations: 406.1 kB / 1.569 GB, free: 6.066 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/1.13, allocations: 0 / 1.569 GB, free: 6.066 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0001531/1.13, allocations: 73.39 kB / 1.569 GB, free: 5.996 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001829/1.132, allocations: 498.9 kB / 1.57 GB, free: 5.523 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009654/1.142, allocations: 7.295 MB / 1.577 GB, free: 13.87 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006028/1.142, allocations: 1.036 MB / 1.578 GB, free: 12.8 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.0006243/1.143, allocations: 212.5 kB / 1.578 GB, free: 12.59 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004874/1.143, allocations: 395.3 kB / 1.579 GB, free: 12.2 MB / 1.279 GB Notification: Performance of SimCode: time 4.21e-07/1.143, allocations: 4 kB / 1.579 GB, free: 12.2 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.839/2.982, allocations: 36 MB / 1.614 GB, free: 8.582 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.31/19.29, allocations: 7.812 kB / 1.614 GB, free: 8.574 MB / 1.311 GB (rm -f Buildings_latest_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.pipe ; mkfifo Buildings_latest_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.pipe >> ../files/Buildings_latest_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe_res.mat --tempDir=temp_Buildings_latest_Buildings_DHC_Networks_Steam_Examples_ConnectionCondensatePipe_fmu --startTime=0 --stopTime=86400 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_DHC_Networks_Steam_Examples_ConnectionCondensatePipe.fmu > Buildings_latest_Buildings.DHC.Networks.Steam.Examples.ConnectionCondensatePipe.pipe 2>&1)