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.103/2.103, 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.001489/0.001489, allocations: 172.2 kB / 325.5 MB, free: 2.898 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.344/2.344, allocations: 205.4 MB / 0.5764 GB, free: 21.16 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.001197/0.001197, allocations: 99.28 kB / 0.6809 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004848/0.0004847, allocations: 10.97 kB / 0.795 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.209/0.2095, allocations: 106.3 MB / 0.8988 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.305/1.515, allocations: 457.1 MB / 1.345 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003238/1.515, allocations: 104 kB / 1.345 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 58.04/59.56, allocations: 10.07 GB / 11.42 GB, free: 84.24 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.477e-06/59.56, allocations: 1 kB / 11.42 GB, free: 84.24 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.003407/59.56, allocations: 387.9 kB / 11.42 GB, free: 84.17 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.1019/59.66, allocations: 18.71 MB / 11.44 GB, free: 77.62 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.454e-05/59.66, allocations: 8.938 kB / 11.44 GB, free: 77.62 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008404/59.67, allocations: 0.9106 MB / 11.44 GB, free: 77.55 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02335/59.69, allocations: 2.182 MB / 11.44 GB, free: 76.69 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1166/59.81, allocations: 20.26 MB / 11.46 GB, free: 74.43 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001248/59.81, allocations: 0.5983 MB / 11.46 GB, free: 74.41 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005574/59.82, allocations: 0.8087 MB / 11.46 GB, free: 74.41 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04873/59.87, allocations: 14.17 MB / 11.47 GB, free: 73.62 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005115/59.87, allocations: 12.91 kB / 11.47 GB, free: 73.62 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004436/59.87, allocations: 296.6 kB / 11.47 GB, free: 73.62 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002382/59.87, allocations: 188.8 kB / 11.47 GB, free: 73.62 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05039/59.92, allocations: 18.41 MB / 11.49 GB, free: 73.55 MB / 1.167 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.1824/60.11, allocations: 74.09 MB / 11.56 GB, free: 39.73 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02477/60.13, allocations: 9.736 MB / 11.57 GB, free: 39.56 MB / 1.167 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 evalFunc (simulation): time 0.08628/60.22, allocations: 29.81 MB / 11.6 GB, free: 31.11 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02201/60.24, allocations: 8.197 MB / 11.61 GB, free: 31 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.07827/60.32, allocations: 14.74 MB / 11.63 GB, free: 30.46 MB / 1.167 GB Notification: Performance of pre-optimization done (n=427): time 4.089e-05/60.32, allocations: 2.625 kB / 11.63 GB, free: 30.46 MB / 1.167 GB Notification: Performance of matching and sorting (n=616): time 0.6785/61, allocations: 105.2 MB / 11.73 GB, free: 20.71 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.289e-05/61, allocations: 116.4 kB / 11.73 GB, free: 20.64 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0365/61.03, allocations: 12.74 MB / 11.74 GB, free: 19.91 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.004022/61.04, allocations: 193.3 kB / 11.74 GB, free: 19.83 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0112/61.05, allocations: 6.664 MB / 11.75 GB, free: 14.61 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.005212/61.05, allocations: 2.084 MB / 11.75 GB, free: 12.99 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003819/61.06, allocations: 153.6 kB / 11.75 GB, free: 12.87 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0008793/61.06, allocations: 0.6189 MB / 11.75 GB, free: 12.42 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02538/61.08, allocations: 8.309 MB / 11.76 GB, free: 9.23 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02826/61.11, allocations: 11.1 MB / 11.77 GB, free: 2.648 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05235/61.16, allocations: 10.65 MB / 11.78 GB, free: 15.5 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.946e-05/61.16, allocations: 16 kB / 11.78 GB, free: 15.48 MB / 1.182 GB Notification: Performance of matching and sorting (n=1038) (initialization): time 0.112/61.28, allocations: 27.7 MB / 11.81 GB, free: 11.19 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.273/62.55, allocations: 34.78 MB / 11.84 GB, free: 88.64 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002875/62.55, allocations: 55.06 kB / 11.84 GB, free: 88.64 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336/63.89, allocations: 146.8 MB / 11.98 GB, free: 88.21 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02013/63.91, allocations: 1.878 MB / 11.99 GB, free: 88.2 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07473/63.98, allocations: 24.82 MB / 12.01 GB, free: 83.07 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0316/64.01, allocations: 1.287 MB / 12.01 GB, free: 83 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005209/64.02, allocations: 0.8183 MB / 12.01 GB, free: 83 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/64.02, allocations: 3.531 kB / 12.01 GB, free: 83 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.09149/64.11, allocations: 26 MB / 12.04 GB, free: 82.53 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002514/64.11, allocations: 52.53 kB / 12.04 GB, free: 82.53 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363/65.47, allocations: 147.1 MB / 12.18 GB, free: 26.22 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01649/65.49, allocations: 1.859 MB / 12.18 GB, free: 24.5 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0948/65.58, allocations: 29.52 MB / 12.21 GB, free: 2.465 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03073/65.61, allocations: 1.255 MB / 12.21 GB, free: 1.406 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004834/65.62, allocations: 0.7791 MB / 12.21 GB, free: 0.6914 MB / 1.198 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (758): * Single equations (assignments): 744 * 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,6 82,6 82} Notification: Performance of prepare postOptimizeDAE: time 0.01624/65.64, allocations: 3.349 MB / 12.22 GB, free: 14.67 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007726/65.64, allocations: 1.285 MB / 12.22 GB, free: 14.08 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.6/67.24, allocations: 46.75 MB / 12.26 GB, free: 144.6 MB / 1.245 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001923/67.24, allocations: 76.69 kB / 12.26 GB, free: 144.6 MB / 1.245 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-05/67.24, allocations: 1.734 kB / 12.26 GB, free: 144.6 MB / 1.245 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3251/67.57, allocations: 41.17 MB / 12.3 GB, free: 144 MB / 1.245 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 postOpt removeSimpleEquations (simulation): time 0.1919/67.76, allocations: 48.08 MB / 12.35 GB, free: 137.8 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001234/67.76, allocations: 5.469 kB / 12.35 GB, free: 137.8 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01268/67.77, allocations: 1.285 MB / 12.35 GB, free: 137.8 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3419/68.12, allocations: 42.02 MB / 12.39 GB, free: 137.7 MB / 1.245 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002271/68.12, allocations: 201.3 kB / 12.39 GB, free: 137.7 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03615/68.15, allocations: 13.77 MB / 12.41 GB, free: 132.5 MB / 1.245 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.314e-05/68.15, allocations: 12.75 kB / 12.41 GB, free: 132.5 MB / 1.245 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2356/68.39, allocations: 44.43 MB / 12.45 GB, free: 129 MB / 1.245 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01357/68.4, allocations: 3.06 MB / 12.45 GB, free: 128.9 MB / 1.245 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006433/68.41, allocations: 134 kB / 12.45 GB, free: 128.9 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02296/68.43, allocations: 0.9933 MB / 12.45 GB, free: 128.9 MB / 1.245 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00295/68.44, allocations: 479.9 kB / 12.46 GB, free: 128.9 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001756/68.44, allocations: 301.3 kB / 12.46 GB, free: 128.9 MB / 1.245 GB Notification: Performance of sorting global known variables: time 0.0282/68.47, allocations: 9.738 MB / 12.46 GB, free: 128.6 MB / 1.245 GB Notification: Performance of sort global known variables: time 8.31e-07/68.47, allocations: 3.781 kB / 12.46 GB, free: 128.6 MB / 1.245 GB Notification: Performance of remove unused functions: time 0.06989/68.54, allocations: 7.149 MB / 12.47 GB, free: 128.6 MB / 1.245 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (536): * Single equations (assignments): 514 * 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 {8 74,30 38,6 82} Notification: Performance of Backend phase and start with SimCode phase: time 0.2466/68.78, allocations: 50.1 MB / 12.52 GB, free: 122.3 MB / 1.245 GB Notification: Performance of simCode: created initialization part: time 0.1273/68.91, allocations: 33.96 MB / 12.55 GB, free: 121.6 MB / 1.245 GB Notification: Performance of simCode: created event and clocks part: time 1.697e-05/68.91, allocations: 3 kB / 12.55 GB, free: 121.6 MB / 1.245 GB Notification: Performance of simCode: created simulation system equations: time 0.03346/68.94, allocations: 9.366 MB / 12.56 GB, free: 121.4 MB / 1.245 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05818/69, allocations: 6.801 MB / 12.57 GB, free: 121.4 MB / 1.245 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1229/69.12, allocations: 81.06 MB / 12.65 GB, free: 51.59 MB / 1.245 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02011/69.14, allocations: 7.64 MB / 12.66 GB, free: 46.92 MB / 1.245 GB Notification: Performance of simCode: alias equations: time 0.03353/69.18, allocations: 4.065 MB / 12.66 GB, free: 44.01 MB / 1.245 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0194/69.2, allocations: 6.68 MB / 12.67 GB, free: 43.14 MB / 1.245 GB Notification: Performance of SimCode: time 1.232e-06/69.2, allocations: 1.531 kB / 12.67 GB, free: 43.14 MB / 1.245 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.843/74.04, allocations: 0.5341 GB / 13.2 GB, free: 150.4 MB / 1.307 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002821/74.04, allocations: 247.7 kB / 13.2 GB, free: 150.1 MB / 1.307 GB Notification: Performance of buildModelFMU: Generate platform static: time 30.63/104.7, allocations: 0.7188 kB / 13.2 GB, free: 150.1 MB / 1.307 GB