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.352/1.352, allocations: 251.9 MB / 266.9 MB, free: 11 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.001165/0.001165, allocations: 183.8 kB / 326.5 MB, free: 2.215 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.765/1.765, allocations: 205.4 MB / 0.5775 GB, free: 20.18 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.0009458/0.0009458, allocations: 92.7 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003205/0.0003205, allocations: 11.52 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/0.2296, allocations: 106.3 MB / 0.9001 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9739/1.204, allocations: 415.4 MB / 1.306 GB, free: 15.46 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002655/1.204, allocations: 96.64 kB / 1.306 GB, free: 15.41 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 8.511/9.715, allocations: 2.281 GB / 3.586 GB, free: 120.6 MB / 0.9167 GB Notification: Performance of FrontEnd: time 3.056e-06/9.715, allocations: 0 / 3.586 GB, free: 120.6 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.001546/9.716, allocations: 250.8 kB / 3.587 GB, free: 120.5 MB / 0.9167 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.03675/9.753, allocations: 9.483 MB / 3.596 GB, free: 117.1 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/9.753, allocations: 7.406 kB / 3.596 GB, free: 117.1 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003784/9.757, allocations: 0.7679 MB / 3.597 GB, free: 117 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00803/9.765, allocations: 1.237 MB / 3.598 GB, free: 116.5 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03382/9.799, allocations: 12.62 MB / 3.61 GB, free: 115.2 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005402/9.799, allocations: 436.5 kB / 3.611 GB, free: 115.2 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002999/9.802, allocations: 0.5781 MB / 3.611 GB, free: 115.2 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02781/9.83, allocations: 13.63 MB / 3.625 GB, free: 114.4 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002339/9.83, allocations: 29.55 kB / 3.625 GB, free: 114.4 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002235/9.833, allocations: 238.7 kB / 3.625 GB, free: 114.4 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-05/9.833, allocations: 143 kB / 3.625 GB, free: 114.4 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03157/9.864, allocations: 18.34 MB / 3.643 GB, free: 114.3 MB / 0.9167 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.09461/9.959, allocations: 55.46 MB / 3.697 GB, free: 92.05 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01214/9.971, allocations: 8.867 MB / 3.706 GB, free: 88.29 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04761/10.02, allocations: 26.33 MB / 3.731 GB, free: 69.04 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01128/10.03, allocations: 7.409 MB / 3.739 GB, free: 61.59 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0479/10.08, allocations: 21.17 MB / 3.759 GB, free: 40.53 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=301): time 4.174e-05/10.08, allocations: 0 / 3.759 GB, free: 40.53 MB / 0.9167 GB Notification: Performance of matching and sorting (n=301): time 0.05219/10.13, allocations: 22.55 MB / 3.781 GB, free: 17.89 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.693e-05/10.13, allocations: 81.78 kB / 3.781 GB, free: 17.8 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01502/10.15, allocations: 7.47 MB / 3.789 GB, free: 10.35 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.002596/10.15, allocations: 99.77 kB / 3.789 GB, free: 10.25 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.005325/10.15, allocations: 4.015 MB / 3.793 GB, free: 6.219 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.004103/10.16, allocations: 1.071 MB / 3.794 GB, free: 5.156 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002872/10.16, allocations: 92 kB / 3.794 GB, free: 5.066 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.000548/10.16, allocations: 491.8 kB / 3.794 GB, free: 4.578 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.6526/10.81, allocations: 6.184 MB / 3.8 GB, free: 121.6 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01303/10.83, allocations: 7.998 MB / 3.808 GB, free: 119.4 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0144/10.84, allocations: 7.088 MB / 3.815 GB, free: 119.3 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001233/10.84, allocations: 15 kB / 3.815 GB, free: 119.3 MB / 0.9167 GB Notification: Performance of matching and sorting (n=578) (initialization): time 0.04/10.88, allocations: 16.58 MB / 3.831 GB, free: 119.1 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.004996/10.89, allocations: 25.25 MB / 3.856 GB, free: 92.62 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001759/10.89, allocations: 48.25 kB / 3.856 GB, free: 92.62 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06649/10.95, allocations: 10.9 MB / 3.867 GB, free: 92.58 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008664/10.96, allocations: 1.595 MB / 3.868 GB, free: 92.58 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008262/10.97, allocations: 6.365 MB / 3.874 GB, free: 89.73 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01331/10.98, allocations: 0.5962 MB / 3.875 GB, free: 89.73 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003445/10.99, allocations: 0.5446 MB / 3.876 GB, free: 89.73 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/10.99, allocations: 6.469 kB / 3.876 GB, free: 89.73 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03229/11.02, allocations: 15.91 MB / 3.891 GB, free: 89.44 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002085/11.02, allocations: 46.84 kB / 3.891 GB, free: 89.44 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06459/11.08, allocations: 10.62 MB / 3.901 GB, free: 89.16 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008779/11.09, allocations: 1.595 MB / 3.903 GB, free: 89.15 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01327/11.11, allocations: 10.37 MB / 3.913 GB, free: 84.51 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0124/11.12, allocations: 0.5742 MB / 3.914 GB, free: 84.47 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003117/11.12, allocations: 0.5366 MB / 3.914 GB, free: 84.47 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 () * 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.009324/11.13, allocations: 2.634 MB / 3.917 GB, free: 84.28 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003926/11.14, allocations: 0.7486 MB / 3.918 GB, free: 84.28 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02762/11.16, allocations: 13.67 MB / 3.931 GB, free: 83.8 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.893e-05/11.16, allocations: 35.84 kB / 3.931 GB, free: 83.8 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/11.16, allocations: 0 / 3.931 GB, free: 83.8 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01475/11.18, allocations: 10.26 MB / 3.941 GB, free: 83.29 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0444/11.22, allocations: 23.94 MB / 3.964 GB, free: 80.11 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.514e-05/11.22, allocations: 0 / 3.964 GB, free: 80.11 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005113/11.23, allocations: 0.7026 MB / 3.965 GB, free: 80.09 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06435/11.29, allocations: 9.931 MB / 3.975 GB, free: 79.34 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001222/11.29, allocations: 101.9 kB / 3.975 GB, free: 79.34 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004107/11.3, allocations: 4.334 MB / 3.979 GB, free: 76.49 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/11.3, allocations: 0 / 3.979 GB, free: 76.49 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02772/11.32, allocations: 18.51 MB / 3.997 GB, free: 74.42 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00852/11.33, allocations: 1.993 MB / 3.999 GB, free: 73.52 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0035/11.34, allocations: 78.94 kB / 3.999 GB, free: 73.47 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008833/11.35, allocations: 417.7 kB / 4 GB, free: 73.37 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001513/11.35, allocations: 219.7 kB / 4 GB, free: 73.34 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008219/11.35, allocations: 157.4 kB / 4 GB, free: 73.31 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.01092/11.36, allocations: 5.81 MB / 4.006 GB, free: 71.5 MB / 0.9167 GB Notification: Performance of sort global known variables: time 4.41e-07/11.36, allocations: 0 / 4.006 GB, free: 71.5 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.02499/11.38, allocations: 4.923 MB / 4.01 GB, free: 71.04 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) * 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.02893/11.41, allocations: 20.12 MB / 4.03 GB, free: 61.18 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.03691/11.45, allocations: 23.58 MB / 4.053 GB, free: 49.32 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.226e-05/11.45, allocations: 4 kB / 4.053 GB, free: 49.32 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.009131/11.46, allocations: 6.19 MB / 4.059 GB, free: 43.78 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02393/11.48, allocations: 4.604 MB / 4.064 GB, free: 40.48 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07588/11.56, allocations: 75.6 MB / 4.137 GB, free: 12.39 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00813/11.57, allocations: 5.365 MB / 4.143 GB, free: 8.488 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.02341/11.59, allocations: 4.934 MB / 4.148 GB, free: 4.609 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01131/11.6, allocations: 3.812 MB / 4.151 GB, free: 1.266 MB / 0.9636 GB Notification: Performance of SimCode: time 1.232e-06/11.6, allocations: 0 / 4.151 GB, free: 1.266 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.057/12.66, allocations: 292.6 MB / 4.437 GB, free: 36.64 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001626/12.66, allocations: 251.6 kB / 4.437 GB, free: 36.3 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.13/24.79, allocations: 0 / 4.437 GB, free: 36.3 MB / 0.9636 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)