Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example1v2,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_Example1v2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example1v2,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.629/1.629, allocations: 285.6 MB / 293.1 MB, free: 10.18 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.001107/0.001107, allocations: 172.9 kB / 361.4 MB, free: 6.828 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.591/1.591, allocations: 205.3 MB / 0.62 GB, free: 11.65 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000823/0.000823, allocations: 91.58 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.167e-05/3.169e-05, allocations: 4 kB / 0.8518 GB, free: 2.641 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6926/0.6926, allocations: 115.3 MB / 0.9644 GB, free: 78.73 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.055/1.747, allocations: 421 MB / 1.376 GB, free: 145.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000333/1.748, allocations: 90.58 kB / 1.376 GB, free: 145.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 8.895/10.64, allocations: 2.261 GB / 3.636 GB, free: 105.7 MB / 0.9636 GB Notification: Performance of FrontEnd: time 3.526e-06/10.64, allocations: 0 / 3.636 GB, free: 105.7 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.002087/10.65, allocations: 257.2 kB / 3.636 GB, free: 105.6 MB / 0.9636 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.03192/10.68, allocations: 7.315 MB / 3.644 GB, free: 102.5 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.717e-05/10.68, allocations: 11.12 kB / 3.644 GB, free: 102.5 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009314/10.69, allocations: 1.23 MB / 3.645 GB, free: 102 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03332/10.72, allocations: 12.53 MB / 3.657 GB, free: 98.19 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004065/10.72, allocations: 179.3 kB / 3.657 GB, free: 98.19 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002767/10.72, allocations: 353.1 kB / 3.657 GB, free: 98.18 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02612/10.75, allocations: 17.77 MB / 3.675 GB, free: 91.15 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03006/10.78, allocations: 12.54 MB / 3.687 GB, free: 83.54 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005797/10.78, allocations: 30.89 kB / 3.687 GB, free: 83.52 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003607/10.78, allocations: 12.95 kB / 3.687 GB, free: 83.52 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001116/10.78, allocations: 138.8 kB / 3.687 GB, free: 83.52 MB / 0.9636 GB Warning: The model contains alias variables with conflicting start and/or 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.09873/10.88, allocations: 54.56 MB / 3.741 GB, free: 29.24 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01056/10.89, allocations: 8.64 MB / 3.749 GB, free: 20.59 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01056/10.9, allocations: 9.202 MB / 3.758 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0521/10.96, allocations: 26.27 MB / 3.784 GB, free: 0.8086 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.7999/11.76, allocations: 7.205 MB / 3.791 GB, free: 130.5 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.05362/11.81, allocations: 21.05 MB / 3.811 GB, free: 130.3 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=301): time 3.938e-05/11.81, allocations: 0 / 3.811 GB, free: 130.3 MB / 0.9792 GB Notification: Performance of matching and sorting (n=301): time 0.03416/11.84, allocations: 15.03 MB / 3.826 GB, free: 130 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.197e-05/11.84, allocations: 85.84 kB / 3.826 GB, free: 129.9 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0129/11.86, allocations: 6.397 MB / 3.832 GB, free: 129.6 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.00254/11.86, allocations: 33.2 kB / 3.832 GB, free: 129.6 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.004564/11.86, allocations: 3.991 MB / 3.836 GB, free: 128.8 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.003534/11.87, allocations: 1.047 MB / 3.837 GB, free: 128.2 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009964/11.87, allocations: 0.9062 kB / 3.837 GB, free: 128.2 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0004043/11.87, allocations: 499 kB / 3.838 GB, free: 127.9 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009719/11.88, allocations: 6.023 MB / 3.844 GB, free: 127.9 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01365/11.89, allocations: 7.798 MB / 3.851 GB, free: 125.7 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01754/11.91, allocations: 7.545 MB / 3.859 GB, free: 125.5 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001177/11.91, allocations: 13.72 kB / 3.859 GB, free: 125.5 MB / 0.9792 GB Notification: Performance of matching and sorting (n=578) (initialization): time 0.03782/11.95, allocations: 16.58 MB / 3.875 GB, free: 124.9 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.005514/11.95, allocations: 24.55 MB / 3.899 GB, free: 99.09 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001975/11.95, allocations: 48.06 kB / 3.899 GB, free: 99.09 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00431/11.96, allocations: 1.547 MB / 3.9 GB, free: 98.98 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009062/11.97, allocations: 1.611 MB / 3.902 GB, free: 98.98 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01236/11.98, allocations: 6.938 MB / 3.909 GB, free: 95.99 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01233/11.99, allocations: 0.4966 MB / 3.909 GB, free: 95.92 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002982/11.99, allocations: 0.5501 MB / 3.91 GB, free: 95.92 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/11.99, allocations: 3.969 kB / 3.91 GB, free: 95.92 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03059/12.03, allocations: 15.75 MB / 3.925 GB, free: 95.55 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001615/12.03, allocations: 50.59 kB / 3.925 GB, free: 95.55 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00357/12.03, allocations: 1.42 MB / 3.926 GB, free: 95.45 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008562/12.04, allocations: 1.594 MB / 3.928 GB, free: 95.44 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01584/12.05, allocations: 10.52 MB / 3.938 GB, free: 90.82 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01159/12.07, allocations: 494.4 kB / 3.939 GB, free: 90.74 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003619/12.07, allocations: 0.5386 MB / 3.939 GB, free: 90.74 MB / 0.9792 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 () * 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.00324/12.07, allocations: 251.3 kB / 3.94 GB, free: 90.63 MB / 0.9792 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03485/12.11, allocations: 14.88 MB / 3.954 GB, free: 90 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004815/12.11, allocations: 0.6907 MB / 3.955 GB, free: 89.64 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03281/12.14, allocations: 13.76 MB / 3.968 GB, free: 89.11 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.426e-05/12.14, allocations: 39.64 kB / 3.968 GB, free: 89.1 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/12.14, allocations: 0 / 3.968 GB, free: 89.1 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01781/12.16, allocations: 10.46 MB / 3.978 GB, free: 88.56 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04137/12.2, allocations: 23.48 MB / 4.001 GB, free: 80.82 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.429e-05/12.2, allocations: 0 / 4.001 GB, free: 80.82 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005373/12.21, allocations: 0.7061 MB / 4.002 GB, free: 80.79 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001715/12.21, allocations: 0.7021 MB / 4.003 GB, free: 80.62 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008993/12.21, allocations: 69.92 kB / 4.003 GB, free: 80.6 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007854/12.22, allocations: 5 MB / 4.008 GB, free: 77.14 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.161e-06/12.22, allocations: 7.594 kB / 4.008 GB, free: 77.13 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02902/12.25, allocations: 18.46 MB / 4.026 GB, free: 68.41 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007502/12.26, allocations: 1.934 MB / 4.028 GB, free: 67.55 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003156/12.26, allocations: 18.62 kB / 4.028 GB, free: 67.54 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008412/12.27, allocations: 357.1 kB / 4.028 GB, free: 67.49 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001097/12.27, allocations: 222.8 kB / 4.028 GB, free: 67.46 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007068/12.27, allocations: 158.8 kB / 4.028 GB, free: 67.43 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.01072/12.28, allocations: 4.849 MB / 4.033 GB, free: 65.82 MB / 0.9792 GB Notification: Performance of sort global known variables: time 8.41e-07/12.28, allocations: 0 / 4.033 GB, free: 65.82 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.02786/12.31, allocations: 5.019 MB / 4.038 GB, free: 65.49 MB / 0.9792 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) * 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.03413/12.34, allocations: 19.97 MB / 4.057 GB, free: 55.99 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.04197/12.39, allocations: 23.05 MB / 4.08 GB, free: 39.64 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.428e-05/12.39, allocations: 4 kB / 4.08 GB, free: 39.64 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.009665/12.39, allocations: 6.005 MB / 4.086 GB, free: 34.08 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02642/12.42, allocations: 4 MB / 4.09 GB, free: 31.25 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04357/12.46, allocations: 18.99 MB / 4.108 GB, free: 15.11 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004481/12.47, allocations: 5.369 MB / 4.114 GB, free: 11.2 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.03049/12.5, allocations: 7.256 MB / 4.121 GB, free: 5.996 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01013/12.51, allocations: 3.665 MB / 4.124 GB, free: 2.785 MB / 0.9792 GB Notification: Performance of SimCode: time 1.292e-06/12.51, allocations: 0 / 4.124 GB, free: 2.785 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.164/13.67, allocations: 266.4 MB / 4.384 GB, free: 91.2 MB / 0.9948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001532/13.67, allocations: 172.2 kB / 4.384 GB, free: 91.01 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/25.27, allocations: 0 / 4.384 GB, free: 91.01 MB / 0.9948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v2.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_Example1v2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_Example1v2.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v2.pipe 2>&1)