Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4.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.FlowSystem.Simplified4,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Examples_FlowSystem_Simplified4",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.162/2.162, allocations: 248.5 MB / 261.1 MB, free: 6.023 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.001493/0.001493, allocations: 192.1 kB / 320.4 MB, free: 15.35 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.938/1.938, allocations: 205.2 MB / 0.571 GB, free: 11.83 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.001208/0.001208, allocations: 94.48 kB / 0.6754 GB, free: 0.9258 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.615e-05/3.631e-05, allocations: 0 / 0.7869 GB, free: 97.85 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1917/0.1918, allocations: 106.3 MB / 0.8907 GB, free: 7.5 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.884/2.075, allocations: 457.1 MB / 1.337 GB, free: 245.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003122/2.076, allocations: 98.55 kB / 1.337 GB, free: 245.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 56.86/58.94, allocations: 10.04 GB / 11.38 GB, free: 92.14 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.645e-06/58.94, allocations: 0 / 11.38 GB, free: 92.14 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.003923/58.94, allocations: 385.3 kB / 11.38 GB, free: 92.07 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1775 * Number of variables: 1775 Notification: Performance of Generate backend data structure: time 0.06238/59, allocations: 12.1 MB / 11.39 GB, free: 86.62 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.492e-05/59, allocations: 14 kB / 11.39 GB, free: 86.62 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005383/59.01, allocations: 0.9094 MB / 11.39 GB, free: 86.54 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01889/59.03, allocations: 2.185 MB / 11.39 GB, free: 85.65 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09357/59.12, allocations: 20.04 MB / 11.41 GB, free: 83.11 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001089/59.12, allocations: 0.6026 MB / 11.41 GB, free: 83.09 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004989/59.13, allocations: 0.802 MB / 11.42 GB, free: 83.09 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04557/59.17, allocations: 13.92 MB / 11.43 GB, free: 82.26 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005086/59.17, allocations: 11.12 kB / 11.43 GB, free: 82.25 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00412/59.18, allocations: 290.8 kB / 11.43 GB, free: 82.25 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002783/59.18, allocations: 189.5 kB / 11.43 GB, free: 82.25 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05184/59.23, allocations: 18 MB / 11.45 GB, free: 82.13 MB / 1.167 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.1823/59.41, allocations: 74.03 MB / 11.52 GB, free: 40.91 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02166/59.43, allocations: 9.466 MB / 11.53 GB, free: 36.3 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01861/59.45, allocations: 8.451 MB / 11.54 GB, free: 30.46 MB / 1.167 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 evalFunc (simulation): time 0.09356/59.55, allocations: 30.16 MB / 11.57 GB, free: 5.684 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01978/59.57, allocations: 8.053 MB / 11.57 GB, free: 15.57 MB / 1.182 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0835/59.65, allocations: 14.97 MB / 11.59 GB, free: 5.121 MB / 1.182 GB Notification: Performance of pre-optimization done (n=427): time 3.133e-05/59.65, allocations: 0 / 11.59 GB, free: 5.121 MB / 1.182 GB Notification: Performance of matching and sorting (n=613): time 1.538/61.19, allocations: 71.95 MB / 11.66 GB, free: 108.2 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.996e-05/61.19, allocations: 119.2 kB / 11.66 GB, free: 108.2 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03949/61.23, allocations: 12.6 MB / 11.67 GB, free: 107.4 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.004038/61.23, allocations: 194.6 kB / 11.67 GB, free: 107.4 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.01189/61.24, allocations: 6.667 MB / 11.68 GB, free: 106.3 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.005325/61.25, allocations: 2.077 MB / 11.68 GB, free: 105.2 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003537/61.25, allocations: 158.3 kB / 11.68 GB, free: 105.2 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0008163/61.25, allocations: 0.6206 MB / 11.68 GB, free: 104.9 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02148/61.28, allocations: 7.753 MB / 11.69 GB, free: 104.9 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02499/61.3, allocations: 10.54 MB / 11.7 GB, free: 101.8 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02464/61.33, allocations: 8.763 MB / 11.71 GB, free: 101.6 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001087/61.33, allocations: 15.09 kB / 11.71 GB, free: 101.6 MB / 1.182 GB Notification: Performance of matching and sorting (n=1035) (initialization): time 0.08807/61.41, allocations: 25.85 MB / 11.73 GB, free: 100.5 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.007075/61.42, allocations: 34.79 MB / 11.77 GB, free: 64.48 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002544/61.42, allocations: 52.69 kB / 11.77 GB, free: 64.48 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353/62.77, allocations: 146.4 MB / 11.91 GB, free: 63.39 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02011/62.79, allocations: 1.883 MB / 11.91 GB, free: 63.38 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06728/62.86, allocations: 24.6 MB / 11.94 GB, free: 57.91 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03184/62.89, allocations: 1.284 MB / 11.94 GB, free: 57.14 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004817/62.9, allocations: 0.8133 MB / 11.94 GB, free: 56.66 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/62.9, allocations: 5.562 kB / 11.94 GB, free: 56.66 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07841/62.98, allocations: 24.83 MB / 11.96 GB, free: 44.83 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002605/62.98, allocations: 52 kB / 11.96 GB, free: 44.78 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.705/65.68, allocations: 146.8 MB / 12.11 GB, free: 137.4 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01692/65.7, allocations: 1.867 MB / 12.11 GB, free: 137.4 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09407/65.79, allocations: 28.87 MB / 12.14 GB, free: 133.6 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03131/65.83, allocations: 1.257 MB / 12.14 GB, free: 133.6 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004928/65.83, allocations: 0.7751 MB / 12.14 GB, free: 133.6 MB / 1.214 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 237 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,booleanToInteger.u,booleanToInteger.y,$PRE.stepPump.pulseStart,stepPump.pulseStart,$PRE.stepValve.T_start,stepValve.T_start,$PRE.stepValve.count,stepValve.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (761): * Single equations (assignments): 747 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {32 38,5 80,5 80} Notification: Performance of prepare postOptimizeDAE: time 0.007589/65.84, allocations: 0.5534 MB / 12.14 GB, free: 133.5 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007915/65.85, allocations: 1.282 MB / 12.14 GB, free: 133.5 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1361/65.98, allocations: 26.59 MB / 12.16 GB, free: 133 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001756/65.98, allocations: 80.94 kB / 12.16 GB, free: 133 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.761e-05/65.98, allocations: 0 / 12.16 GB, free: 133 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1088/66.09, allocations: 21.03 MB / 12.19 GB, free: 132.5 MB / 1.214 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 postOpt removeSimpleEquations (simulation): time 0.3394/66.43, allocations: 59.75 MB / 12.24 GB, free: 126.1 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001624/66.43, allocations: 7.062 kB / 12.24 GB, free: 126.1 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01999/66.45, allocations: 1.292 MB / 12.25 GB, free: 126.1 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3708/66.82, allocations: 41.92 MB / 12.29 GB, free: 126 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002322/66.82, allocations: 201.2 kB / 12.29 GB, free: 126 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03591/66.86, allocations: 13.64 MB / 12.3 GB, free: 120.9 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.244e-05/66.86, allocations: 8.969 kB / 12.3 GB, free: 120.9 MB / 1.214 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1761/67.04, allocations: 38.43 MB / 12.34 GB, free: 117.1 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01455/67.05, allocations: 3.064 MB / 12.34 GB, free: 116.3 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006932/67.06, allocations: 133.2 kB / 12.34 GB, free: 116.3 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02324/67.08, allocations: 0.994 MB / 12.34 GB, free: 116.3 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002825/67.08, allocations: 474.5 kB / 12.34 GB, free: 116.3 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002165/67.09, allocations: 301.1 kB / 12.34 GB, free: 116.3 MB / 1.214 GB Notification: Performance of sorting global known variables: time 0.02664/67.11, allocations: 9.605 MB / 12.35 GB, free: 113.5 MB / 1.214 GB Notification: Performance of sort global known variables: time 1.193e-06/67.11, allocations: 0 / 12.35 GB, free: 113.5 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.06925/67.18, allocations: 7.126 MB / 12.36 GB, free: 107.2 MB / 1.214 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 8 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,booleanToInteger.u,booleanToInteger.y,stepPump.pulseStart,stepValve.T_start,stepValve.count) * Number of discrete states: 1 (stepValve.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (537): * Single equations (assignments): 515 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {7 74,30 38,5 80} Notification: Performance of Backend phase and start with SimCode phase: time 0.1844/67.37, allocations: 43.96 MB / 12.4 GB, free: 81.01 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.1558/67.52, allocations: 32.76 MB / 12.43 GB, free: 61.95 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 1.675e-05/67.52, allocations: 4.25 kB / 12.43 GB, free: 61.95 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.02989/67.55, allocations: 8.872 MB / 12.44 GB, free: 53.84 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05878/67.61, allocations: 6.802 MB / 12.45 GB, free: 49.04 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08911/67.7, allocations: 26.31 MB / 12.47 GB, free: 26.11 MB / 1.214 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01615/67.72, allocations: 7.667 MB / 12.48 GB, free: 20.79 MB / 1.214 GB Notification: Performance of simCode: alias equations: time 0.04831/67.76, allocations: 6.753 MB / 12.49 GB, free: 16.28 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01584/67.78, allocations: 6.41 MB / 12.49 GB, free: 10.38 MB / 1.214 GB Notification: Performance of SimCode: time 2.415e-06/67.78, allocations: 4 kB / 12.49 GB, free: 10.37 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.001/72.78, allocations: 0.5633 GB / 13.06 GB, free: 186.1 MB / 1.292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002666/72.78, allocations: 232.1 kB / 13.06 GB, free: 185.9 MB / 1.292 GB Notification: Performance of buildModelFMU: Generate platform static: time 33.63/106.4, allocations: 0 / 13.06 GB, free: 185.9 MB / 1.292 GB