Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example1v2,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example1v2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example1v2,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example1v2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.897/2.897, allocations: 287.3 MB / 302.3 MB, free: 8.402 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001569/0.001569, allocations: 179.6 kB / 370.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.108/2.108, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00118/0.001179, allocations: 92.73 kB / 0.7428 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004823/0.0004823, allocations: 16.34 kB / 0.8657 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2239/0.2245, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.423/1.647, allocations: 421.5 MB / 1.39 GB, free: 7.699 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003206/1.648, allocations: 99.23 kB / 1.39 GB, free: 7.648 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 12.71/14.36, allocations: 2.281 GB / 3.671 GB, free: 134.5 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.875e-06/14.36, allocations: 6.625 kB / 3.671 GB, free: 134.5 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.002063/14.36, allocations: 251.8 kB / 3.671 GB, free: 134.4 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1418 * Number of variables: 1418 Notification: Performance of Generate backend data structure: time 0.05461/14.42, allocations: 9.48 MB / 3.68 GB, free: 131.2 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/14.42, allocations: 14.62 kB / 3.68 GB, free: 131.2 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004723/14.42, allocations: 0.769 MB / 3.681 GB, free: 131.2 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01105/14.43, allocations: 1.23 MB / 3.682 GB, free: 130.7 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04951/14.48, allocations: 12.61 MB / 3.694 GB, free: 129.4 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000746/14.48, allocations: 445.7 kB / 3.695 GB, free: 129.4 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003982/14.49, allocations: 0.5841 MB / 3.695 GB, free: 129.4 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04178/14.53, allocations: 13.63 MB / 3.709 GB, free: 128.5 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004811/14.53, allocations: 24.06 kB / 3.709 GB, free: 128.5 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003786/14.53, allocations: 240.1 kB / 3.709 GB, free: 128.5 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001408/14.53, allocations: 142.9 kB / 3.709 GB, free: 128.5 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04454/14.58, allocations: 18.35 MB / 3.727 GB, free: 128.5 MB / 0.9792 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.1439/14.72, allocations: 55.48 MB / 3.781 GB, free: 109.8 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01972/14.74, allocations: 8.835 MB / 3.79 GB, free: 109.7 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07677/14.82, allocations: 26.35 MB / 3.816 GB, free: 102.4 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01744/14.84, allocations: 7.411 MB / 3.823 GB, free: 102.3 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.09197/14.93, allocations: 21.17 MB / 3.844 GB, free: 100.2 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=301): time 3.074e-05/14.93, allocations: 0 / 3.844 GB, free: 100.2 MB / 0.9792 GB Notification: Performance of matching and sorting (n=301): time 0.07892/15.01, allocations: 22.55 MB / 3.866 GB, free: 92.46 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.155e-05/15.01, allocations: 89.53 kB / 3.866 GB, free: 92.39 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01976/15.03, allocations: 7.47 MB / 3.873 GB, free: 90.08 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.002631/15.03, allocations: 96.05 kB / 3.873 GB, free: 90 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.005747/15.04, allocations: 4.019 MB / 3.877 GB, free: 86.9 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.003495/15.04, allocations: 1.081 MB / 3.878 GB, free: 86.07 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001875/15.04, allocations: 90.91 kB / 3.878 GB, free: 86 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0004329/15.04, allocations: 492.1 kB / 3.879 GB, free: 85.62 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01536/15.06, allocations: 6.186 MB / 3.885 GB, free: 81.18 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01694/15.07, allocations: 7.999 MB / 3.892 GB, free: 73.53 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01695/15.09, allocations: 7.088 MB / 3.899 GB, free: 67.46 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.209e-05/15.09, allocations: 12 kB / 3.899 GB, free: 67.45 MB / 0.9792 GB Notification: Performance of matching and sorting (n=578) (initialization): time 0.05125/15.14, allocations: 16.57 MB / 3.916 GB, free: 53.55 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.00566/15.15, allocations: 25.25 MB / 3.94 GB, free: 26.41 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002157/15.15, allocations: 51.62 kB / 3.94 GB, free: 26.36 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1338/15.28, allocations: 10.9 MB / 3.951 GB, free: 15.54 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01593/15.3, allocations: 1.61 MB / 3.952 GB, free: 13.99 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01568/15.31, allocations: 6.365 MB / 3.959 GB, free: 7.445 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01905/15.33, allocations: 0.5982 MB / 3.959 GB, free: 6.848 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003299/15.34, allocations: 0.5421 MB / 3.96 GB, free: 6.305 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/15.34, allocations: 4 kB / 3.96 GB, free: 6.301 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05268/15.39, allocations: 15.91 MB / 3.975 GB, free: 6.645 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000232/15.39, allocations: 51.66 kB / 3.975 GB, free: 6.598 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.9452/16.33, allocations: 10.62 MB / 3.986 GB, free: 154.6 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01767/16.35, allocations: 1.596 MB / 3.987 GB, free: 154.6 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02629/16.38, allocations: 10.36 MB / 3.997 GB, free: 150.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0186/16.4, allocations: 0.5704 MB / 3.998 GB, free: 150.1 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003645/16.4, allocations: 0.5313 MB / 3.999 GB, free: 150.1 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 215 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (526): * Single equations (assignments): 520 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 3,2 5,20 21} Notification: Performance of prepare postOptimizeDAE: time 0.0117/16.41, allocations: 2.637 MB / 4.001 GB, free: 149.9 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005331/16.42, allocations: 0.7535 MB / 4.002 GB, free: 149.9 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04915/16.47, allocations: 13.66 MB / 4.015 GB, free: 149.7 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.491e-05/16.47, allocations: 33.38 kB / 4.015 GB, free: 149.7 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.495e-05/16.47, allocations: 6.203 kB / 4.015 GB, free: 149.7 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03073/16.5, allocations: 10.25 MB / 4.025 GB, free: 149.2 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06751/16.57, allocations: 23.96 MB / 4.049 GB, free: 146 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.871e-05/16.57, allocations: 1.781 kB / 4.049 GB, free: 146 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00993/16.58, allocations: 0.6949 MB / 4.049 GB, free: 146 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1293/16.7, allocations: 9.936 MB / 4.059 GB, free: 146 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001538/16.71, allocations: 104 kB / 4.059 GB, free: 146 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007636/16.71, allocations: 4.321 MB / 4.063 GB, free: 143.2 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.994e-06/16.71, allocations: 9.328 kB / 4.063 GB, free: 143.2 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04759/16.76, allocations: 18.52 MB / 4.081 GB, free: 142.7 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00927/16.77, allocations: 1.986 MB / 4.083 GB, free: 142.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004192/16.78, allocations: 73.03 kB / 4.083 GB, free: 142.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01315/16.79, allocations: 419.5 kB / 4.084 GB, free: 142.2 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001927/16.79, allocations: 220.1 kB / 4.084 GB, free: 142.2 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001217/16.79, allocations: 163.9 kB / 4.084 GB, free: 142.2 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.01574/16.81, allocations: 5.81 MB / 4.09 GB, free: 141.9 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7.41e-07/16.81, allocations: 0 / 4.09 GB, free: 141.9 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0306/16.84, allocations: 4.929 MB / 4.095 GB, free: 141.7 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 22 (pump.vol.dynBal.U,hea.outCon.T,vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U,vol[4].dynBal.U,vol[5].dynBal.U,vol[6].dynBal.U,vol[7].dynBal.U,vol[8].dynBal.U,vol[9].dynBal.U,vol[10].dynBal.U,vol[11].dynBal.U,vol[12].dynBal.U,vol[13].dynBal.U,vol[14].dynBal.U,vol[15].dynBal.U,vol[16].dynBal.U,vol[17].dynBal.U,vol[18].dynBal.U,vol[19].dynBal.U,vol[20].dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (305): * Single equations (assignments): 295 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 3,20 21,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.05117/16.89, allocations: 20.1 MB / 4.114 GB, free: 140.2 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.06233/16.95, allocations: 23.57 MB / 4.137 GB, free: 139.1 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.572e-05/16.95, allocations: 5.125 kB / 4.137 GB, free: 139.1 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.01576/16.97, allocations: 6.19 MB / 4.143 GB, free: 136.1 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03745/17, allocations: 4.607 MB / 4.148 GB, free: 135.4 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08456/17.09, allocations: 75.63 MB / 4.222 GB, free: 70.47 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01094/17.1, allocations: 5.358 MB / 4.227 GB, free: 68.93 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.03424/17.13, allocations: 5.006 MB / 4.232 GB, free: 68.18 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01577/17.15, allocations: 3.804 MB / 4.236 GB, free: 65.46 MB / 0.9948 GB Notification: Performance of SimCode: time 1.312e-06/17.15, allocations: 5.297 kB / 4.236 GB, free: 65.46 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.449/18.6, allocations: 292.6 MB / 4.521 GB, free: 141.9 MB / 1.01 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002412/18.6, allocations: 243.9 kB / 4.521 GB, free: 141.6 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.89/32.49, allocations: 3.938 kB / 4.521 GB, free: 141.6 MB / 1.01 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v2.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example1v2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example1v2.fmu > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v2.pipe 2>&1)