Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example2.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.Example2,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Examples_Performance_Example2",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.101/2.101, allocations: 251 MB / 265.9 MB, free: 11.68 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.001526/0.001526, allocations: 178.5 kB / 325.5 MB, free: 2.91 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.239/2.239, allocations: 205.4 MB / 0.5764 GB, free: 20.78 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.001094/0.001094, allocations: 105.8 kB / 0.6809 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004949/0.000495, allocations: 18.16 kB / 0.795 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.217/0.2175, allocations: 106.3 MB / 0.8988 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.221/1.439, allocations: 397.9 MB / 1.287 GB, free: 4.43 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003517/1.439, allocations: 94.2 kB / 1.287 GB, free: 4.379 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.849/4.288, allocations: 480.1 MB / 1.756 GB, free: 230.4 MB / 0.8855 GB Notification: Performance of FrontEnd: time 4.158e-06/4.288, allocations: 3 kB / 1.756 GB, free: 230.4 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0004301/4.289, allocations: 42.84 kB / 1.756 GB, free: 230.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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.01275/4.301, allocations: 1.958 MB / 1.758 GB, free: 229.7 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 7.265e-05/4.301, allocations: 13.41 kB / 1.758 GB, free: 229.7 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007104/4.302, allocations: 120.4 kB / 1.758 GB, free: 229.7 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003234/4.305, allocations: 243.7 kB / 1.759 GB, free: 229.6 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01271/4.318, allocations: 1.954 MB / 1.761 GB, free: 229.2 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002103/4.319, allocations: 66.62 kB / 1.761 GB, free: 229.2 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005269/4.319, allocations: 85.84 kB / 1.761 GB, free: 229.2 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004942/4.324, allocations: 0.9564 MB / 1.762 GB, free: 229.1 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000102/4.324, allocations: 2.312 kB / 1.762 GB, free: 229.1 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000433/4.325, allocations: 30.19 kB / 1.762 GB, free: 229.1 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.619e-05/4.325, allocations: 22.61 kB / 1.762 GB, free: 229.1 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004195/4.329, allocations: 0.717 MB / 1.762 GB, free: 229.1 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.0111/4.34, allocations: 4.606 MB / 1.767 GB, free: 226.6 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002303/4.343, allocations: 0.5953 MB / 1.767 GB, free: 226.6 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004863/4.347, allocations: 1.705 MB / 1.769 GB, free: 225.8 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001161/4.349, allocations: 343 kB / 1.769 GB, free: 225.7 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001143/4.35, allocations: 112.3 kB / 1.77 GB, free: 225.7 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=46): time 6.061e-06/4.35, allocations: 3.891 kB / 1.77 GB, free: 225.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=46): time 0.004868/4.355, allocations: 1.124 MB / 1.771 GB, free: 225.5 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/4.355, allocations: 61.95 kB / 1.771 GB, free: 225.4 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002605/4.358, allocations: 1.116 MB / 1.772 GB, free: 225.3 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002227/4.358, allocations: 39.05 kB / 1.772 GB, free: 225.2 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006803/4.359, allocations: 0.6478 MB / 1.772 GB, free: 225.1 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002128/4.359, allocations: 160 kB / 1.773 GB, free: 225 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.574e-05/4.359, allocations: 12.38 kB / 1.773 GB, free: 225 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.729e-05/4.359, allocations: 331.1 kB / 1.773 GB, free: 224.7 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009829/4.36, allocations: 241.1 kB / 1.773 GB, free: 224.7 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001134/4.361, allocations: 0.5733 MB / 1.774 GB, free: 224.3 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001133/4.362, allocations: 348.3 kB / 1.774 GB, free: 224.2 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-05/4.362, allocations: 2.062 kB / 1.774 GB, free: 224.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.003516/4.366, allocations: 1.016 MB / 1.775 GB, free: 224.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006827/4.367, allocations: 3.056 MB / 1.778 GB, free: 220.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.858e-05/4.367, allocations: 7.344 kB / 1.778 GB, free: 220.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006744/4.367, allocations: 139.7 kB / 1.778 GB, free: 220.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001188/4.368, allocations: 152.6 kB / 1.778 GB, free: 220.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001058/4.37, allocations: 0.7622 MB / 1.779 GB, free: 220.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001837/4.371, allocations: 83.55 kB / 1.779 GB, free: 220.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001874/4.372, allocations: 40.89 kB / 1.779 GB, free: 220.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/4.372, allocations: 3.5 kB / 1.779 GB, free: 220.4 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002556/4.374, allocations: 0.9222 MB / 1.78 GB, free: 220.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.111e-05/4.374, allocations: 11.47 kB / 1.78 GB, free: 220.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003198/4.375, allocations: 103.5 kB / 1.78 GB, free: 220.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/4.376, allocations: 143.6 kB / 1.78 GB, free: 220.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002878/4.379, allocations: 2.221 MB / 1.783 GB, free: 218.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001676/4.38, allocations: 82.11 kB / 1.783 GB, free: 218.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001181/4.38, allocations: 39.25 kB / 1.783 GB, free: 218.8 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 70 * 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 {5 7} Notification: Performance of prepare postOptimizeDAE: time 0.001076/4.382, allocations: 485.1 kB / 1.783 GB, free: 218.6 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003719/4.382, allocations: 131.4 kB / 1.783 GB, free: 218.5 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003149/4.385, allocations: 0.8783 MB / 1.784 GB, free: 218.4 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.931e-05/4.385, allocations: 4.312 kB / 1.784 GB, free: 218.4 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/4.385, allocations: 4.766 kB / 1.784 GB, free: 218.4 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002516/4.388, allocations: 0.8826 MB / 1.785 GB, free: 218.1 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005822/4.394, allocations: 1.871 MB / 1.787 GB, free: 217.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.357e-06/4.394, allocations: 2.562 kB / 1.787 GB, free: 217.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007469/4.394, allocations: 90.86 kB / 1.787 GB, free: 217.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004329/4.395, allocations: 127.4 kB / 1.787 GB, free: 217.6 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.839e-05/4.395, allocations: 13.72 kB / 1.787 GB, free: 217.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007855/4.396, allocations: 0.7488 MB / 1.788 GB, free: 217.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/4.396, allocations: 3.969 kB / 1.788 GB, free: 217.1 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003646/4.399, allocations: 1.235 MB / 1.789 GB, free: 216.8 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001058/4.4, allocations: 277.8 kB / 1.789 GB, free: 216.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003245/4.401, allocations: 10.84 kB / 1.789 GB, free: 216.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001338/4.402, allocations: 61.58 kB / 1.789 GB, free: 216.7 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001534/4.402, allocations: 44.69 kB / 1.789 GB, free: 216.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.096e-05/4.402, allocations: 24.41 kB / 1.789 GB, free: 216.7 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001841/4.404, allocations: 0.8781 MB / 1.79 GB, free: 216.6 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.11e-07/4.404, allocations: 0 / 1.79 GB, free: 216.6 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003658/4.408, allocations: 0.7198 MB / 1.791 GB, free: 216.5 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump_dp.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 {5 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.005633/4.414, allocations: 2.533 MB / 1.793 GB, free: 215.4 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004264/4.418, allocations: 1.308 MB / 1.795 GB, free: 215.2 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/4.418, allocations: 0 / 1.795 GB, free: 215.2 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001289/4.419, allocations: 339.2 kB / 1.795 GB, free: 215.2 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004676/4.424, allocations: 0.5611 MB / 1.796 GB, free: 215.1 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01112/4.435, allocations: 8.814 MB / 1.804 GB, free: 208.2 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001863/4.437, allocations: 1.298 MB / 1.805 GB, free: 207.5 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.003438/4.441, allocations: 309.9 kB / 1.806 GB, free: 207.5 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001665/4.442, allocations: 499.3 kB / 1.806 GB, free: 207.5 MB / 0.8855 GB Notification: Performance of SimCode: time 2.285e-06/4.442, allocations: 0 / 1.806 GB, free: 207.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1422/4.585, allocations: 40.71 MB / 1.846 GB, free: 205.6 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003047/4.585, allocations: 245.6 kB / 1.846 GB, free: 205.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.129/8.714, allocations: 0 / 1.846 GB, free: 205.4 MB / 0.8855 GB