Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6.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.Simplified6,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Examples_FlowSystem_Simplified6",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.145/2.145, allocations: 248.5 MB / 261.1 MB, free: 6.043 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.00145/0.00145, allocations: 173.9 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.884/1.884, allocations: 205.2 MB / 0.571 GB, free: 11.75 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.001125/0.001124, allocations: 105.9 kB / 0.6754 GB, free: 0.8438 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.635e-05/3.65e-05, allocations: 4 kB / 0.7869 GB, free: 97.82 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2038/0.2039, allocations: 106.2 MB / 0.8907 GB, free: 7.473 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.906/2.11, allocations: 458.3 MB / 1.338 GB, free: 244.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003159/2.11, allocations: 98.92 kB / 1.338 GB, free: 244.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 58.44/60.55, allocations: 10.21 GB / 11.55 GB, free: 66.67 MB / 1.135 GB Notification: Performance of FrontEnd: time 2.155e-06/60.55, allocations: 0 / 11.55 GB, free: 66.67 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.004136/60.55, allocations: 349.9 kB / 11.55 GB, free: 66.61 MB / 1.135 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1521 * Number of variables: 1521 Notification: Performance of Generate backend data structure: time 0.05573/60.61, allocations: 11.06 MB / 11.56 GB, free: 62.05 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 5.577e-05/60.61, allocations: 8.281 kB / 11.56 GB, free: 62.05 MB / 1.135 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004546/60.61, allocations: 0.7773 MB / 11.56 GB, free: 61.98 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01783/60.63, allocations: 2.071 MB / 11.56 GB, free: 61.19 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08012/60.71, allocations: 18.25 MB / 11.58 GB, free: 59.09 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001109/60.71, allocations: 0.5351 MB / 11.58 GB, free: 59.07 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003864/60.72, allocations: 0.7155 MB / 11.58 GB, free: 59.07 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02919/60.75, allocations: 8.25 MB / 11.59 GB, free: 58 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004096/60.75, allocations: 18.94 kB / 11.59 GB, free: 58 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002686/60.75, allocations: 253.7 kB / 11.59 GB, free: 58 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002277/60.75, allocations: 158.5 kB / 11.59 GB, free: 58 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02332/60.77, allocations: 6.555 MB / 11.59 GB, free: 57.96 MB / 1.135 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.1161/60.89, allocations: 49.69 MB / 11.64 GB, free: 31.28 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01159/60.9, allocations: 4.586 MB / 11.65 GB, free: 31.13 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008786/60.91, allocations: 3.583 MB / 11.65 GB, free: 31.07 MB / 1.135 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.05118/60.96, allocations: 13.6 MB / 11.66 GB, free: 27.99 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007726/60.97, allocations: 3.2 MB / 11.67 GB, free: 27.88 MB / 1.135 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0175/60.99, allocations: 2.392 MB / 11.67 GB, free: 27.68 MB / 1.135 GB Notification: Performance of pre-optimization done (n=326): time 2.353e-05/60.99, allocations: 0 / 11.67 GB, free: 27.68 MB / 1.135 GB Notification: Performance of matching and sorting (n=514): time 0.1816/61.17, allocations: 35.46 MB / 11.7 GB, free: 20.39 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.927e-05/61.17, allocations: 106.3 kB / 11.7 GB, free: 20.32 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03646/61.2, allocations: 12.04 MB / 11.72 GB, free: 19.54 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 0.002203/61.21, allocations: 176.8 kB / 11.72 GB, free: 19.5 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.0104/61.22, allocations: 6.229 MB / 11.72 GB, free: 18.05 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.003156/61.22, allocations: 1.733 MB / 11.72 GB, free: 16.93 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001598/61.22, allocations: 144 kB / 11.72 GB, free: 16.93 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 0.0006326/61.22, allocations: 0.5923 MB / 11.72 GB, free: 16.62 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01131/61.23, allocations: 3.856 MB / 11.73 GB, free: 16.6 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01476/61.25, allocations: 6.784 MB / 11.74 GB, free: 13.24 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01432/61.26, allocations: 4.69 MB / 11.74 GB, free: 13.07 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001319/61.26, allocations: 17.59 kB / 11.74 GB, free: 13.07 MB / 1.135 GB Notification: Performance of matching and sorting (n=957) (initialization): time 0.04853/61.31, allocations: 13.82 MB / 11.75 GB, free: 11.97 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.01691/61.33, allocations: 38.51 MB / 11.79 GB, free: 19.91 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000284/61.33, allocations: 60.53 kB / 11.79 GB, free: 19.91 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01376/61.34, allocations: 3.395 MB / 11.79 GB, free: 19.76 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02032/61.36, allocations: 1.805 MB / 11.8 GB, free: 19.74 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02095/61.38, allocations: 12.32 MB / 11.81 GB, free: 12.99 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02415/61.41, allocations: 1.13 MB / 11.81 GB, free: 12.89 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002818/61.41, allocations: 487.8 kB / 11.81 GB, free: 12.89 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/61.41, allocations: 3.375 kB / 11.81 GB, free: 12.89 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.044/61.46, allocations: 12.8 MB / 11.82 GB, free: 12.43 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002662/61.46, allocations: 60.78 kB / 11.82 GB, free: 12.43 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01494/61.47, allocations: 3.657 MB / 11.83 GB, free: 12.27 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01752/61.49, allocations: 1.782 MB / 11.83 GB, free: 12.26 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0405/61.53, allocations: 16.62 MB / 11.84 GB, free: 6.637 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02231/61.55, allocations: 1.101 MB / 11.84 GB, free: 6.539 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002399/61.55, allocations: 449.4 kB / 11.85 GB, free: 6.539 MB / 1.182 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 269 * 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 (742): * Single equations (assignments): 725 * 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: 6 * 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: 6 {1 4,1 2,1 2,1 2,6 79,7 78} Notification: Performance of prepare postOptimizeDAE: time 0.003022/61.56, allocations: 0.5362 MB / 11.85 GB, free: 6.395 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00426/61.56, allocations: 1.199 MB / 11.85 GB, free: 5.73 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03847/61.6, allocations: 12.24 MB / 11.86 GB, free: 4.977 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000119/61.6, allocations: 60.19 kB / 11.86 GB, free: 4.977 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.469e-05/61.6, allocations: 4 kB / 11.86 GB, free: 4.973 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02755/61.63, allocations: 9.665 MB / 11.87 GB, free: 4.227 MB / 1.182 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.07561/61.7, allocations: 24.16 MB / 11.89 GB, free: 1.859 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.178e-05/61.7, allocations: 7.281 kB / 11.89 GB, free: 1.859 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01105/61.71, allocations: 1.1 MB / 11.89 GB, free: 1.805 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0096/61.72, allocations: 2.397 MB / 11.9 GB, free: 1.629 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001387/61.73, allocations: 170.8 kB / 11.9 GB, free: 1.629 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01447/61.74, allocations: 10.98 MB / 11.91 GB, free: 10.88 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.249e-05/61.74, allocations: 16.92 kB / 11.91 GB, free: 10.87 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04929/61.79, allocations: 18.8 MB / 11.92 GB, free: 3.598 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01253/61.8, allocations: 2.53 MB / 11.93 GB, free: 2.238 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005959/61.81, allocations: 105.9 kB / 11.93 GB, free: 2.164 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01941/61.83, allocations: 0.9101 MB / 11.93 GB, free: 2 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00195/61.83, allocations: 403.6 kB / 11.93 GB, free: 1.926 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001562/61.83, allocations: 244.8 kB / 11.93 GB, free: 1.887 MB / 1.198 GB Notification: Performance of sorting global known variables: time 1.243/63.07, allocations: 10.89 MB / 11.94 GB, free: 127.6 MB / 1.198 GB Notification: Performance of sort global known variables: time 1.883e-06/63.07, allocations: 0 / 11.94 GB, free: 127.6 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.07765/63.15, allocations: 5.936 MB / 11.95 GB, free: 127.6 MB / 1.198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 3 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,heater.outCon.T) * 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 (441): * Single equations (assignments): 416 * 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: 6 * 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: 6 {8 73,1 4,1 2,1 2,1 2,8 77} Notification: Performance of Backend phase and start with SimCode phase: time 0.06877/63.22, allocations: 23.88 MB / 11.97 GB, free: 122 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.05111/63.27, allocations: 16.61 MB / 11.98 GB, free: 121.4 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 1.681e-05/63.27, allocations: 2.906 kB / 11.98 GB, free: 121.4 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.01445/63.29, allocations: 4.59 MB / 11.99 GB, free: 121.3 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05014/63.34, allocations: 5.97 MB / 11.99 GB, free: 121.2 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07466/63.41, allocations: 22.52 MB / 12.02 GB, free: 116.8 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01521/63.43, allocations: 7.089 MB / 12.02 GB, free: 115.8 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.04688/63.47, allocations: 6.453 MB / 12.03 GB, free: 115.7 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01433/63.49, allocations: 5.767 MB / 12.04 GB, free: 115.7 MB / 1.198 GB Notification: Performance of SimCode: time 1.884e-06/63.49, allocations: 2.469 kB / 12.04 GB, free: 115.7 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.289/66.78, allocations: 418.7 MB / 12.44 GB, free: 136.1 MB / 1.245 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002892/66.78, allocations: 217.9 kB / 12.44 GB, free: 135.9 MB / 1.245 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.88/95.66, allocations: 7 kB / 12.44 GB, free: 135.9 MB / 1.245 GB