Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example3.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.Example3,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_Example3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example3,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_Example3",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.556/1.556, allocations: 285.4 MB / 298 MB, free: 5.969 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.001056/0.001056, allocations: 176.9 kB / 366.4 MB, free: 2.094 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.365/1.365, allocations: 205.1 MB / 0.6248 GB, free: 7.75 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.0008035/0.0008034, allocations: 104 kB / 0.738 GB, free: 40.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.676e-05/3.692e-05, allocations: 4 kB / 0.8584 GB, free: 13.02 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.732/0.7321, allocations: 115.3 MB / 0.971 GB, free: 77.86 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.039/1.771, allocations: 404.2 MB / 1.366 GB, free: 155 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000227/1.771, allocations: 94.52 kB / 1.366 GB, free: 155 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.55/4.322, allocations: 0.6864 GB / 2.052 GB, free: 192.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.366e-06/4.322, allocations: 0 / 2.052 GB, free: 192.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002769/4.322, allocations: 52.77 kB / 2.052 GB, free: 192.7 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.005732/4.328, allocations: 1.855 MB / 2.054 GB, free: 191.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.307e-05/4.328, allocations: 9.938 kB / 2.054 GB, free: 191.9 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002467/4.328, allocations: 146 kB / 2.054 GB, free: 191.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001538/4.33, allocations: 287.4 kB / 2.055 GB, free: 191.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005819/4.335, allocations: 2.519 MB / 2.057 GB, free: 191.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.457e-05/4.335, allocations: 80.66 kB / 2.057 GB, free: 191.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001528/4.336, allocations: 105.9 kB / 2.057 GB, free: 191.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001733/4.337, allocations: 1.2 MB / 2.058 GB, free: 191.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.657e-05/4.337, allocations: 3.281 kB / 2.058 GB, free: 191.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.29e-05/4.338, allocations: 44.22 kB / 2.058 GB, free: 191.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.962e-05/4.338, allocations: 23.09 kB / 2.058 GB, free: 191.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001261/4.339, allocations: 0.8784 MB / 2.059 GB, free: 191.2 MB / 0.948 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.006752/4.346, allocations: 6.622 MB / 2.066 GB, free: 187.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007895/4.346, allocations: 0.5489 MB / 2.066 GB, free: 187.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004369/4.347, allocations: 361.3 kB / 2.067 GB, free: 187.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00247/4.349, allocations: 1.623 MB / 2.068 GB, free: 186.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004688/4.35, allocations: 338.3 kB / 2.069 GB, free: 186.4 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006391/4.35, allocations: 129 kB / 2.069 GB, free: 186.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=47): time 2.575e-06/4.35, allocations: 0 / 2.069 GB, free: 186.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=47): time 0.001225/4.352, allocations: 0.7733 MB / 2.069 GB, free: 186.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.245e-05/4.352, allocations: 58.91 kB / 2.069 GB, free: 186.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001704/4.353, allocations: 1.543 MB / 2.071 GB, free: 186 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.638e-05/4.354, allocations: 42.98 kB / 2.071 GB, free: 186 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005581/4.354, allocations: 0.8456 MB / 2.072 GB, free: 185.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001103/4.354, allocations: 161.3 kB / 2.072 GB, free: 185.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.725e-05/4.354, allocations: 18.59 kB / 2.072 GB, free: 185.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.014e-05/4.354, allocations: 337.1 kB / 2.072 GB, free: 185.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003364/4.355, allocations: 247.2 kB / 2.073 GB, free: 185.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005366/4.355, allocations: 0.6907 MB / 2.073 GB, free: 184.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004677/4.356, allocations: 388.9 kB / 2.074 GB, free: 184.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/4.356, allocations: 8.031 kB / 2.074 GB, free: 184.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001564/4.357, allocations: 1.144 MB / 2.075 GB, free: 184.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008372/4.358, allocations: 4.128 MB / 2.079 GB, free: 180.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/4.358, allocations: 17.09 kB / 2.079 GB, free: 180.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003465/4.359, allocations: 130.6 kB / 2.079 GB, free: 180.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006067/4.359, allocations: 174.1 kB / 2.079 GB, free: 180.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005372/4.36, allocations: 0.7574 MB / 2.08 GB, free: 179.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001285/4.361, allocations: 103.7 kB / 2.08 GB, free: 179.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.305e-05/4.361, allocations: 52.89 kB / 2.08 GB, free: 179.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/4.361, allocations: 4.719 kB / 2.08 GB, free: 179.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001359/4.362, allocations: 1.007 MB / 2.081 GB, free: 179.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/4.362, allocations: 11.41 kB / 2.081 GB, free: 179.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001874/4.363, allocations: 123.6 kB / 2.081 GB, free: 179.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005224/4.363, allocations: 165 kB / 2.081 GB, free: 179.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001755/4.365, allocations: 2.118 MB / 2.083 GB, free: 178.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001127/4.366, allocations: 96.03 kB / 2.083 GB, free: 178.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.678e-05/4.366, allocations: 50.25 kB / 2.083 GB, free: 178.2 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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,mergeDp.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 82 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002094/4.366, allocations: 162.9 kB / 2.084 GB, free: 178.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001907/4.367, allocations: 182.3 kB / 2.084 GB, free: 178 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00169/4.368, allocations: 0.9429 MB / 2.085 GB, free: 177.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/4.368, allocations: 11.55 kB / 2.085 GB, free: 177.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/4.368, allocations: 0 / 2.085 GB, free: 177.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009523/4.369, allocations: 0.8931 MB / 2.086 GB, free: 177.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003373/4.373, allocations: 2.119 MB / 2.088 GB, free: 177 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/4.373, allocations: 0 / 2.088 GB, free: 177 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004167/4.373, allocations: 87.8 kB / 2.088 GB, free: 177 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002678/4.373, allocations: 118.6 kB / 2.088 GB, free: 177 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.146e-05/4.373, allocations: 17.86 kB / 2.088 GB, free: 177 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004377/4.374, allocations: 0.7357 MB / 2.089 GB, free: 176.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/4.374, allocations: 0 / 2.089 GB, free: 176.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001586/4.376, allocations: 1.31 MB / 2.09 GB, free: 176.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006605/4.376, allocations: 317 kB / 2.09 GB, free: 176 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003543/4.377, allocations: 11.59 kB / 2.09 GB, free: 176 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009371/4.377, allocations: 82.06 kB / 2.09 GB, free: 176 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/4.378, allocations: 40.78 kB / 2.09 GB, free: 176 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.713e-05/4.378, allocations: 22.08 kB / 2.09 GB, free: 176 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001656/4.379, allocations: 1.211 MB / 2.091 GB, free: 175.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.1e-07/4.379, allocations: 0 / 2.091 GB, free: 175.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00313/4.382, allocations: 0.8661 MB / 2.092 GB, free: 175.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump.vol.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 (41): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.003499/4.386, allocations: 2.633 MB / 2.095 GB, free: 174.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002249/4.388, allocations: 1.414 MB / 2.096 GB, free: 174.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/4.388, allocations: 0 / 2.096 GB, free: 174.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004865/4.389, allocations: 315.6 kB / 2.097 GB, free: 174.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003353/4.392, allocations: 0.7316 MB / 2.097 GB, free: 174.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005755/4.398, allocations: 2.742 MB / 2.1 GB, free: 173.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001057/4.399, allocations: 1.534 MB / 2.101 GB, free: 173 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003028/4.402, allocations: 0.8903 MB / 2.102 GB, free: 173 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007632/4.403, allocations: 0.6154 MB / 2.103 GB, free: 173 MB / 0.948 GB Notification: Performance of SimCode: time 1.222e-06/4.403, allocations: 3.125 kB / 2.103 GB, free: 173 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0815/4.484, allocations: 54.62 MB / 2.156 GB, free: 170.6 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001679/4.485, allocations: 220.5 kB / 2.156 GB, free: 170.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.88/8.364, allocations: 3.938 kB / 2.157 GB, free: 170.4 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_Example3_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_Example3.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe 2>&1)