Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.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.Example3,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example3,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.381/1.381, allocations: 251.9 MB / 266.9 MB, free: 11.03 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.001153/0.001153, allocations: 186.7 kB / 326.5 MB, free: 2.25 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.867/1.867, allocations: 205.4 MB / 0.5775 GB, free: 20.23 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.001069/0.001069, allocations: 98.09 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003036/0.0003036, allocations: 12.53 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2156/0.2159, allocations: 106.3 MB / 0.9002 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8917/1.108, allocations: 398 MB / 1.289 GB, free: 1.398 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000239/1.108, allocations: 99.08 kB / 1.289 GB, free: 1.348 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.367/3.475, allocations: 0.6891 GB / 1.978 GB, free: 110.4 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.043e-06/3.475, allocations: 0 / 1.978 GB, free: 110.4 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003777/3.476, allocations: 51.98 kB / 1.978 GB, free: 110.4 MB / 0.8855 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.008331/3.484, allocations: 2.44 MB / 1.98 GB, free: 107.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.3e-05/3.484, allocations: 12.02 kB / 1.98 GB, free: 107.9 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006117/3.485, allocations: 147.8 kB / 1.981 GB, free: 107.7 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00192/3.487, allocations: 284.3 kB / 1.981 GB, free: 107.4 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007738/3.495, allocations: 2.545 MB / 1.983 GB, free: 104.9 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001231/3.495, allocations: 85.94 kB / 1.983 GB, free: 104.8 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000405/3.495, allocations: 104 kB / 1.984 GB, free: 104.7 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002852/3.498, allocations: 1.244 MB / 1.985 GB, free: 103.3 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.746e-05/3.498, allocations: 11.89 kB / 1.985 GB, free: 103.3 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001586/3.498, allocations: 44 kB / 1.985 GB, free: 103.3 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.356e-05/3.498, allocations: 27.94 kB / 1.985 GB, free: 103.3 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001975/3.5, allocations: 0.9562 MB / 1.986 GB, free: 102.3 MB / 0.8855 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.008922/3.509, allocations: 6.608 MB / 1.992 GB, free: 95.24 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00121/3.51, allocations: 0.6219 MB / 1.993 GB, free: 94.61 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003322/3.514, allocations: 1.617 MB / 1.994 GB, free: 92.87 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006637/3.514, allocations: 377.1 kB / 1.995 GB, free: 92.49 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001081/3.516, allocations: 127.3 kB / 1.995 GB, free: 92.36 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=47): time 4.118e-06/3.516, allocations: 0 / 1.995 GB, free: 92.36 MB / 0.8855 GB Notification: Performance of matching and sorting (n=47): time 0.003067/3.519, allocations: 1.257 MB / 1.996 GB, free: 91.08 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.131e-05/3.519, allocations: 55.84 kB / 1.996 GB, free: 91.01 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002678/3.521, allocations: 1.568 MB / 1.998 GB, free: 89.41 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001006/3.522, allocations: 49.64 kB / 1.998 GB, free: 89.35 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007551/3.522, allocations: 0.8425 MB / 1.999 GB, free: 88.5 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001592/3.522, allocations: 169.7 kB / 1.999 GB, free: 88.33 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.282e-05/3.523, allocations: 16 kB / 1.999 GB, free: 88.32 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.074e-05/3.523, allocations: 337.9 kB / 1.999 GB, free: 87.98 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005697/3.523, allocations: 289.8 kB / 1.999 GB, free: 87.7 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007415/3.524, allocations: 0.7229 MB / 2 GB, free: 86.76 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006833/3.525, allocations: 420.7 kB / 2 GB, free: 86.34 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.308e-06/3.525, allocations: 4 kB / 2 GB, free: 86.34 MB / 0.8855 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002385/3.527, allocations: 1.219 MB / 2.002 GB, free: 85.11 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008702/3.528, allocations: 4.121 MB / 2.006 GB, free: 80.66 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.44e-05/3.528, allocations: 12 kB / 2.006 GB, free: 80.65 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003973/3.528, allocations: 145.5 kB / 2.006 GB, free: 80.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006506/3.529, allocations: 175.7 kB / 2.006 GB, free: 80.33 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005563/3.53, allocations: 0.7493 MB / 2.007 GB, free: 79.56 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001569/3.531, allocations: 107.6 kB / 2.007 GB, free: 79.45 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001133/3.531, allocations: 51.97 kB / 2.007 GB, free: 79.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/3.531, allocations: 4 kB / 2.007 GB, free: 79.4 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001749/3.533, allocations: 1.073 MB / 2.008 GB, free: 78.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.792e-05/3.533, allocations: 12.66 kB / 2.008 GB, free: 78.29 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002155/3.533, allocations: 116.8 kB / 2.008 GB, free: 78.17 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005585/3.534, allocations: 163.7 kB / 2.008 GB, free: 78.01 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001847/3.536, allocations: 2.149 MB / 2.01 GB, free: 75.73 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001481/3.537, allocations: 103.8 kB / 2.01 GB, free: 75.63 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001091/3.537, allocations: 43.98 kB / 2.01 GB, free: 75.59 MB / 0.8855 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.00117/3.539, allocations: 0.5864 MB / 2.011 GB, free: 74.99 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005191/3.539, allocations: 173.8 kB / 2.011 GB, free: 74.82 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002416/3.542, allocations: 1 MB / 2.012 GB, free: 73.8 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.314e-05/3.542, allocations: 4 kB / 2.012 GB, free: 73.8 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/3.542, allocations: 4 kB / 2.012 GB, free: 73.79 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001283/3.543, allocations: 0.9567 MB / 2.013 GB, free: 72.77 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004772/3.548, allocations: 2.183 MB / 2.015 GB, free: 70.49 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/3.548, allocations: 0 / 2.015 GB, free: 70.49 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004463/3.548, allocations: 83.88 kB / 2.015 GB, free: 70.41 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002684/3.548, allocations: 119.5 kB / 2.015 GB, free: 70.29 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.509e-05/3.548, allocations: 15.98 kB / 2.015 GB, free: 70.28 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004438/3.549, allocations: 0.7436 MB / 2.016 GB, free: 69.51 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/3.549, allocations: 4 kB / 2.016 GB, free: 69.5 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002307/3.551, allocations: 1.407 MB / 2.018 GB, free: 68.05 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009853/3.552, allocations: 314.8 kB / 2.018 GB, free: 67.72 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000524/3.553, allocations: 15.98 kB / 2.018 GB, free: 67.71 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00121/3.554, allocations: 75.91 kB / 2.018 GB, free: 67.63 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/3.554, allocations: 44.33 kB / 2.018 GB, free: 67.59 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.65e-05/3.554, allocations: 23.97 kB / 2.018 GB, free: 67.56 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002136/3.556, allocations: 1.231 MB / 2.019 GB, free: 66.31 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.71e-07/3.556, allocations: 4 kB / 2.019 GB, free: 66.3 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003802/3.56, allocations: 0.8698 MB / 2.02 GB, free: 65.43 MB / 0.8855 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.004658/3.565, allocations: 2.711 MB / 2.023 GB, free: 62.7 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002692/3.568, allocations: 1.442 MB / 2.024 GB, free: 61.23 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/3.568, allocations: 0 / 2.024 GB, free: 61.23 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0006446/3.568, allocations: 339.6 kB / 2.024 GB, free: 60.9 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003631/3.572, allocations: 0.7474 MB / 2.025 GB, free: 60.16 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01035/3.582, allocations: 11.82 MB / 2.037 GB, free: 47.88 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001267/3.584, allocations: 1.527 MB / 2.038 GB, free: 46.32 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002002/3.586, allocations: 430.1 kB / 2.039 GB, free: 45.89 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009307/3.587, allocations: 0.6502 MB / 2.039 GB, free: 45.25 MB / 0.8855 GB Notification: Performance of SimCode: time 1.313e-06/3.587, allocations: 4 kB / 2.039 GB, free: 45.24 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5226/4.109, allocations: 50.43 MB / 2.089 GB, free: 207.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001635/4.109, allocations: 257.7 kB / 2.089 GB, free: 207.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.89/8, allocations: 0 / 2.089 GB, free: 207.1 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example3_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example3.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe 2>&1)