Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Examples.Tubular,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular") translateModel(Buildings.Fluid.SolarCollectors.Examples.Tubular,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.362/2.362, allocations: 251.1 MB / 266.7 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001316/0.001316, allocations: 168.8 kB / 326.2 MB, free: 2.859 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.457/2.457, allocations: 205.4 MB / 0.5772 GB, free: 20.75 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009258/0.0009253, allocations: 106 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005023/0.0005025, allocations: 19.75 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2241/0.2246, allocations: 106.3 MB / 0.8995 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.596/7.821, allocations: 2.474 GB / 3.374 GB, free: 44.79 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003236/7.821, allocations: 99.02 kB / 3.374 GB, free: 44.73 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.894/12.72, allocations: 0.9022 GB / 4.276 GB, free: 183.9 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.575e-06/12.72, allocations: 2.156 kB / 4.276 GB, free: 183.9 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0007762/12.72, allocations: 122.8 kB / 4.276 GB, free: 183.9 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 967 * Number of variables: 967 Notification: Performance of Generate backend data structure: time 0.02243/12.74, allocations: 5.083 MB / 4.281 GB, free: 180.6 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/12.74, allocations: 6.438 kB / 4.281 GB, free: 180.6 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01308/12.75, allocations: 1.254 MB / 4.282 GB, free: 180.1 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01897/12.77, allocations: 5.132 MB / 4.287 GB, free: 176 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003442/12.77, allocations: 279.4 kB / 4.288 GB, free: 175.7 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001581/12.77, allocations: 381.6 kB / 4.288 GB, free: 175.3 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01801/12.79, allocations: 5.329 MB / 4.293 GB, free: 169.9 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001579/12.79, allocations: 11.94 kB / 4.293 GB, free: 169.8 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008089/12.79, allocations: 162 kB / 4.293 GB, free: 169.7 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001963/12.79, allocations: 171.1 kB / 4.294 GB, free: 169.5 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02073/12.81, allocations: 5.225 MB / 4.299 GB, free: 164.3 MB / 0.8855 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.04709/12.86, allocations: 19.4 MB / 4.318 GB, free: 144.6 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01268/12.87, allocations: 3.609 MB / 4.321 GB, free: 140.9 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006778/12.88, allocations: 1.888 MB / 4.323 GB, free: 139.1 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002882/12.88, allocations: 1.859 MB / 4.325 GB, free: 136.8 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007482/12.89, allocations: 2.038 MB / 4.327 GB, free: 134.7 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=267): time 6.782e-06/12.89, allocations: 0 / 4.327 GB, free: 134.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=267): time 0.02229/12.91, allocations: 5.091 MB / 4.332 GB, free: 129.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001143/12.91, allocations: 295.1 kB / 4.332 GB, free: 129.2 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00824/12.92, allocations: 3.591 MB / 4.336 GB, free: 125.6 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0009575/12.92, allocations: 81.7 kB / 4.336 GB, free: 125.6 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.002428/12.92, allocations: 1.955 MB / 4.338 GB, free: 123.6 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.001628/12.93, allocations: 0.9107 MB / 4.339 GB, free: 122.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003514/12.93, allocations: 60 kB / 4.339 GB, free: 122.6 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002052/12.93, allocations: 424 kB / 4.339 GB, free: 122.2 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00603/12.93, allocations: 1.54 MB / 4.34 GB, free: 120.7 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00672/12.94, allocations: 2.253 MB / 4.343 GB, free: 118.1 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006916/12.95, allocations: 1.893 MB / 4.345 GB, free: 116.2 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.968e-05/12.95, allocations: 11.94 kB / 4.345 GB, free: 116.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=372) (initialization): time 0.01703/12.96, allocations: 4.356 MB / 4.349 GB, free: 111.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003304/12.96, allocations: 0.6034 MB / 4.349 GB, free: 111 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-05/12.96, allocations: 16 kB / 4.349 GB, free: 110.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001046/12.97, allocations: 112.8 kB / 4.35 GB, free: 110.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007773/12.97, allocations: 0.78 MB / 4.35 GB, free: 110 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002992/12.98, allocations: 2.161 MB / 4.352 GB, free: 107.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007952/12.98, allocations: 0.4927 MB / 4.353 GB, free: 107.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008369/12.98, allocations: 143.9 kB / 4.353 GB, free: 107.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/12.98, allocations: 8.719 kB / 4.353 GB, free: 107.1 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01538/13, allocations: 4.034 MB / 4.357 GB, free: 103 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-05/13, allocations: 16 kB / 4.357 GB, free: 103 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009709/13, allocations: 113 kB / 4.357 GB, free: 102.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007185/13.01, allocations: 0.7644 MB / 4.358 GB, free: 102.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002525/13.01, allocations: 1.569 MB / 4.359 GB, free: 100.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007375/13.02, allocations: 473 kB / 4.36 GB, free: 99.94 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008096/13.02, allocations: 147.8 kB / 4.36 GB, free: 99.8 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (370): * Single equations (assignments): 368 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.004366/13.02, allocations: 1.511 MB / 4.361 GB, free: 98.27 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001502/13.03, allocations: 379.4 kB / 4.362 GB, free: 97.9 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01832/13.04, allocations: 4.36 MB / 4.366 GB, free: 93.49 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.886e-05/13.04, allocations: 28 kB / 4.366 GB, free: 93.46 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/13.04, allocations: 3.984 kB / 4.366 GB, free: 93.46 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01343/13.06, allocations: 3.484 MB / 4.369 GB, free: 89.88 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02865/13.09, allocations: 8.902 MB / 4.378 GB, free: 80.91 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.726e-05/13.09, allocations: 3.984 kB / 4.378 GB, free: 80.91 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006959/13.09, allocations: 0.657 MB / 4.379 GB, free: 80.25 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009476/13.09, allocations: 95.06 kB / 4.379 GB, free: 80.16 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008516/13.09, allocations: 87.92 kB / 4.379 GB, free: 80.07 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00272/13.1, allocations: 2.152 MB / 4.381 GB, free: 77.76 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/13.1, allocations: 0 / 4.381 GB, free: 77.76 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02334/13.12, allocations: 5.999 MB / 4.387 GB, free: 71.67 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003943/13.12, allocations: 1.037 MB / 4.388 GB, free: 70.61 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001691/13.13, allocations: 63.88 kB / 4.388 GB, free: 70.55 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007305/13.13, allocations: 331.3 kB / 4.388 GB, free: 70.22 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008363/13.13, allocations: 181.9 kB / 4.388 GB, free: 70.04 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005368/13.14, allocations: 119.9 kB / 4.389 GB, free: 69.93 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.00643/13.14, allocations: 2.526 MB / 4.391 GB, free: 67.42 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7.91e-07/13.14, allocations: 0 / 4.391 GB, free: 67.42 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01195/13.15, allocations: 2.407 MB / 4.393 GB, free: 65.01 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 11 (solCol.vol[1].dynBal.U,solCol.vol[2].dynBal.U,solCol.vol[3].dynBal.U,solCol.vol[4].dynBal.U,solCol.vol[5].dynBal.U,solCol.vol[6].dynBal.U,solCol.vol[7].dynBal.U,solCol.vol[8].dynBal.U,solCol.vol[9].dynBal.U,TOut.T,TIn.T) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (286): * Single equations (assignments): 276 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004669/13.16, allocations: 1.619 MB / 4.395 GB, free: 63.82 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.02327/13.18, allocations: 6.116 MB / 4.401 GB, free: 57.65 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.223e-05/13.18, allocations: 8.625 kB / 4.401 GB, free: 57.64 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.007644/13.19, allocations: 1.95 MB / 4.403 GB, free: 55.68 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01892/13.21, allocations: 2.078 MB / 4.405 GB, free: 53.68 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02948/13.24, allocations: 11.21 MB / 4.416 GB, free: 42.5 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004481/13.24, allocations: 3.037 MB / 4.419 GB, free: 39.43 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0129/13.26, allocations: 2.026 MB / 4.421 GB, free: 37.47 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00277/13.26, allocations: 391.2 kB / 4.421 GB, free: 37.09 MB / 0.8855 GB Notification: Performance of SimCode: time 1.312e-06/13.26, allocations: 0 / 4.421 GB, free: 37.09 MB / 0.8855 GB Notification: Performance of Templates: time 0.9224/14.18, allocations: 89.2 MB / 4.508 GB, free: 173.8 MB / 0.8855 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular.sim & ./Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe 2>&1)