Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example3.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example3,fileNamePrefix="Buildings_7_0_0_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.1/package.mo): time 2.332/2.332, allocations: 248.5 MB / 261.1 MB, free: 6 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.001545/0.001545, allocations: 186 kB / 320.4 MB, free: 15.36 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.993/1.993, allocations: 205.2 MB / 0.571 GB, free: 11.82 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.001109/0.001109, allocations: 98.47 kB / 0.6754 GB, free: 0.9062 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.601e-05/3.619e-05, allocations: 4 kB / 0.7869 GB, free: 97.83 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.196/0.1961, allocations: 106.2 MB / 0.8907 GB, free: 7.488 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.026/2.223, allocations: 397.8 MB / 1.279 GB, free: 253.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003588/2.223, allocations: 89.27 kB / 1.279 GB, free: 253.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.581/5.804, allocations: 0.6864 GB / 1.966 GB, free: 179.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.565e-06/5.804, allocations: 0 / 1.966 GB, free: 179.3 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0004325/5.805, allocations: 54.25 kB / 1.966 GB, free: 179.3 MB / 0.8698 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.006836/5.811, allocations: 1.853 MB / 1.967 GB, free: 178.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.175e-05/5.812, allocations: 10.72 kB / 1.967 GB, free: 178.6 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004338/5.812, allocations: 154.7 kB / 1.968 GB, free: 178.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002194/5.814, allocations: 290.1 kB / 1.968 GB, free: 178.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01022/5.824, allocations: 2.512 MB / 1.97 GB, free: 178.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001055/5.825, allocations: 80.59 kB / 1.97 GB, free: 178.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000273/5.825, allocations: 108.3 kB / 1.971 GB, free: 178.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002742/5.828, allocations: 1.198 MB / 1.972 GB, free: 177.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.417e-05/5.828, allocations: 6.938 kB / 1.972 GB, free: 177.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001491/5.828, allocations: 43.56 kB / 1.972 GB, free: 177.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.662e-05/5.828, allocations: 25.75 kB / 1.972 GB, free: 177.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002206/5.83, allocations: 0.8818 MB / 1.973 GB, free: 177.9 MB / 0.8698 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.01128/5.841, allocations: 6.611 MB / 1.979 GB, free: 174 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001401/5.843, allocations: 0.5466 MB / 1.98 GB, free: 174 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007371/5.844, allocations: 369.5 kB / 1.98 GB, free: 173.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004518/5.848, allocations: 1.632 MB / 1.982 GB, free: 173.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007781/5.849, allocations: 340.7 kB / 1.982 GB, free: 173.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001433/5.85, allocations: 141.1 kB / 1.982 GB, free: 173.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=47): time 4.759e-06/5.851, allocations: 0 / 1.982 GB, free: 173.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=47): time 0.002185/5.853, allocations: 0.7453 MB / 1.983 GB, free: 173 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.313e-05/5.853, allocations: 62.16 kB / 1.983 GB, free: 172.9 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003229/5.856, allocations: 1.543 MB / 1.984 GB, free: 172.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002251/5.856, allocations: 42.75 kB / 1.984 GB, free: 172.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009312/5.857, allocations: 0.8447 MB / 1.985 GB, free: 172.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002506/5.858, allocations: 173.2 kB / 1.985 GB, free: 172.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.541e-05/5.858, allocations: 16.56 kB / 1.985 GB, free: 172.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.396e-05/5.858, allocations: 338.1 kB / 1.986 GB, free: 172 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006639/5.858, allocations: 248.4 kB / 1.986 GB, free: 172 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008882/5.859, allocations: 0.6848 MB / 1.987 GB, free: 171.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008174/5.86, allocations: 397.7 kB / 1.987 GB, free: 171.4 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.628e-06/5.86, allocations: 3.875 kB / 1.987 GB, free: 171.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003099/5.863, allocations: 1.141 MB / 1.988 GB, free: 171.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009949/5.864, allocations: 4.129 MB / 1.992 GB, free: 166.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.786e-05/5.864, allocations: 16.69 kB / 1.992 GB, free: 166.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006919/5.865, allocations: 132.9 kB / 1.992 GB, free: 166.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001324/5.866, allocations: 172.3 kB / 1.992 GB, free: 166.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008844/5.867, allocations: 0.7582 MB / 1.993 GB, free: 166.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002353/5.87, allocations: 108.9 kB / 1.993 GB, free: 166.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002031/5.87, allocations: 45.98 kB / 1.993 GB, free: 166.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/5.87, allocations: 3.688 kB / 1.993 GB, free: 166.4 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002491/5.872, allocations: 1.01 MB / 1.994 GB, free: 166.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.902e-05/5.873, allocations: 7.812 kB / 1.994 GB, free: 166.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003727/5.873, allocations: 123.4 kB / 1.994 GB, free: 166.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001093/5.874, allocations: 170.7 kB / 1.995 GB, free: 166.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002978/5.877, allocations: 2.122 MB / 1.997 GB, free: 164.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002304/5.879, allocations: 94.39 kB / 1.997 GB, free: 164.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001646/5.88, allocations: 45.33 kB / 1.997 GB, free: 164.9 MB / 0.8698 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.0003787/5.88, allocations: 165 kB / 1.997 GB, free: 164.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003569/5.88, allocations: 169 kB / 1.997 GB, free: 164.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002811/5.883, allocations: 0.9398 MB / 1.998 GB, free: 164.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.588e-05/5.883, allocations: 7.625 kB / 1.998 GB, free: 164.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/5.883, allocations: 0 / 1.998 GB, free: 164.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001608/5.885, allocations: 0.892 MB / 1.999 GB, free: 164.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005371/5.89, allocations: 2.118 MB / 2.001 GB, free: 163.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.787e-06/5.89, allocations: 0 / 2.001 GB, free: 163.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008463/5.891, allocations: 90.33 kB / 2.001 GB, free: 163.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000469/5.892, allocations: 128.1 kB / 2.001 GB, free: 163.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.912e-05/5.892, allocations: 11.73 kB / 2.001 GB, free: 163.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000705/5.892, allocations: 0.7417 MB / 2.002 GB, free: 163.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/5.892, allocations: 0 / 2.002 GB, free: 163.2 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002967/5.895, allocations: 1.311 MB / 2.003 GB, free: 162.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001245/5.897, allocations: 317.7 kB / 2.004 GB, free: 162.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003404/5.897, allocations: 14.06 kB / 2.004 GB, free: 162.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001479/5.899, allocations: 79.98 kB / 2.004 GB, free: 162.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001601/5.899, allocations: 51.62 kB / 2.004 GB, free: 162.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.19e-05/5.899, allocations: 24.69 kB / 2.004 GB, free: 162.7 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002388/5.901, allocations: 1.206 MB / 2.005 GB, free: 162.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7.11e-07/5.901, allocations: 0 / 2.005 GB, free: 162.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004004/5.905, allocations: 0.8753 MB / 2.006 GB, free: 162.4 MB / 0.8698 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.004658/5.91, allocations: 2.627 MB / 2.008 GB, free: 161.4 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003365/5.913, allocations: 1.406 MB / 2.01 GB, free: 161.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/5.913, allocations: 2.469 kB / 2.01 GB, free: 161.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007925/5.914, allocations: 307.7 kB / 2.01 GB, free: 161.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005864/5.92, allocations: 0.7342 MB / 2.011 GB, free: 161.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007633/5.928, allocations: 2.738 MB / 2.013 GB, free: 160.4 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00121/5.929, allocations: 1.534 MB / 2.015 GB, free: 159.7 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.005164/5.934, allocations: 0.8965 MB / 2.016 GB, free: 159.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001201/5.936, allocations: 0.6183 MB / 2.016 GB, free: 159.7 MB / 0.8698 GB Notification: Performance of SimCode: time 1.243e-06/5.936, allocations: 0 / 2.016 GB, free: 159.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1375/6.073, allocations: 54.61 MB / 2.07 GB, free: 157.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002828/6.073, allocations: 213.8 kB / 2.07 GB, free: 156.9 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.804/10.88, allocations: 0 / 2.07 GB, free: 156.9 MB / 0.8698 GB