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.751/1.751, allocations: 288.2 MB / 303.2 MB, free: 8.133 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.001214/0.001214, allocations: 187.4 kB / 371.8 MB, free: 10.24 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.709/1.709, allocations: 205.4 MB / 0.6305 GB, free: 9.969 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.0009816/0.0009816, allocations: 101.5 kB / 0.7439 GB, free: 5.898 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004302/0.0004303, allocations: 11.72 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2489/0.2494, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.027/1.277, allocations: 404.3 MB / 1.374 GB, free: 7.801 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002664/1.277, allocations: 100.6 kB / 1.374 GB, free: 7.746 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.449/3.726, allocations: 0.6891 GB / 2.064 GB, free: 64.64 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.874e-06/3.726, allocations: 0 / 2.064 GB, free: 64.64 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0002012/3.726, allocations: 51.97 kB / 2.064 GB, free: 64.59 MB / 0.9323 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.006151/3.732, allocations: 2.439 MB / 2.066 GB, free: 62.09 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 7.212e-05/3.732, allocations: 12.03 kB / 2.066 GB, free: 62.08 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003274/3.733, allocations: 151.8 kB / 2.066 GB, free: 61.92 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001254/3.734, allocations: 289.2 kB / 2.066 GB, free: 61.64 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005702/3.74, allocations: 2.532 MB / 2.069 GB, free: 59.06 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.596e-05/3.74, allocations: 85.94 kB / 2.069 GB, free: 58.97 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001475/3.74, allocations: 107.9 kB / 2.069 GB, free: 58.87 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001847/3.742, allocations: 1.244 MB / 2.07 GB, free: 57.55 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.63e-05/3.742, allocations: 0 / 2.07 GB, free: 57.55 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.443e-05/3.742, allocations: 47.95 kB / 2.07 GB, free: 57.5 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.934e-05/3.742, allocations: 24 kB / 2.07 GB, free: 57.48 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001567/3.744, allocations: 0.9561 MB / 2.071 GB, free: 56.52 MB / 0.9323 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.006821/3.75, allocations: 6.606 MB / 2.078 GB, free: 49.46 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001103/3.752, allocations: 0.6288 MB / 2.078 GB, free: 48.82 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002599/3.754, allocations: 1.615 MB / 2.08 GB, free: 47.09 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006022/3.755, allocations: 365.1 kB / 2.08 GB, free: 46.72 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007536/3.756, allocations: 139.3 kB / 2.08 GB, free: 46.58 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=47): time 3.877e-06/3.756, allocations: 0 / 2.08 GB, free: 46.58 MB / 0.9323 GB Notification: Performance of matching and sorting (n=47): time 0.002654/3.758, allocations: 1.249 MB / 2.082 GB, free: 45.31 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.014e-05/3.758, allocations: 63.77 kB / 2.082 GB, free: 45.23 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0018/3.76, allocations: 1.56 MB / 2.083 GB, free: 43.64 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 6.085e-05/3.76, allocations: 45.7 kB / 2.083 GB, free: 43.59 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006088/3.761, allocations: 0.8425 MB / 2.084 GB, free: 42.73 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001286/3.761, allocations: 177.5 kB / 2.084 GB, free: 42.56 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.513e-05/3.761, allocations: 12 kB / 2.084 GB, free: 42.55 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.211e-05/3.761, allocations: 349.9 kB / 2.085 GB, free: 42.2 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005182/3.762, allocations: 281.8 kB / 2.085 GB, free: 41.93 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007142/3.762, allocations: 0.7223 MB / 2.086 GB, free: 40.99 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006169/3.763, allocations: 425.2 kB / 2.086 GB, free: 40.57 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.072e-06/3.763, allocations: 4 kB / 2.086 GB, free: 40.56 MB / 0.9323 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002025/3.765, allocations: 1.203 MB / 2.087 GB, free: 39.34 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.000917/3.766, allocations: 4.137 MB / 2.091 GB, free: 34.88 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.665e-05/3.766, allocations: 16 kB / 2.091 GB, free: 34.87 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003799/3.766, allocations: 128.7 kB / 2.091 GB, free: 34.74 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006395/3.767, allocations: 175.7 kB / 2.091 GB, free: 34.57 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005398/3.767, allocations: 0.763 MB / 2.092 GB, free: 33.78 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001363/3.769, allocations: 103.8 kB / 2.092 GB, free: 33.68 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-05/3.769, allocations: 43.98 kB / 2.092 GB, free: 33.63 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/3.769, allocations: 7.938 kB / 2.092 GB, free: 33.62 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001529/3.77, allocations: 1.07 MB / 2.093 GB, free: 32.53 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/3.771, allocations: 12 kB / 2.093 GB, free: 32.52 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001944/3.771, allocations: 118 kB / 2.094 GB, free: 32.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005251/3.771, allocations: 172.1 kB / 2.094 GB, free: 32.23 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001718/3.773, allocations: 2.145 MB / 2.096 GB, free: 29.95 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001167/3.774, allocations: 99.75 kB / 2.096 GB, free: 29.86 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.899e-05/3.774, allocations: 47.98 kB / 2.096 GB, free: 29.81 MB / 0.9323 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 () * Number of clocked 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.0009751/3.775, allocations: 0.5868 MB / 2.096 GB, free: 29.21 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002156/3.775, allocations: 177.8 kB / 2.097 GB, free: 29.04 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001835/3.777, allocations: 0.9997 MB / 2.098 GB, free: 28.03 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/3.777, allocations: 11.98 kB / 2.098 GB, free: 28.02 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.003e-06/3.777, allocations: 0 / 2.098 GB, free: 28.02 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001214/3.779, allocations: 0.9489 MB / 2.099 GB, free: 27 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003478/3.782, allocations: 2.167 MB / 2.101 GB, free: 24.74 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.483e-06/3.782, allocations: 4 kB / 2.101 GB, free: 24.74 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004305/3.782, allocations: 83.86 kB / 2.101 GB, free: 24.66 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002573/3.783, allocations: 134.5 kB / 2.101 GB, free: 24.52 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.085e-05/3.783, allocations: 15.98 kB / 2.101 GB, free: 24.51 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004146/3.783, allocations: 0.7319 MB / 2.102 GB, free: 23.75 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/3.783, allocations: 0 / 2.102 GB, free: 23.75 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002034/3.785, allocations: 1.411 MB / 2.103 GB, free: 22.29 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007062/3.786, allocations: 318.8 kB / 2.103 GB, free: 21.96 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000166/3.786, allocations: 12 kB / 2.103 GB, free: 21.95 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000733/3.787, allocations: 79.88 kB / 2.103 GB, free: 21.87 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/3.787, allocations: 48.33 kB / 2.103 GB, free: 21.82 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.963e-05/3.787, allocations: 19.98 kB / 2.103 GB, free: 21.8 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001441/3.789, allocations: 1.227 MB / 2.105 GB, free: 20.55 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.7e-07/3.789, allocations: 0 / 2.105 GB, free: 20.55 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002541/3.791, allocations: 0.8775 MB / 2.106 GB, free: 19.67 MB / 0.9323 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) * Number of clocked states: 0 () * 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.003497/3.795, allocations: 2.723 MB / 2.108 GB, free: 16.93 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002455/3.797, allocations: 1.447 MB / 2.11 GB, free: 15.44 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/3.797, allocations: 0 / 2.11 GB, free: 15.44 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0005896/3.798, allocations: 338.5 kB / 2.11 GB, free: 15.11 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003245/3.801, allocations: 0.7446 MB / 2.111 GB, free: 14.38 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007356/3.808, allocations: 11.83 MB / 2.122 GB, free: 2.09 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007795/3.809, allocations: 1.527 MB / 2.124 GB, free: 0.5352 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001682/3.811, allocations: 442 kB / 2.124 GB, free: 100 kB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008493/3.812, allocations: 0.6477 MB / 2.125 GB, free: 15.45 MB / 0.948 GB Notification: Performance of SimCode: time 7.91e-07/3.812, allocations: 0 / 2.125 GB, free: 15.45 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6086/4.42, allocations: 50.43 MB / 2.174 GB, free: 225.8 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001834/4.421, allocations: 258.7 kB / 2.174 GB, free: 225.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.907/8.328, allocations: 0 / 2.174 GB, free: 225.5 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)