Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.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.Movers.Validation.ControlledFlowMachine,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Movers_Validation_ControlledFlowMachine",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.133/2.133, allocations: 251 MB / 265.9 MB, free: 11.69 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.00156/0.00156, allocations: 174 kB / 325.5 MB, free: 2.902 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.276/2.276, allocations: 205.4 MB / 0.5764 GB, free: 20.77 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.001148/0.001148, allocations: 105 kB / 0.6809 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005141/0.0005139, allocations: 14.41 kB / 0.795 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2729/0.2735, allocations: 106.3 MB / 0.8988 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.284/7.557, allocations: 2.236 GB / 3.135 GB, free: 226.4 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003001/7.558, allocations: 101.6 kB / 3.135 GB, free: 226.4 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 24.61/32.16, allocations: 4.219 GB / 7.354 GB, free: 66.68 MB / 1.042 GB Notification: Performance of FrontEnd: time 3.486e-06/32.16, allocations: 0 / 7.354 GB, free: 66.68 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.00148/32.16, allocations: 155.1 kB / 7.354 GB, free: 66.64 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 752 * Number of variables: 752 Notification: Performance of Generate backend data structure: time 0.05222/32.22, allocations: 10.58 MB / 7.364 GB, free: 61.86 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 5.35e-05/32.22, allocations: 11.47 kB / 7.364 GB, free: 61.86 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002328/32.22, allocations: 408.8 kB / 7.365 GB, free: 61.62 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01629/32.24, allocations: 1.457 MB / 7.366 GB, free: 60.48 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04104/32.28, allocations: 10.91 MB / 7.377 GB, free: 51.04 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004398/32.28, allocations: 257.9 kB / 7.377 GB, free: 50.79 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002041/32.28, allocations: 355.9 kB / 7.377 GB, free: 50.44 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01577/32.3, allocations: 4.003 MB / 7.381 GB, free: 46.32 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002137/32.3, allocations: 0 / 7.381 GB, free: 46.32 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001549/32.3, allocations: 128 kB / 7.382 GB, free: 46.19 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000143/32.3, allocations: 105.7 kB / 7.382 GB, free: 46.09 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0118/32.31, allocations: 2.95 MB / 7.384 GB, free: 43.12 MB / 1.042 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.0477/32.36, allocations: 19.41 MB / 7.403 GB, free: 22.56 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00872/32.37, allocations: 2.682 MB / 7.406 GB, free: 19.82 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006499/32.37, allocations: 224.1 kB / 7.406 GB, free: 19.57 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005229/32.37, allocations: 1.674 MB / 7.408 GB, free: 17.88 MB / 1.042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005208/32.38, allocations: 405.5 kB / 7.408 GB, free: 17.48 MB / 1.042 GB Notification: Performance of pre-optimization done (n=179): time 1.143e-05/32.38, allocations: 0 / 7.408 GB, free: 17.48 MB / 1.042 GB Notification: Performance of matching and sorting (n=179): time 0.0166/32.39, allocations: 3.84 MB / 7.412 GB, free: 13.59 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.258e-05/32.39, allocations: 154.5 kB / 7.412 GB, free: 13.41 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01855/32.41, allocations: 6.26 MB / 7.418 GB, free: 7.16 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.001056/32.41, allocations: 89.69 kB / 7.418 GB, free: 7.066 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.00428/32.42, allocations: 2.669 MB / 7.421 GB, free: 4.379 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.001449/32.42, allocations: 0.6161 MB / 7.422 GB, free: 3.754 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004649/32.42, allocations: 52 kB / 7.422 GB, free: 3.703 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.000312/32.42, allocations: 424.1 kB / 7.422 GB, free: 3.281 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003649/32.42, allocations: 1.153 MB / 7.423 GB, free: 2.125 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005215/32.43, allocations: 2.422 MB / 7.426 GB, free: 15.12 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005412/32.43, allocations: 1.519 MB / 7.427 GB, free: 13.6 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.091e-05/32.43, allocations: 8 kB / 7.427 GB, free: 13.59 MB / 1.057 GB Notification: Performance of matching and sorting (n=378) (initialization): time 0.0171/32.45, allocations: 4.048 MB / 7.431 GB, free: 9.52 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 0.9547/33.41, allocations: 15.07 MB / 7.446 GB, free: 91.14 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001245/33.41, allocations: 32.62 kB / 7.446 GB, free: 91.14 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001331/33.41, allocations: 241.3 kB / 7.446 GB, free: 91.12 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006678/33.41, allocations: 0.6437 MB / 7.447 GB, free: 91.12 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004368/33.42, allocations: 3.444 MB / 7.45 GB, free: 88.34 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008501/33.43, allocations: 334.9 kB / 7.45 GB, free: 88.34 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001217/33.43, allocations: 254.6 kB / 7.451 GB, free: 88.34 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/33.43, allocations: 4.406 kB / 7.451 GB, free: 88.34 MB / 1.057 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01383/33.44, allocations: 3.98 MB / 7.454 GB, free: 88.25 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00019/33.44, allocations: 32.91 kB / 7.454 GB, free: 88.25 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002514/33.45, allocations: 0.543 MB / 7.455 GB, free: 88.23 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00567/33.45, allocations: 0.6452 MB / 7.456 GB, free: 88.23 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01848/33.47, allocations: 7.406 MB / 7.463 GB, free: 85.14 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008298/33.48, allocations: 333.3 kB / 7.463 GB, free: 85.14 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001201/33.48, allocations: 220.5 kB / 7.463 GB, free: 85.14 MB / 1.057 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 137 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.y.T_start,y.T_start,$PRE.y.count,y.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (325): * Single equations (assignments): 313 * Array equations: 5 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.005541/33.49, allocations: 1.555 MB / 7.465 GB, free: 84.96 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00193/33.49, allocations: 0.527 MB / 7.465 GB, free: 84.96 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01102/33.5, allocations: 2.995 MB / 7.468 GB, free: 84.79 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-05/33.5, allocations: 18.31 kB / 7.468 GB, free: 84.79 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.311e-06/33.5, allocations: 4.469 kB / 7.468 GB, free: 84.79 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007823/33.51, allocations: 2.531 MB / 7.471 GB, free: 84.29 MB / 1.057 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.0273/33.53, allocations: 8.346 MB / 7.479 GB, free: 83.48 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.3e-05/33.53, allocations: 0 / 7.479 GB, free: 83.48 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004532/33.54, allocations: 486.6 kB / 7.479 GB, free: 83.48 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001099/33.54, allocations: 239.6 kB / 7.48 GB, free: 83.46 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004884/33.54, allocations: 61.12 kB / 7.48 GB, free: 83.46 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002443/33.54, allocations: 3.283 MB / 7.483 GB, free: 80.68 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/33.54, allocations: 3.75 kB / 7.483 GB, free: 80.68 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01276/33.55, allocations: 4.585 MB / 7.487 GB, free: 79.78 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004767/33.56, allocations: 1.165 MB / 7.489 GB, free: 79.39 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002268/33.56, allocations: 46.2 kB / 7.489 GB, free: 79.39 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006993/33.57, allocations: 315.9 kB / 7.489 GB, free: 79.38 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007458/33.57, allocations: 127.6 kB / 7.489 GB, free: 79.38 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003374/33.57, allocations: 93.41 kB / 7.489 GB, free: 79.38 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.01347/33.58, allocations: 4.786 MB / 7.494 GB, free: 79.16 MB / 1.057 GB Notification: Performance of sort global known variables: time 1.032e-06/33.58, allocations: 0.875 kB / 7.494 GB, free: 79.16 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.01865/33.6, allocations: 3.481 MB / 7.497 GB, free: 79.04 MB / 1.057 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 14 (fan1.vol.dynBal.U,fan1.vol.dynBal.m,fan1.vol.dynBal.mXi[1],fan1.filter.x[1],fan1.filter.x[2],fan3.vol.dynBal.U,fan3.vol.dynBal.m,fan3.vol.dynBal.mXi[1],fan2.vol.dynBal.U,fan2.vol.dynBal.m,fan2.vol.dynBal.mXi[1],fan4.vol.dynBal.U,fan4.vol.dynBal.m,fan4.vol.dynBal.mXi[1]) * Number of discrete variables: 3 ($whenCondition1,y.T_start,y.count) * Number of discrete states: 1 (y.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (175): * Single equations (assignments): 168 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.03453/33.64, allocations: 16.27 MB / 7.513 GB, free: 71.48 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.01635/33.65, allocations: 5.347 MB / 7.518 GB, free: 71 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 1.203e-05/33.65, allocations: 3.375 kB / 7.518 GB, free: 71 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.004007/33.66, allocations: 1.194 MB / 7.519 GB, free: 70.98 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02372/33.68, allocations: 3.171 MB / 7.523 GB, free: 70.91 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04222/33.72, allocations: 35.81 MB / 7.558 GB, free: 43.55 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007511/33.73, allocations: 3.449 MB / 7.561 GB, free: 42.72 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.01313/33.74, allocations: 1.556 MB / 7.562 GB, free: 42.67 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008125/33.75, allocations: 2.583 MB / 7.565 GB, free: 42.66 MB / 1.057 GB Notification: Performance of SimCode: time 1.363e-06/33.75, allocations: 0 / 7.565 GB, free: 42.66 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5995/34.35, allocations: 272.5 MB / 7.831 GB, free: 8.918 MB / 1.12 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004408/34.35, allocations: 252.9 kB / 7.831 GB, free: 8.586 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.45/49.8, allocations: 0 / 7.831 GB, free: 8.586 MB / 1.12 GB