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.0007708/0.0007713, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.004931/0.004932, allocations: 171 kB / 16.26 MB, free: 6.613 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.23/1.23, allocations: 223.3 MB / 240.3 MB, free: 5.336 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.37/2.37, allocations: 437.8 MB / 0.7121 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002887/0.0002887, allocations: 8 kB / 0.873 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5579/0.5582, allocations: 153.8 MB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Networks.Steam.Examples.ConnectionCondensatePipe): time 0.684/1.242, allocations: 260.3 MB / 1.277 GB, free: 28.42 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02532/1.268, allocations: 25.74 MB / 1.303 GB, free: 27.84 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002719/1.27, allocations: 78.44 kB / 1.303 GB, free: 27.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001565/1.272, allocations: 0.6889 MB / 1.303 GB, free: 27.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.006917/1.279, allocations: 3.107 MB / 1.306 GB, free: 27.7 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002381/1.281, allocations: 1.142 MB / 1.307 GB, free: 27.66 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.004108/1.285, allocations: 4.48 MB / 1.312 GB, free: 27.66 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001137/1.287, allocations: 0.9379 MB / 1.313 GB, free: 27.49 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006952/1.294, allocations: 2.985 MB / 1.316 GB, free: 27.41 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001728/1.295, allocations: 0.9261 MB / 1.317 GB, free: 27.41 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001715/1.295, allocations: 37.62 kB / 1.317 GB, free: 27.41 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006921/1.302, allocations: 3.613 MB / 1.32 GB, free: 27.37 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004183/1.303, allocations: 212.1 kB / 1.32 GB, free: 27.37 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001038/1.304, allocations: 0.6074 MB / 1.321 GB, free: 27.34 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.005619/1.31, allocations: 3.297 MB / 1.324 GB, free: 27.18 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/1.31, allocations: 0 / 1.324 GB, free: 27.18 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.563e-06/1.31, allocations: 0 / 1.324 GB, free: 27.18 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.595e-05/1.31, allocations: 0 / 1.324 GB, free: 27.18 MB / 0.9825 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.00274/1.312, allocations: 1.526 MB / 1.326 GB, free: 26.28 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/1.312, allocations: 9.375 kB / 1.326 GB, free: 26.28 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.98e-05/1.313, allocations: 99.77 kB / 1.326 GB, free: 26.24 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001853/1.314, allocations: 300.2 kB / 1.326 GB, free: 26.16 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001481/1.316, allocations: 1.117 MB / 1.327 GB, free: 25.78 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.204e-05/1.316, allocations: 49.08 kB / 1.327 GB, free: 25.78 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.414e-05/1.316, allocations: 71.81 kB / 1.327 GB, free: 25.77 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009163/1.317, allocations: 0.6512 MB / 1.328 GB, free: 25.64 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/1.317, allocations: 0 / 1.328 GB, free: 25.64 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.62e-05/1.317, allocations: 25.16 kB / 1.328 GB, free: 25.64 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.227e-05/1.317, allocations: 14.66 kB / 1.328 GB, free: 25.64 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007165/1.318, allocations: 458.2 kB / 1.328 GB, free: 25.63 MB / 0.9825 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.003288/1.321, allocations: 4.748 MB / 1.333 GB, free: 22.27 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003078/1.321, allocations: 247.2 kB / 1.333 GB, free: 22.12 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001898/1.322, allocations: 138.9 kB / 1.333 GB, free: 22.07 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002447/1.322, allocations: 211.5 kB / 1.333 GB, free: 21.86 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.825e-05/1.322, allocations: 44.22 kB / 1.334 GB, free: 21.82 MB / 0.9825 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005896/1.322, allocations: 225.9 kB / 1.334 GB, free: 21.73 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=15): time 1.573e-06/1.322, allocations: 0 / 1.334 GB, free: 21.73 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15): time 0.0007327/1.323, allocations: 357.1 kB / 1.334 GB, free: 21.6 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/1.323, allocations: 164.4 kB / 1.334 GB, free: 21.41 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001301/1.325, allocations: 1.158 MB / 1.335 GB, free: 21.08 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/1.325, allocations: 32.67 kB / 1.335 GB, free: 21.05 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002807/1.325, allocations: 0.559 MB / 1.336 GB, free: 20.71 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.906e-05/1.325, allocations: 59.45 kB / 1.336 GB, free: 20.66 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.451e-05/1.325, allocations: 30.33 kB / 1.336 GB, free: 20.63 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 3.969e-05/1.325, allocations: 320.9 kB / 1.336 GB, free: 20.31 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001598/1.325, allocations: 86.19 kB / 1.336 GB, free: 20.28 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002491/1.325, allocations: 356.4 kB / 1.337 GB, free: 19.89 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003888/1.326, allocations: 420.6 kB / 1.337 GB, free: 19.53 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/1.326, allocations: 2.875 kB / 1.337 GB, free: 19.53 MB / 0.9825 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006816/1.326, allocations: 472.3 kB / 1.338 GB, free: 19.32 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 8.54e-05/1.327, allocations: 307.5 kB / 1.338 GB, free: 18.95 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/1.327, allocations: 5.812 kB / 1.338 GB, free: 18.95 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/1.327, allocations: 11.56 kB / 1.338 GB, free: 18.95 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002297/1.327, allocations: 79.14 kB / 1.338 GB, free: 18.93 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.349e-05/1.327, allocations: 11.31 kB / 1.338 GB, free: 18.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007613/1.328, allocations: 95.66 kB / 1.338 GB, free: 18.89 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.343e-05/1.328, allocations: 21.78 kB / 1.338 GB, free: 18.89 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.01e-06/1.328, allocations: 3.438 kB / 1.338 GB, free: 18.89 MB / 0.9825 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004566/1.328, allocations: 331.8 kB / 1.338 GB, free: 18.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/1.328, allocations: 6.156 kB / 1.338 GB, free: 18.77 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.743e-06/1.328, allocations: 8.562 kB / 1.338 GB, free: 18.77 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001966/1.328, allocations: 86.02 kB / 1.339 GB, free: 18.75 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/1.328, allocations: 14.66 kB / 1.339 GB, free: 18.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006466/1.329, allocations: 74.92 kB / 1.339 GB, free: 18.72 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.256e-05/1.329, allocations: 24.34 kB / 1.339 GB, free: 18.72 MB / 0.9825 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.0002832/1.329, allocations: 356.4 kB / 1.339 GB, free: 18.43 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002388/1.33, allocations: 110.7 kB / 1.339 GB, free: 18.38 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004171/1.33, allocations: 261.8 kB / 1.339 GB, free: 18.21 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/1.33, allocations: 1.844 kB / 1.339 GB, free: 18.21 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/1.33, allocations: 3.406 kB / 1.339 GB, free: 18.21 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/1.33, allocations: 7.938 kB / 1.339 GB, free: 18.2 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001309/1.331, allocations: 1.475 MB / 1.341 GB, free: 17 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/1.331, allocations: 6.469 kB / 1.341 GB, free: 17 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001016/1.331, allocations: 37.06 kB / 1.341 GB, free: 16.99 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/1.331, allocations: 2.656 kB / 1.341 GB, free: 16.99 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/1.331, allocations: 3.156 kB / 1.341 GB, free: 16.99 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/1.332, allocations: 2.969 kB / 1.341 GB, free: 16.99 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/1.332, allocations: 6.406 kB / 1.341 GB, free: 16.99 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004574/1.332, allocations: 427.5 kB / 1.341 GB, free: 16.66 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000221/1.332, allocations: 244.5 kB / 1.342 GB, free: 16.45 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001116/1.332, allocations: 5.125 kB / 1.342 GB, free: 16.45 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005933/1.333, allocations: 60.78 kB / 1.342 GB, free: 16.42 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.838e-05/1.333, allocations: 9.078 kB / 1.342 GB, free: 16.41 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/1.333, allocations: 21.95 kB / 1.342 GB, free: 16.4 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0009936/1.334, allocations: 0.8351 MB / 1.342 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/1.334, allocations: 0 / 1.342 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001969/1.336, allocations: 0.7121 MB / 1.343 GB, free: 15.83 MB / 0.9825 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.002179/1.338, allocations: 1.373 MB / 1.344 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0006314/1.339, allocations: 388.2 kB / 1.345 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/1.339, allocations: 4.25 kB / 1.345 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001408/1.339, allocations: 83.67 kB / 1.345 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002358/1.341, allocations: 0.4961 MB / 1.345 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01112/1.352, allocations: 8.068 MB / 1.353 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003367/1.353, allocations: 1.044 MB / 1.354 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0007567/1.354, allocations: 221.8 kB / 1.354 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003657/1.354, allocations: 400.8 kB / 1.355 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of SimCode: time 6.62e-07/1.354, allocations: 0 / 1.355 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04788/1.402, allocations: 34.94 MB / 1.389 GB, free: 11.11 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002364/1.402, allocations: 267.9 kB / 1.389 GB, free: 10.75 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.419/3.821, allocations: 2.953 kB / 1.389 GB, free: 10.75 MB / 1.014 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)