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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001253/0.001253, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001347/0.001348, allocations: 191.8 kB / 16.13 MB, free: 6.699 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.214/1.214, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.284/2.284, allocations: 437 MB / 0.7099 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 59.89 kB / 0.8687 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5123/0.5135, allocations: 151.6 MB / 1.017 GB, free: 2.805 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Networks.Steam.Examples.ConnectionCondensatePipe): time 0.7156/1.229, allocations: 263.7 MB / 1.274 GB, free: 24.88 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02823/1.257, allocations: 26 MB / 1.3 GB, free: 24.44 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002781/1.26, allocations: 84.44 kB / 1.3 GB, free: 24.44 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001703/1.262, allocations: 0.6841 MB / 1.3 GB, free: 24.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007662/1.27, allocations: 3.106 MB / 1.303 GB, free: 24.31 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002405/1.272, allocations: 1.136 MB / 1.305 GB, free: 24.27 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003691/1.276, allocations: 4.485 MB / 1.309 GB, free: 24.27 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001021/1.277, allocations: 0.9663 MB / 1.31 GB, free: 24.1 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006521/1.283, allocations: 3.005 MB / 1.313 GB, free: 24.02 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001405/1.285, allocations: 0.9703 MB / 1.314 GB, free: 24.02 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001273/1.285, allocations: 50.53 kB / 1.314 GB, free: 24.02 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006698/1.292, allocations: 3.632 MB / 1.317 GB, free: 23.98 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002675/1.292, allocations: 227.8 kB / 1.318 GB, free: 23.98 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007066/1.293, allocations: 0.606 MB / 1.318 GB, free: 23.86 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00431/1.297, allocations: 3.345 MB / 1.321 GB, free: 23.55 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/1.297, allocations: 5.812 kB / 1.321 GB, free: 23.55 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.042e-06/1.297, allocations: 0 / 1.321 GB, free: 23.55 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.12e-05/1.297, allocations: 0 / 1.321 GB, free: 23.55 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.00254/1.299, allocations: 1.742 MB / 1.323 GB, free: 22.6 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/1.3, allocations: 10.34 kB / 1.323 GB, free: 22.6 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.005e-05/1.3, allocations: 101.5 kB / 1.323 GB, free: 22.56 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001889/1.302, allocations: 302.5 kB / 1.324 GB, free: 22.48 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001585/1.303, allocations: 1.113 MB / 1.325 GB, free: 22.11 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.159e-05/1.303, allocations: 49 kB / 1.325 GB, free: 22.11 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.128e-05/1.303, allocations: 69.53 kB / 1.325 GB, free: 22.1 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009278/1.304, allocations: 0.64 MB / 1.325 GB, free: 21.97 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/1.304, allocations: 4 kB / 1.325 GB, free: 21.96 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.821e-05/1.304, allocations: 27.81 kB / 1.325 GB, free: 21.96 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.412e-05/1.304, allocations: 13.31 kB / 1.325 GB, free: 21.96 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007126/1.305, allocations: 446 kB / 1.326 GB, free: 21.96 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.003514/1.309, allocations: 4.73 MB / 1.33 GB, free: 18.66 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003417/1.309, allocations: 241.4 kB / 1.331 GB, free: 18.54 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001951/1.309, allocations: 138.3 kB / 1.331 GB, free: 18.49 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002523/1.309, allocations: 204.2 kB / 1.331 GB, free: 18.3 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/1.309, allocations: 42.12 kB / 1.331 GB, free: 18.26 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006193/1.31, allocations: 228.9 kB / 1.331 GB, free: 18.23 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 2.505e-06/1.31, allocations: 3.938 kB / 1.331 GB, free: 18.22 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.0007725/1.311, allocations: 335.9 kB / 1.332 GB, free: 18.13 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.541e-05/1.311, allocations: 164.6 kB / 1.332 GB, free: 17.94 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001386/1.312, allocations: 1.161 MB / 1.333 GB, free: 17.79 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/1.312, allocations: 31.33 kB / 1.333 GB, free: 17.75 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003221/1.313, allocations: 0.5605 MB / 1.333 GB, free: 17.56 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.038e-05/1.313, allocations: 57.77 kB / 1.334 GB, free: 17.52 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001091/1.313, allocations: 85.19 kB / 1.334 GB, free: 17.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.013e-05/1.313, allocations: 322.3 kB / 1.334 GB, free: 17.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001665/1.313, allocations: 90.77 kB / 1.334 GB, free: 17.18 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002726/1.313, allocations: 356.5 kB / 1.334 GB, free: 16.85 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003967/1.314, allocations: 402.3 kB / 1.335 GB, free: 16.59 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/1.314, allocations: 3.312 kB / 1.335 GB, free: 16.59 MB / 0.9981 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007084/1.314, allocations: 456.8 kB / 1.335 GB, free: 16.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/1.314, allocations: 10.86 kB / 1.335 GB, free: 16.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/1.314, allocations: 6.875 kB / 1.335 GB, free: 16.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/1.314, allocations: 8.781 kB / 1.335 GB, free: 16.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002291/1.315, allocations: 86.64 kB / 1.335 GB, free: 16.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.347e-05/1.315, allocations: 15.7 kB / 1.335 GB, free: 16.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007867/1.315, allocations: 76.59 kB / 1.335 GB, free: 16.49 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.652e-05/1.316, allocations: 23.23 kB / 1.335 GB, free: 16.49 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003741/1.316, allocations: 307 kB / 1.336 GB, free: 16.4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002452/1.316, allocations: 358.5 kB / 1.336 GB, free: 16.06 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003621/1.317, allocations: 397.9 kB / 1.336 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.345e-06/1.317, allocations: 4 kB / 1.336 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.000675/1.317, allocations: 452.9 kB / 1.337 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.839e-06/1.317, allocations: 8.469 kB / 1.337 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/1.317, allocations: 12.22 kB / 1.337 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.772e-06/1.317, allocations: 6.875 kB / 1.337 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001936/1.317, allocations: 80.23 kB / 1.337 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.427e-06/1.317, allocations: 17.59 kB / 1.337 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006907/1.318, allocations: 82.38 kB / 1.337 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.594e-05/1.318, allocations: 22.69 kB / 1.337 GB, free: 15.69 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 8.351e-05/1.318, allocations: 208.9 kB / 1.337 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002504/1.319, allocations: 110 kB / 1.337 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004295/1.319, allocations: 247.9 kB / 1.338 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/1.319, allocations: 4.031 kB / 1.338 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/1.319, allocations: 10.62 kB / 1.338 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/1.319, allocations: 2.188 kB / 1.338 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001412/1.32, allocations: 1.461 MB / 1.339 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/1.32, allocations: 2.094 kB / 1.339 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.907e-05/1.321, allocations: 34.41 kB / 1.339 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/1.321, allocations: 2.375 kB / 1.339 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/1.321, allocations: 2.406 kB / 1.339 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/1.321, allocations: 5.688 kB / 1.339 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/1.321, allocations: 0 / 1.339 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004654/1.321, allocations: 425.9 kB / 1.339 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002163/1.321, allocations: 223.6 kB / 1.34 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001233/1.321, allocations: 2.312 kB / 1.34 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005862/1.322, allocations: 58.03 kB / 1.34 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.964e-05/1.322, allocations: 18.48 kB / 1.34 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.317e-06/1.322, allocations: 6.906 kB / 1.34 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001052/1.323, allocations: 0.8369 MB / 1.341 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.323, allocations: 0 / 1.341 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002137/1.325, allocations: 0.7168 MB / 1.341 GB, free: 14.08 MB / 0.9981 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.002302/1.328, allocations: 1.365 MB / 1.343 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007189/1.328, allocations: 372.5 kB / 1.343 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/1.328, allocations: 320 / 1.343 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001398/1.328, allocations: 83.38 kB / 1.343 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002054/1.331, allocations: 496.6 kB / 1.344 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01198/1.343, allocations: 8.027 MB / 1.351 GB, free: 9.449 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004403/1.343, allocations: 1.042 MB / 1.352 GB, free: 8.73 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008597/1.344, allocations: 221.3 kB / 1.353 GB, free: 8.68 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003922/1.344, allocations: 399.1 kB / 1.353 GB, free: 8.652 MB / 0.9981 GB Notification: Performance of SimCode: time 8.92e-07/1.344, allocations: 0 / 1.353 GB, free: 8.652 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04748/1.392, allocations: 34.83 MB / 1.387 GB, free: 15.94 MB / 1.029 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002615/1.392, allocations: 278.3 kB / 1.387 GB, free: 15.57 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.338/3.73, allocations: 0 / 1.387 GB, free: 15.57 MB / 1.029 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=50 --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)