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.604/1.604, allocations: 288.2 MB / 303.2 MB, free: 8.176 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.00135/0.00135, allocations: 193.9 kB / 371.8 MB, free: 10.29 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.655/1.655, allocations: 205.4 MB / 0.6305 GB, free: 10.04 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.001003/0.001003, allocations: 101.1 kB / 0.7439 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005156/0.0005158, allocations: 16.25 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2416/0.2422, allocations: 115.3 MB / 0.9795 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.025/1.267, allocations: 421.7 MB / 1.391 GB, free: 6.68 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002597/1.267, allocations: 97.64 kB / 1.391 GB, free: 6.629 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 9.048/10.32, allocations: 2.281 GB / 3.672 GB, free: 134 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.765e-06/10.32, allocations: 3.656 kB / 3.672 GB, free: 134 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.00207/10.32, allocations: 250.9 kB / 3.672 GB, free: 134 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.04227/10.36, allocations: 9.479 MB / 3.682 GB, free: 130.8 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.218e-05/10.36, allocations: 10.72 kB / 3.682 GB, free: 130.8 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004909/10.36, allocations: 0.7681 MB / 3.682 GB, free: 130.7 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00971/10.37, allocations: 1.232 MB / 3.684 GB, free: 130.2 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03822/10.41, allocations: 12.62 MB / 3.696 GB, free: 128.9 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007094/10.41, allocations: 434.8 kB / 3.696 GB, free: 128.9 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003576/10.42, allocations: 0.5865 MB / 3.697 GB, free: 128.9 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03394/10.45, allocations: 13.63 MB / 3.71 GB, free: 128.1 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00055/10.45, allocations: 24.33 kB / 3.71 GB, free: 128.1 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003474/10.46, allocations: 245.2 kB / 3.71 GB, free: 128.1 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001403/10.46, allocations: 139.2 kB / 3.711 GB, free: 128.1 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03213/10.49, allocations: 18.35 MB / 3.728 GB, free: 128 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.1092/10.6, allocations: 55.48 MB / 3.783 GB, free: 109.3 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01429/10.61, allocations: 8.846 MB / 3.791 GB, free: 109.2 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05455/10.67, allocations: 26.35 MB / 3.817 GB, free: 102 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01164/10.68, allocations: 7.408 MB / 3.824 GB, free: 101.8 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04886/10.73, allocations: 21.17 MB / 3.845 GB, free: 99.11 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=301): time 3.849e-05/10.73, allocations: 0 / 3.845 GB, free: 99.11 MB / 0.9792 GB Notification: Performance of matching and sorting (n=301): time 0.04899/10.78, allocations: 22.55 MB / 3.867 GB, free: 90.64 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.971e-05/10.78, allocations: 86.72 kB / 3.867 GB, free: 90.58 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01692/10.79, allocations: 7.467 MB / 3.874 GB, free: 87.92 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.002588/10.79, allocations: 101.7 kB / 3.874 GB, free: 87.81 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.005283/10.8, allocations: 4.016 MB / 3.878 GB, free: 84.16 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.003317/10.8, allocations: 1.076 MB / 3.879 GB, free: 83.18 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0021/10.81, allocations: 92 kB / 3.879 GB, free: 83.09 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0004375/10.81, allocations: 497.9 kB / 3.88 GB, free: 82.65 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009294/10.82, allocations: 6.18 MB / 3.886 GB, free: 77.57 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01038/10.83, allocations: 8.003 MB / 3.894 GB, free: 69.91 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01067/10.84, allocations: 7.088 MB / 3.901 GB, free: 63.84 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.223e-05/10.84, allocations: 12 kB / 3.901 GB, free: 63.83 MB / 0.9792 GB Notification: Performance of matching and sorting (n=578) (initialization): time 0.03484/10.87, allocations: 16.57 MB / 3.917 GB, free: 48.12 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.005951/10.88, allocations: 25.24 MB / 3.942 GB, free: 20.98 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001444/10.88, allocations: 48 kB / 3.942 GB, free: 20.94 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06641/10.94, allocations: 10.9 MB / 3.952 GB, free: 10.11 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008755/10.95, allocations: 1.603 MB / 3.954 GB, free: 8.574 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008343/10.96, allocations: 6.359 MB / 3.96 GB, free: 2.035 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01242/10.97, allocations: 0.5926 MB / 3.961 GB, free: 1.441 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002884/10.98, allocations: 0.5421 MB / 3.961 GB, free: 0.8984 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/10.98, allocations: 7.953 kB / 3.961 GB, free: 0.8906 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03663/11.01, allocations: 15.91 MB / 3.977 GB, free: 1.23 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002124/11.01, allocations: 49.41 kB / 3.977 GB, free: 1.184 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7409/11.75, allocations: 10.62 MB / 3.987 GB, free: 152.8 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01034/11.76, allocations: 1.592 MB / 3.989 GB, free: 152.8 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01485/11.78, allocations: 10.35 MB / 3.999 GB, free: 148.3 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01303/11.79, allocations: 0.5681 MB / 3.999 GB, free: 148.3 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003618/11.8, allocations: 0.5361 MB / 4 GB, free: 148.3 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.01086/11.81, allocations: 2.639 MB / 4.002 GB, free: 148.1 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004968/11.81, allocations: 0.7507 MB / 4.003 GB, free: 148.1 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03541/11.85, allocations: 13.67 MB / 4.017 GB, free: 147.8 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.373e-05/11.85, allocations: 36.05 kB / 4.017 GB, free: 147.8 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.598e-05/11.85, allocations: 0.7188 kB / 4.017 GB, free: 147.8 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02135/11.87, allocations: 10.27 MB / 4.027 GB, free: 147.4 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05124/11.92, allocations: 23.94 MB / 4.05 GB, free: 144.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.694e-05/11.92, allocations: 3.953 kB / 4.05 GB, free: 144.2 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005464/11.93, allocations: 0.6917 MB / 4.051 GB, free: 144.2 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06356/11.99, allocations: 9.932 MB / 4.06 GB, free: 144.2 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001424/11.99, allocations: 107.4 kB / 4.06 GB, free: 144.2 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004677/12, allocations: 4.326 MB / 4.065 GB, free: 141.4 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/12, allocations: 2.156 kB / 4.065 GB, free: 141.4 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03143/12.03, allocations: 18.53 MB / 4.083 GB, free: 140.9 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008773/12.04, allocations: 1.992 MB / 4.085 GB, free: 140.4 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004047/12.04, allocations: 76.05 kB / 4.085 GB, free: 140.4 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009678/12.05, allocations: 409.3 kB / 4.085 GB, free: 140.4 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001625/12.05, allocations: 223.5 kB / 4.085 GB, free: 140.4 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001485/12.05, allocations: 162 kB / 4.086 GB, free: 140.4 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.01337/12.07, allocations: 5.802 MB / 4.091 GB, free: 140.1 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8.42e-07/12.07, allocations: 0 / 4.091 GB, free: 140.1 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.02823/12.1, allocations: 4.926 MB / 4.096 GB, free: 139.9 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.03788/12.13, allocations: 20.11 MB / 4.116 GB, free: 138.3 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.04727/12.18, allocations: 23.57 MB / 4.139 GB, free: 137.5 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.44e-05/12.18, allocations: 3.312 kB / 4.139 GB, free: 137.5 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.01045/12.19, allocations: 6.196 MB / 4.145 GB, free: 134.5 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02594/12.22, allocations: 4.609 MB / 4.149 GB, free: 133.5 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07647/12.29, allocations: 75.63 MB / 4.223 GB, free: 68.43 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01278/12.31, allocations: 5.358 MB / 4.228 GB, free: 66.9 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.02887/12.34, allocations: 5 MB / 4.233 GB, free: 66.12 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0136/12.35, allocations: 3.811 MB / 4.237 GB, free: 63.4 MB / 0.9948 GB Notification: Performance of SimCode: time 1.002e-06/12.35, allocations: 0 / 4.237 GB, free: 63.4 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.071/13.42, allocations: 292.6 MB / 4.523 GB, free: 141.7 MB / 1.01 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002151/13.42, allocations: 259.4 kB / 4.523 GB, free: 141.3 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.19/25.61, allocations: 0 / 4.523 GB, free: 141.3 MB / 1.01 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)