Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.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.ControlledFlowMachine,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Movers_Validation_ControlledFlowMachine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.ControlledFlowMachine,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.387/1.387, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001128/0.001128, allocations: 171.5 kB / 326.5 MB, free: 2.238 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.919/1.919, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.0009607/0.0009608, allocations: 82.38 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004088/0.0004088, allocations: 10.03 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2494/0.2498, allocations: 106.3 MB / 0.9001 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.22/6.47, allocations: 2.236 GB / 3.136 GB, free: 222.7 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003591/6.471, allocations: 101.2 kB / 3.136 GB, free: 222.7 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 18.37/24.84, allocations: 4.219 GB / 7.355 GB, free: 62.9 MB / 1.042 GB Notification: Performance of FrontEnd: time 4.148e-06/24.84, allocations: 0 / 7.355 GB, free: 62.9 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.001989/24.84, allocations: 143.9 kB / 7.356 GB, free: 62.76 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.04265/24.89, allocations: 10.58 MB / 7.366 GB, free: 52.12 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 7.592e-05/24.89, allocations: 12.03 kB / 7.366 GB, free: 52.11 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002774/24.89, allocations: 409.2 kB / 7.366 GB, free: 51.7 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01363/24.9, allocations: 1.451 MB / 7.368 GB, free: 50.24 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03411/24.94, allocations: 10.91 MB / 7.378 GB, free: 39.24 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000438/24.94, allocations: 261.9 kB / 7.379 GB, free: 38.98 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002041/24.94, allocations: 351.9 kB / 7.379 GB, free: 38.64 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01325/24.95, allocations: 3.992 MB / 7.383 GB, free: 34.52 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.022e-05/24.95, allocations: 7.938 kB / 7.383 GB, free: 34.51 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004428/24.95, allocations: 124 kB / 7.383 GB, free: 34.39 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.206e-05/24.95, allocations: 101.7 kB / 7.383 GB, free: 34.29 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005843/24.96, allocations: 2.954 MB / 7.386 GB, free: 31.32 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.03141/24.99, allocations: 19.42 MB / 7.405 GB, free: 10.76 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004118/24.99, allocations: 2.671 MB / 7.408 GB, free: 8.031 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003308/24.99, allocations: 224.1 kB / 7.408 GB, free: 7.777 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002237/25, allocations: 1.67 MB / 7.409 GB, free: 6.094 MB / 1.042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004114/25, allocations: 405.5 kB / 7.41 GB, free: 5.695 MB / 1.042 GB Notification: Performance of pre-optimization done (n=179): time 9.478e-06/25, allocations: 0 / 7.41 GB, free: 5.695 MB / 1.042 GB Notification: Performance of matching and sorting (n=179): time 0.00836/25.01, allocations: 3.85 MB / 7.414 GB, free: 1.793 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.684e-05/25.01, allocations: 150.5 kB / 7.414 GB, free: 1.617 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.9856/25.99, allocations: 6.26 MB / 7.42 GB, free: 80.38 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.001167/26, allocations: 86.86 kB / 7.42 GB, free: 80.35 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.004882/26, allocations: 2.666 MB / 7.423 GB, free: 80.22 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.001634/26, allocations: 0.6155 MB / 7.423 GB, free: 80.05 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002574/26, allocations: 54.31 kB / 7.423 GB, free: 80.05 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0003081/26, allocations: 424.9 kB / 7.424 GB, free: 79.75 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002994/26.01, allocations: 1.153 MB / 7.425 GB, free: 79.74 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003891/26.01, allocations: 2.418 MB / 7.427 GB, free: 78.23 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00327/26.01, allocations: 1.514 MB / 7.429 GB, free: 78.16 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.257e-05/26.01, allocations: 10.19 kB / 7.429 GB, free: 78.16 MB / 1.042 GB Notification: Performance of matching and sorting (n=378) (initialization): time 0.01032/26.02, allocations: 4.053 MB / 7.432 GB, free: 77.75 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.003779/26.03, allocations: 15.07 MB / 7.447 GB, free: 62.52 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001186/26.03, allocations: 32.94 kB / 7.447 GB, free: 62.52 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009292/26.03, allocations: 241.8 kB / 7.447 GB, free: 62.51 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003614/26.03, allocations: 0.6431 MB / 7.448 GB, free: 62.51 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002893/26.04, allocations: 3.446 MB / 7.451 GB, free: 59.71 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007005/26.04, allocations: 329.1 kB / 7.452 GB, free: 59.7 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008926/26.04, allocations: 260.3 kB / 7.452 GB, free: 59.7 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/26.04, allocations: 5.438 kB / 7.452 GB, free: 59.7 MB / 1.042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007753/26.05, allocations: 3.986 MB / 7.456 GB, free: 59.6 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000105/26.05, allocations: 32.19 kB / 7.456 GB, free: 59.6 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001273/26.05, allocations: 0.5454 MB / 7.456 GB, free: 59.58 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002499/26.05, allocations: 0.6441 MB / 7.457 GB, free: 59.58 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0103/26.07, allocations: 7.404 MB / 7.464 GB, free: 56.45 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006904/26.07, allocations: 330.4 kB / 7.465 GB, free: 56.43 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001001/26.07, allocations: 230.6 kB / 7.465 GB, free: 56.43 MB / 1.042 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.006247/26.08, allocations: 1.547 MB / 7.466 GB, free: 56.25 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003057/26.08, allocations: 0.5244 MB / 7.467 GB, free: 55.96 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01083/26.09, allocations: 3.001 MB / 7.47 GB, free: 55.76 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.15e-05/26.09, allocations: 18.97 kB / 7.47 GB, free: 55.76 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.404e-05/26.09, allocations: 3.469 kB / 7.47 GB, free: 55.76 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004498/26.1, allocations: 2.534 MB / 7.472 GB, free: 55.25 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 postOpt removeSimpleEquations (simulation): time 0.02285/26.12, allocations: 8.346 MB / 7.48 GB, free: 54.39 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-05/26.12, allocations: 2.344 kB / 7.48 GB, free: 54.39 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002502/26.12, allocations: 488.1 kB / 7.481 GB, free: 54.39 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007875/26.12, allocations: 233.2 kB / 7.481 GB, free: 54.37 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001913/26.12, allocations: 52.19 kB / 7.481 GB, free: 54.37 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002055/26.13, allocations: 3.299 MB / 7.484 GB, free: 51.57 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/26.13, allocations: 3 kB / 7.484 GB, free: 51.57 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008273/26.13, allocations: 4.585 MB / 7.489 GB, free: 50.59 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005048/26.14, allocations: 1.162 MB / 7.49 GB, free: 50.2 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002007/26.14, allocations: 45.38 kB / 7.49 GB, free: 50.2 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004832/26.15, allocations: 317.4 kB / 7.49 GB, free: 50.19 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003468/26.15, allocations: 129.7 kB / 7.491 GB, free: 50.19 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002636/26.15, allocations: 93.19 kB / 7.491 GB, free: 50.19 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.01123/26.16, allocations: 4.78 MB / 7.495 GB, free: 49.97 MB / 1.042 GB Notification: Performance of sort global known variables: time 1.083e-06/26.16, allocations: 0 / 7.495 GB, free: 49.97 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.01873/26.18, allocations: 3.481 MB / 7.499 GB, free: 49.85 MB / 1.042 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.03048/26.21, allocations: 16.28 MB / 7.515 GB, free: 42.29 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.012/26.22, allocations: 5.344 MB / 7.52 GB, free: 41.81 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.589e-05/26.22, allocations: 0.5625 kB / 7.52 GB, free: 41.81 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.002734/26.22, allocations: 1.209 MB / 7.521 GB, free: 41.79 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0179/26.24, allocations: 3.156 MB / 7.524 GB, free: 41.72 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05216/26.29, allocations: 35.81 MB / 7.559 GB, free: 46.38 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00613/26.3, allocations: 3.44 MB / 7.562 GB, free: 45.56 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.009196/26.31, allocations: 1.568 MB / 7.564 GB, free: 45.51 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00535/26.31, allocations: 2.578 MB / 7.566 GB, free: 45.5 MB / 1.073 GB Notification: Performance of SimCode: time 3.667e-06/26.31, allocations: 0 / 7.566 GB, free: 45.5 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.466/27.78, allocations: 272.5 MB / 7.833 GB, free: 141.5 MB / 1.12 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002483/27.78, allocations: 267.4 kB / 7.833 GB, free: 141.1 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.43/41.21, allocations: 0 / 7.833 GB, free: 141.1 MB / 1.12 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Movers_Validation_ControlledFlowMachine_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Movers_Validation_ControlledFlowMachine.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.pipe 2>&1)