Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Movers_Validation_ControlledFlowMachineDynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Movers_Validation_ControlledFlowMachineDynamic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.471/1.471, allocations: 251.9 MB / 266.9 MB, free: 11.01 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.001167/0.001167, allocations: 179.5 kB / 326.5 MB, free: 2.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.899/1.899, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.0009012/0.0009015, allocations: 98.3 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004564/0.0004565, allocations: 9.5 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2412/0.2417, allocations: 106.3 MB / 0.9002 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.154/6.395, allocations: 2.236 GB / 3.136 GB, free: 222.2 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002975/6.396, allocations: 97.2 kB / 3.136 GB, free: 222.2 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 19.54/25.94, allocations: 4.266 GB / 7.402 GB, free: 72.95 MB / 1.042 GB Notification: Performance of FrontEnd: time 3.617e-06/25.94, allocations: 0 / 7.402 GB, free: 72.95 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.001504/25.94, allocations: 165.6 kB / 7.402 GB, free: 72.95 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: 825 * Number of variables: 825 Notification: Performance of Generate backend data structure: time 0.04894/25.99, allocations: 10.98 MB / 7.413 GB, free: 71.29 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 5.641e-05/25.99, allocations: 12.28 kB / 7.413 GB, free: 71.29 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002947/25.99, allocations: 453.1 kB / 7.414 GB, free: 71.23 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01889/26.01, allocations: 1.658 MB / 7.415 GB, free: 70.84 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03665/26.05, allocations: 11.27 MB / 7.426 GB, free: 69.88 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004805/26.05, allocations: 292.3 kB / 7.427 GB, free: 69.87 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001855/26.05, allocations: 389.7 kB / 7.427 GB, free: 69.86 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01038/26.06, allocations: 4.412 MB / 7.431 GB, free: 69.41 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.856e-05/26.06, allocations: 1.266 kB / 7.431 GB, free: 69.41 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004679/26.06, allocations: 138.8 kB / 7.431 GB, free: 69.41 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001104/26.06, allocations: 120 kB / 7.431 GB, free: 69.41 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007555/26.07, allocations: 3.249 MB / 7.435 GB, free: 69.38 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.04613/26.11, allocations: 20.23 MB / 7.454 GB, free: 61.71 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008304/26.12, allocations: 3.108 MB / 7.457 GB, free: 61.3 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005543/26.12, allocations: 230.7 kB / 7.458 GB, free: 61.11 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004535/26.13, allocations: 1.855 MB / 7.459 GB, free: 61.04 MB / 1.042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004914/26.13, allocations: 365.3 kB / 7.46 GB, free: 60.91 MB / 1.042 GB Notification: Performance of pre-optimization done (n=207): time 1.886e-05/26.13, allocations: 0 / 7.46 GB, free: 60.91 MB / 1.042 GB Notification: Performance of matching and sorting (n=207): time 0.01184/26.15, allocations: 4.297 MB / 7.464 GB, free: 60.3 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001727/26.15, allocations: 340.8 kB / 7.464 GB, free: 59.93 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01518/26.16, allocations: 6.46 MB / 7.471 GB, free: 59.54 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.001388/26.16, allocations: 92.89 kB / 7.471 GB, free: 59.51 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.003614/26.17, allocations: 2.86 MB / 7.474 GB, free: 58.86 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.001586/26.17, allocations: 0.7189 MB / 7.474 GB, free: 58.39 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002447/26.17, allocations: 61.22 kB / 7.474 GB, free: 58.39 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0002228/26.17, allocations: 435.7 kB / 7.475 GB, free: 58.08 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00256/26.17, allocations: 1.334 MB / 7.476 GB, free: 58.07 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003393/26.17, allocations: 2.638 MB / 7.479 GB, free: 56.53 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003201/26.18, allocations: 1.708 MB / 7.48 GB, free: 56.45 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.408e-05/26.18, allocations: 7.219 kB / 7.48 GB, free: 56.45 MB / 1.042 GB Notification: Performance of matching and sorting (n=420) (initialization): time 0.01037/26.19, allocations: 4.505 MB / 7.485 GB, free: 55.98 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.005223/26.19, allocations: 14.86 MB / 7.499 GB, free: 40.12 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001579/26.19, allocations: 36.33 kB / 7.499 GB, free: 40.12 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001022/26.19, allocations: 243.3 kB / 7.499 GB, free: 40.11 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004634/26.2, allocations: 0.7323 MB / 7.5 GB, free: 40.11 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00606/26.2, allocations: 3.452 MB / 7.504 GB, free: 53.3 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008926/26.21, allocations: 347.4 kB / 7.504 GB, free: 53.28 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001514/26.22, allocations: 273.3 kB / 7.504 GB, free: 53.28 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/26.22, allocations: 5.906 kB / 7.504 GB, free: 53.28 MB / 1.057 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009668/26.22, allocations: 4.314 MB / 7.508 GB, free: 53.15 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001374/26.22, allocations: 37.09 kB / 7.508 GB, free: 53.15 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001273/26.23, allocations: 0.5456 MB / 7.509 GB, free: 53.13 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002924/26.23, allocations: 0.7102 MB / 7.51 GB, free: 53.13 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01114/26.24, allocations: 7.401 MB / 7.517 GB, free: 50 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007839/26.25, allocations: 349 kB / 7.517 GB, free: 49.97 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001072/26.25, allocations: 232.4 kB / 7.517 GB, free: 49.97 MB / 1.057 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 133 * 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 (361): * Single equations (assignments): 343 * Array equations: 8 * Algorithm blocks: 1 * Record equations: 4 * 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.006116/26.26, allocations: 1.623 MB / 7.519 GB, free: 49.76 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002348/26.26, allocations: 0.5583 MB / 7.52 GB, free: 49.45 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008815/26.27, allocations: 3.368 MB / 7.523 GB, free: 49.25 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-05/26.27, allocations: 17.44 kB / 7.523 GB, free: 49.25 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/26.27, allocations: 7.438 kB / 7.523 GB, free: 49.25 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005096/26.27, allocations: 2.844 MB / 7.526 GB, free: 48.73 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.0321/26.3, allocations: 9.054 MB / 7.534 GB, free: 47.86 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.643e-05/26.3, allocations: 3.875 kB / 7.534 GB, free: 47.86 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003406/26.31, allocations: 0.5429 MB / 7.535 GB, free: 47.85 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007376/26.31, allocations: 238.4 kB / 7.535 GB, free: 47.83 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000518/26.31, allocations: 72.11 kB / 7.535 GB, free: 47.83 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002896/26.31, allocations: 3.297 MB / 7.538 GB, free: 45.02 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/26.31, allocations: 1.594 kB / 7.538 GB, free: 45.02 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01196/26.32, allocations: 5.139 MB / 7.544 GB, free: 44.01 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00577/26.33, allocations: 1.232 MB / 7.545 GB, free: 43.61 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002862/26.33, allocations: 51.19 kB / 7.545 GB, free: 43.61 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006146/26.34, allocations: 344.7 kB / 7.545 GB, free: 43.59 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004271/26.34, allocations: 136.6 kB / 7.545 GB, free: 43.59 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003573/26.34, allocations: 106.9 kB / 7.545 GB, free: 43.59 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.01246/26.35, allocations: 4.94 MB / 7.55 GB, free: 43.37 MB / 1.057 GB Notification: Performance of sort global known variables: time 8.72e-07/26.35, allocations: 0 / 7.55 GB, free: 43.37 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.02122/26.37, allocations: 3.617 MB / 7.554 GB, free: 43.02 MB / 1.057 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 20 (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],fan3.filter.x[1],fan3.filter.x[2],fan2.vol.dynBal.U,fan2.vol.dynBal.m,fan2.vol.dynBal.mXi[1],fan2.filter.x[1],fan2.filter.x[2],fan4.vol.dynBal.U,fan4.vol.dynBal.m,fan4.vol.dynBal.mXi[1],fan4.filter.x[1],fan4.filter.x[2]) * 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 (203): * Single equations (assignments): 196 * 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.03545/26.41, allocations: 16.83 MB / 7.57 GB, free: 35.36 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.01658/26.43, allocations: 6.084 MB / 7.576 GB, free: 34.69 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 1.678e-05/26.43, allocations: 8.438 kB / 7.576 GB, free: 34.69 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.004091/26.43, allocations: 1.369 MB / 7.577 GB, free: 34.68 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02039/26.45, allocations: 3.273 MB / 7.581 GB, free: 34.59 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05851/26.51, allocations: 36.23 MB / 7.616 GB, free: 23.39 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007654/26.52, allocations: 3.626 MB / 7.62 GB, free: 22.56 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.01062/26.53, allocations: 1.673 MB / 7.621 GB, free: 22.5 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006191/26.53, allocations: 2.743 MB / 7.624 GB, free: 22.5 MB / 1.073 GB Notification: Performance of SimCode: time 1.463e-06/26.53, allocations: 0 / 7.624 GB, free: 22.5 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.506/28.04, allocations: 280.5 MB / 7.898 GB, free: 95.5 MB / 1.104 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002389/28.04, allocations: 285.9 kB / 7.898 GB, free: 95.14 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.23/43.27, allocations: 0 / 7.898 GB, free: 95.14 MB / 1.104 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Movers_Validation_ControlledFlowMachineDynamic_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Movers_Validation_ControlledFlowMachineDynamic.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe 2>&1)