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.001238/0.001238, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001282/0.001282, allocations: 192.8 kB / 16.25 MB, free: 6.637 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.221/1.221, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.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.294/2.294, allocations: 437 MB / 0.7101 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 59.91 kB / 0.8689 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4967/0.4979, allocations: 151.6 MB / 1.017 GB, free: 2.715 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Networks.Steam.Examples.ConnectionCondensatePipe): time 0.6594/1.157, allocations: 262.9 MB / 1.274 GB, free: 24.7 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0248/1.182, allocations: 24.57 MB / 1.298 GB, free: 24.52 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002542/1.185, allocations: 84.47 kB / 1.298 GB, free: 24.52 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001789/1.187, allocations: 0.7347 MB / 1.298 GB, free: 24.5 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.008569/1.195, allocations: 3.241 MB / 1.302 GB, free: 24.41 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002693/1.198, allocations: 1.14 MB / 1.303 GB, free: 24.38 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003493/1.201, allocations: 3.248 MB / 1.306 GB, free: 24.38 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001262/1.203, allocations: 1.165 MB / 1.307 GB, free: 24.21 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005758/1.208, allocations: 3.266 MB / 1.31 GB, free: 24.15 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001174/1.21, allocations: 0.9846 MB / 1.311 GB, free: 24.15 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001219/1.21, allocations: 90.97 kB / 1.311 GB, free: 24.15 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005746/1.215, allocations: 3.708 MB / 1.315 GB, free: 24.12 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002192/1.216, allocations: 274.3 kB / 1.315 GB, free: 24.12 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006061/1.216, allocations: 0.6489 MB / 1.316 GB, free: 24.01 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003768/1.22, allocations: 3.379 MB / 1.319 GB, free: 23.71 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/1.22, allocations: 0 / 1.319 GB, free: 23.71 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.272e-06/1.22, allocations: 0 / 1.319 GB, free: 23.71 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.294e-05/1.22, allocations: 0 / 1.319 GB, free: 23.71 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.002415/1.223, allocations: 1.751 MB / 1.321 GB, free: 22.76 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/1.223, allocations: 8.125 kB / 1.321 GB, free: 22.76 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.064e-05/1.223, allocations: 102.3 kB / 1.321 GB, free: 22.72 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001897/1.225, allocations: 299.5 kB / 1.321 GB, free: 22.65 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001371/1.226, allocations: 1.118 MB / 1.322 GB, free: 22.27 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.738e-05/1.226, allocations: 51.72 kB / 1.322 GB, free: 22.26 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.144e-05/1.226, allocations: 66.75 kB / 1.322 GB, free: 22.26 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008936/1.227, allocations: 0.6466 MB / 1.323 GB, free: 22.13 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/1.227, allocations: 0 / 1.323 GB, free: 22.13 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.885e-05/1.227, allocations: 29.5 kB / 1.323 GB, free: 22.13 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/1.227, allocations: 13.25 kB / 1.323 GB, free: 22.13 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006738/1.228, allocations: 441.8 kB / 1.324 GB, free: 22.12 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.003312/1.231, allocations: 4.742 MB / 1.328 GB, free: 18.82 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003199/1.231, allocations: 232.7 kB / 1.328 GB, free: 18.71 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001868/1.232, allocations: 138.2 kB / 1.328 GB, free: 18.66 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002461/1.232, allocations: 200.8 kB / 1.329 GB, free: 18.48 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.851e-05/1.232, allocations: 45.38 kB / 1.329 GB, free: 18.43 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000671/1.233, allocations: 195.2 kB / 1.329 GB, free: 18.4 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 1.703e-06/1.233, allocations: 0 / 1.329 GB, free: 18.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.0008265/1.233, allocations: 403.2 kB / 1.329 GB, free: 18.31 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.578e-05/1.233, allocations: 164 kB / 1.329 GB, free: 18.12 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001286/1.235, allocations: 1.16 MB / 1.331 GB, free: 17.97 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.349e-05/1.235, allocations: 27.89 kB / 1.331 GB, free: 17.94 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000303/1.235, allocations: 0.5649 MB / 1.331 GB, free: 17.74 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.373e-05/1.235, allocations: 55.62 kB / 1.331 GB, free: 17.7 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/1.235, allocations: 89.98 kB / 1.331 GB, free: 17.68 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.859e-05/1.235, allocations: 315.3 kB / 1.332 GB, free: 17.38 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001792/1.235, allocations: 111.9 kB / 1.332 GB, free: 17.37 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002699/1.236, allocations: 370.5 kB / 1.332 GB, free: 17.05 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004208/1.236, allocations: 430.8 kB / 1.332 GB, free: 16.81 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/1.236, allocations: 0 / 1.332 GB, free: 16.81 MB / 0.9981 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000727/1.237, allocations: 0.4975 MB / 1.333 GB, free: 16.71 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/1.237, allocations: 7.344 kB / 1.333 GB, free: 16.71 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/1.237, allocations: 8.469 kB / 1.333 GB, free: 16.71 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/1.237, allocations: 12.27 kB / 1.333 GB, free: 16.71 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002737/1.237, allocations: 85.44 kB / 1.333 GB, free: 16.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/1.237, allocations: 10.22 kB / 1.333 GB, free: 16.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007591/1.238, allocations: 88.94 kB / 1.333 GB, free: 16.69 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.787e-05/1.238, allocations: 23.56 kB / 1.333 GB, free: 16.69 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000361/1.238, allocations: 323 kB / 1.333 GB, free: 16.61 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002501/1.239, allocations: 364.7 kB / 1.334 GB, free: 16.29 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003933/1.239, allocations: 420.6 kB / 1.334 GB, free: 16.04 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.806e-06/1.239, allocations: 3.203 kB / 1.334 GB, free: 16.04 MB / 0.9981 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0006937/1.24, allocations: 495.3 kB / 1.335 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 8.436e-06/1.24, allocations: 12.62 kB / 1.335 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/1.24, allocations: 7.031 kB / 1.335 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.212e-06/1.24, allocations: 12.38 kB / 1.335 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002414/1.24, allocations: 81.39 kB / 1.335 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/1.24, allocations: 16.62 kB / 1.335 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007051/1.241, allocations: 76.59 kB / 1.335 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.751e-05/1.241, allocations: 26.03 kB / 1.335 GB, free: 15.93 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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.175e-05/1.241, allocations: 205.9 kB / 1.335 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002524/1.241, allocations: 110.3 kB / 1.335 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000524/1.242, allocations: 315.5 kB / 1.336 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/1.242, allocations: 7.344 kB / 1.336 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/1.242, allocations: 2.094 kB / 1.336 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/1.242, allocations: 4 kB / 1.336 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001053/1.243, allocations: 1.233 MB / 1.337 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/1.243, allocations: 0 / 1.337 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001437/1.243, allocations: 33.86 kB / 1.337 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/1.243, allocations: 2.094 kB / 1.337 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/1.243, allocations: 10.41 kB / 1.337 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/1.243, allocations: 3.062 kB / 1.337 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/1.243, allocations: 2.625 kB / 1.337 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004733/1.243, allocations: 347.1 kB / 1.337 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001972/1.244, allocations: 223.6 kB / 1.337 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001248/1.244, allocations: 3.406 kB / 1.337 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005663/1.244, allocations: 54.47 kB / 1.337 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.551e-05/1.244, allocations: 11.12 kB / 1.337 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.327e-06/1.244, allocations: 3.406 kB / 1.337 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000945/1.245, allocations: 0.8219 MB / 1.338 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.245, allocations: 0 / 1.338 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001753/1.247, allocations: 0.7191 MB / 1.339 GB, free: 14.53 MB / 0.9981 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 (15): * Single equations (assignments): 15 * 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.001979/1.249, allocations: 1.295 MB / 1.34 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007045/1.25, allocations: 437.3 kB / 1.341 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/1.25, allocations: 3.938 kB / 1.341 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001481/1.25, allocations: 90.98 kB / 1.341 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001671/1.252, allocations: 481.8 kB / 1.341 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01145/1.263, allocations: 7.965 MB / 1.349 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003364/1.264, allocations: 1.042 MB / 1.35 GB, free: 9.441 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008197/1.264, allocations: 224.8 kB / 1.35 GB, free: 9.383 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003959/1.265, allocations: 412.4 kB / 1.351 GB, free: 9.371 MB / 0.9981 GB Notification: Performance of SimCode: time 7.52e-07/1.265, allocations: 0 / 1.351 GB, free: 9.371 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.723/2.987, allocations: 35.28 MB / 1.385 GB, free: 2.613 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002174/2.988, allocations: 281 kB / 1.385 GB, free: 2.246 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.474/6.461, allocations: 0 / 1.385 GB, free: 2.246 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)