Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example1v2,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example1v2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example1v2,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.424/1.424, allocations: 249.5 MB / 257 MB, free: 7.008 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001159/0.001159, allocations: 180.8 kB / 316.3 MB, free: 3.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.523/1.523, allocations: 205.3 MB / 0.5671 GB, free: 15.86 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.001041/0.001041, allocations: 87.61 kB / 0.6714 GB, free: 4.984 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.389e-05/2.399e-05, allocations: 0 / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2044/0.2044, allocations: 106.3 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.536/1.74, allocations: 415.6 MB / 1.291 GB, free: 256.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002162/1.741, allocations: 91.52 kB / 1.291 GB, free: 256.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 8.055/9.796, allocations: 2.26 GB / 3.552 GB, free: 76.93 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.883e-06/9.796, allocations: 0 / 3.552 GB, free: 76.93 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.001587/9.797, allocations: 252.7 kB / 3.552 GB, free: 76.88 MB / 0.9011 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.02683/9.824, allocations: 7.31 MB / 3.559 GB, free: 72.17 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/9.824, allocations: 7.844 kB / 3.559 GB, free: 72.17 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008336/9.833, allocations: 1.226 MB / 3.56 GB, free: 71.39 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03095/9.864, allocations: 12.54 MB / 3.573 GB, free: 59.01 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003902/9.864, allocations: 181.2 kB / 3.573 GB, free: 58.84 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002734/9.867, allocations: 355.9 kB / 3.573 GB, free: 58.49 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02406/9.891, allocations: 17.76 MB / 3.59 GB, free: 40.72 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02879/9.92, allocations: 12.54 MB / 3.603 GB, free: 27.92 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004639/9.92, allocations: 27.78 kB / 3.603 GB, free: 27.89 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003057/9.923, allocations: 12 kB / 3.603 GB, free: 27.88 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001114/9.923, allocations: 140 kB / 3.603 GB, free: 27.74 MB / 0.9011 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.7354/10.66, allocations: 54.56 MB / 3.656 GB, free: 102.9 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01383/10.67, allocations: 8.638 MB / 3.665 GB, free: 102.9 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01413/10.69, allocations: 9.197 MB / 3.673 GB, free: 102.7 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05435/10.74, allocations: 26.28 MB / 3.699 GB, free: 95.56 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01167/10.75, allocations: 7.209 MB / 3.706 GB, free: 95.46 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.05174/10.8, allocations: 21.04 MB / 3.727 GB, free: 95.11 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=301): time 6.439e-05/10.81, allocations: 0 / 3.727 GB, free: 95.11 MB / 0.9167 GB Notification: Performance of matching and sorting (n=301): time 0.03755/10.84, allocations: 15.05 MB / 3.741 GB, free: 94.83 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.888e-05/10.84, allocations: 84.47 kB / 3.742 GB, free: 94.76 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01427/10.86, allocations: 6.391 MB / 3.748 GB, free: 94.38 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.002339/10.86, allocations: 32.92 kB / 3.748 GB, free: 94.35 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.004672/10.86, allocations: 3.998 MB / 3.752 GB, free: 93.39 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.003147/10.87, allocations: 1.047 MB / 3.753 GB, free: 92.86 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001872/10.87, allocations: 4 kB / 3.753 GB, free: 92.86 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0004124/10.87, allocations: 492.9 kB / 3.753 GB, free: 92.54 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008542/10.88, allocations: 6.026 MB / 3.759 GB, free: 92.53 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009485/10.89, allocations: 7.799 MB / 3.767 GB, free: 90.29 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01505/10.9, allocations: 7.545 MB / 3.774 GB, free: 90.13 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.004e-05/10.9, allocations: 13.03 kB / 3.774 GB, free: 90.13 MB / 0.9167 GB Notification: Performance of matching and sorting (n=578) (initialization): time 0.03811/10.94, allocations: 16.56 MB / 3.79 GB, free: 89.51 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.005143/10.95, allocations: 24.55 MB / 3.814 GB, free: 63.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001368/10.95, allocations: 46.41 kB / 3.814 GB, free: 63.7 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004085/10.95, allocations: 1.552 MB / 3.816 GB, free: 63.59 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008986/10.96, allocations: 1.617 MB / 3.817 GB, free: 63.58 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01289/10.97, allocations: 6.956 MB / 3.824 GB, free: 60.58 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.012/10.98, allocations: 0.5054 MB / 3.825 GB, free: 60.5 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003109/10.99, allocations: 0.5415 MB / 3.825 GB, free: 60.5 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/10.99, allocations: 3.188 kB / 3.825 GB, free: 60.5 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03371/11.02, allocations: 15.74 MB / 3.841 GB, free: 60.12 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002281/11.02, allocations: 49.22 kB / 3.841 GB, free: 60.12 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003736/11.03, allocations: 1.414 MB / 3.842 GB, free: 60.02 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008813/11.03, allocations: 1.597 MB / 3.844 GB, free: 60.02 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01746/11.05, allocations: 10.51 MB / 3.854 GB, free: 55.37 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0139/11.07, allocations: 483.7 kB / 3.854 GB, free: 55.3 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00313/11.07, allocations: 0.5387 MB / 3.855 GB, free: 55.3 MB / 0.9167 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.005186/11.07, allocations: 263 kB / 3.855 GB, free: 55.19 MB / 0.9167 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03758/11.11, allocations: 14.88 MB / 3.87 GB, free: 54.57 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005147/11.12, allocations: 0.6945 MB / 3.87 GB, free: 54.2 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03561/11.15, allocations: 13.75 MB / 3.884 GB, free: 51.69 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.638e-05/11.15, allocations: 34.97 kB / 3.884 GB, free: 51.69 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.266e-05/11.15, allocations: 11.61 kB / 3.884 GB, free: 51.68 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0199/11.17, allocations: 10.45 MB / 3.894 GB, free: 46.97 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05151/11.22, allocations: 23.48 MB / 3.917 GB, free: 35.79 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.855e-05/11.22, allocations: 6.406 kB / 3.917 GB, free: 35.78 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005615/11.23, allocations: 0.7028 MB / 3.918 GB, free: 35.73 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001984/11.23, allocations: 0.6999 MB / 3.918 GB, free: 35.57 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001236/11.23, allocations: 63.2 kB / 3.918 GB, free: 35.56 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008509/11.24, allocations: 5.016 MB / 3.923 GB, free: 32.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.396e-06/11.24, allocations: 0 / 3.923 GB, free: 32.1 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03275/11.27, allocations: 18.46 MB / 3.941 GB, free: 17 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007696/11.28, allocations: 1.93 MB / 3.943 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003832/11.29, allocations: 19.17 kB / 3.943 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009595/11.3, allocations: 357 kB / 3.943 GB, free: 15.15 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001376/11.3, allocations: 228.6 kB / 3.944 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0013/11.3, allocations: 157.6 kB / 3.944 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.01018/11.31, allocations: 4.848 MB / 3.949 GB, free: 10.84 MB / 0.9167 GB Notification: Performance of sort global known variables: time 4.61e-07/11.31, allocations: 0 / 3.949 GB, free: 10.84 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0292/11.34, allocations: 5.014 MB / 3.953 GB, free: 6.129 MB / 0.9167 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.05627/11.39, allocations: 21.26 MB / 3.974 GB, free: 7.672 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0561/11.45, allocations: 24.08 MB / 3.998 GB, free: 6.605 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.591e-05/11.45, allocations: 3.781 kB / 3.998 GB, free: 6.602 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.01138/11.46, allocations: 6.001 MB / 4.004 GB, free: 1.039 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.6555/12.12, allocations: 4.142 MB / 4.008 GB, free: 136.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05078/12.17, allocations: 18.98 MB / 4.026 GB, free: 133.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009196/12.18, allocations: 5.373 MB / 4.031 GB, free: 133.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0342/12.21, allocations: 7.25 MB / 4.039 GB, free: 133 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01031/12.22, allocations: 3.664 MB / 4.042 GB, free: 133 MB / 0.948 GB Notification: Performance of SimCode: time 1.072e-06/12.22, allocations: 0 / 4.042 GB, free: 133 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.387/12.61, allocations: 266.3 MB / 4.302 GB, free: 21.61 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001533/12.61, allocations: 187.3 kB / 4.302 GB, free: 21.41 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.5/23.11, allocations: 0 / 4.302 GB, free: 21.41 MB / 0.948 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example1v2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example1v2.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v2.pipe 2>&1)