Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Movers_Validation_ControlledFlowMachineDynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.675/1.675, allocations: 285.6 MB / 293.1 MB, free: 10.23 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001155/0.001156, allocations: 168.9 kB / 361.4 MB, free: 6.852 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.656/1.656, allocations: 205.2 MB / 0.62 GB, free: 11.64 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001456/0.001456, allocations: 95.67 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.47e-05/2.473e-05, allocations: 4 kB / 0.8518 GB, free: 2.648 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6942/0.6942, allocations: 115.3 MB / 0.9644 GB, free: 78.76 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.614/5.308, allocations: 2.117 GB / 3.081 GB, free: 41.31 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000191/5.308, allocations: 95.94 kB / 3.082 GB, free: 41.22 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 17.29/22.6, allocations: 4.329 GB / 7.411 GB, free: 82.36 MB / 1.104 GB Notification: Performance of FrontEnd: time 3.917e-06/22.6, allocations: 1.531 kB / 7.411 GB, free: 82.36 MB / 1.104 GB Notification: Performance of Transformations before backend: time 0.001544/22.6, allocations: 166.5 kB / 7.411 GB, free: 82.35 MB / 1.104 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 817 * Number of variables: 817 Notification: Performance of Generate backend data structure: time 0.02659/22.63, allocations: 6.064 MB / 7.417 GB, free: 80.16 MB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/22.63, allocations: 9.562 kB / 7.417 GB, free: 80.16 MB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01473/22.64, allocations: 1.655 MB / 7.419 GB, free: 79.77 MB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03678/22.68, allocations: 11.17 MB / 7.43 GB, free: 78.7 MB / 1.104 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003747/22.68, allocations: 105.7 kB / 7.43 GB, free: 78.7 MB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002544/22.68, allocations: 230.1 kB / 7.43 GB, free: 78.7 MB / 1.104 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01025/22.69, allocations: 3.467 MB / 7.433 GB, free: 78.68 MB / 1.104 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01486/22.71, allocations: 3.807 MB / 7.437 GB, free: 78.24 MB / 1.104 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001022/22.71, allocations: 3.719 kB / 7.437 GB, free: 78.24 MB / 1.104 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004953/22.71, allocations: 6.812 kB / 7.437 GB, free: 78.24 MB / 1.104 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001921/22.71, allocations: 119.7 kB / 7.437 GB, free: 78.23 MB / 1.104 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.04294/22.75, allocations: 19.52 MB / 7.456 GB, free: 70.68 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007422/22.76, allocations: 3.743 MB / 7.46 GB, free: 70.25 MB / 1.104 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003296/22.76, allocations: 1.679 MB / 7.461 GB, free: 70.23 MB / 1.104 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004759/22.76, allocations: 230 kB / 7.462 GB, free: 70.05 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004366/22.77, allocations: 1.706 MB / 7.463 GB, free: 69.97 MB / 1.104 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0052/22.77, allocations: 276.9 kB / 7.464 GB, free: 69.87 MB / 1.104 GB Notification: Performance of pre-optimization done (n=207): time 1.163e-05/22.77, allocations: 0.625 kB / 7.464 GB, free: 69.87 MB / 1.104 GB Notification: Performance of matching and sorting (n=207): time 0.01228/22.79, allocations: 3.813 MB / 7.467 GB, free: 69.46 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001428/22.79, allocations: 338.5 kB / 7.468 GB, free: 69.09 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02038/22.81, allocations: 5.883 MB / 7.473 GB, free: 68.7 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 0.001248/22.81, allocations: 35.58 kB / 7.473 GB, free: 68.67 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.00573/22.81, allocations: 2.841 MB / 7.476 GB, free: 67.99 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 0.002474/22.82, allocations: 0.6892 MB / 7.477 GB, free: 67.53 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00125/22.82, allocations: 0 / 7.477 GB, free: 67.53 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 0.000547/22.82, allocations: 442.8 kB / 7.477 GB, free: 67.21 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004303/22.82, allocations: 1.602 MB / 7.479 GB, free: 67.2 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005093/22.83, allocations: 2.878 MB / 7.482 GB, free: 65.67 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005577/22.83, allocations: 2.048 MB / 7.484 GB, free: 65.62 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.305e-05/22.83, allocations: 6.344 kB / 7.484 GB, free: 65.62 MB / 1.104 GB Notification: Performance of matching and sorting (n=420) (initialization): time 0.01312/22.85, allocations: 5.057 MB / 7.489 GB, free: 65.18 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 0.003405/22.85, allocations: 14.72 MB / 7.503 GB, free: 49.85 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001354/22.85, allocations: 36.61 kB / 7.503 GB, free: 49.85 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001136/22.85, allocations: 439.4 kB / 7.503 GB, free: 49.83 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004172/22.85, allocations: 0.7335 MB / 7.504 GB, free: 49.83 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004715/22.86, allocations: 4.486 MB / 7.509 GB, free: 47.03 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008017/22.87, allocations: 281.2 kB / 7.509 GB, free: 47.01 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001151/22.87, allocations: 269.5 kB / 7.509 GB, free: 47.01 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/22.87, allocations: 6.781 kB / 7.509 GB, free: 47.01 MB / 1.104 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01127/22.88, allocations: 3.913 MB / 7.513 GB, free: 46.91 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002096/22.88, allocations: 37.5 kB / 7.513 GB, free: 46.91 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001552/22.88, allocations: 0.5275 MB / 7.513 GB, free: 46.89 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003193/22.89, allocations: 0.7085 MB / 7.514 GB, free: 46.89 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01099/22.9, allocations: 7.022 MB / 7.521 GB, free: 43.78 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00753/22.9, allocations: 268 kB / 7.521 GB, free: 43.75 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00123/22.91, allocations: 237.3 kB / 7.521 GB, free: 43.75 MB / 1.104 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (359): * Single equations (assignments): 341 * 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 6,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.002345/22.91, allocations: 217.5 kB / 7.522 GB, free: 43.62 MB / 1.104 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01074/22.92, allocations: 2.822 MB / 7.524 GB, free: 43.21 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002425/22.92, allocations: 0.5497 MB / 7.525 GB, free: 42.9 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00949/22.93, allocations: 3.127 MB / 7.528 GB, free: 42.72 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.406e-05/22.93, allocations: 19.28 kB / 7.528 GB, free: 42.72 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.585e-05/22.93, allocations: 2.531 kB / 7.528 GB, free: 42.72 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005126/22.94, allocations: 2.676 MB / 7.531 GB, free: 42.2 MB / 1.104 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.02544/22.96, allocations: 8.515 MB / 7.539 GB, free: 41.36 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-05/22.96, allocations: 4.844 kB / 7.539 GB, free: 41.36 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002978/22.96, allocations: 0.5398 MB / 7.539 GB, free: 41.36 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004217/22.96, allocations: 173.6 kB / 7.54 GB, free: 41.34 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00036/22.96, allocations: 41.97 kB / 7.54 GB, free: 41.34 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003933/22.97, allocations: 3.358 MB / 7.543 GB, free: 54.54 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.063e-05/22.97, allocations: 5.438 kB / 7.543 GB, free: 54.54 MB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01043/22.98, allocations: 4.828 MB / 7.548 GB, free: 53.53 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004796/22.98, allocations: 1.192 MB / 7.549 GB, free: 53.14 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003172/22.99, allocations: 18.34 kB / 7.549 GB, free: 53.14 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00609/22.99, allocations: 301.1 kB / 7.549 GB, free: 53.11 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004265/22.99, allocations: 138.1 kB / 7.549 GB, free: 53.11 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003622/22.99, allocations: 110.3 kB / 7.549 GB, free: 53.11 MB / 1.12 GB Notification: Performance of sorting global known variables: time 0.01438/23.01, allocations: 4.396 MB / 7.554 GB, free: 52.89 MB / 1.12 GB Notification: Performance of sort global known variables: time 8.62e-07/23.01, allocations: 0 / 7.554 GB, free: 52.89 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.02008/23.03, allocations: 3.259 MB / 7.557 GB, free: 52.52 MB / 1.12 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) * 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.03002/23.06, allocations: 16.89 MB / 7.573 GB, free: 44.91 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.01606/23.07, allocations: 6.496 MB / 7.58 GB, free: 44.21 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 1.896e-05/23.08, allocations: 3.391 kB / 7.58 GB, free: 44.21 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 0.003711/23.08, allocations: 1.258 MB / 7.581 GB, free: 44.19 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01844/23.1, allocations: 3.049 MB / 7.584 GB, free: 44.14 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04005/23.14, allocations: 10.25 MB / 7.594 GB, free: 41.88 MB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007925/23.15, allocations: 3.619 MB / 7.597 GB, free: 41.04 MB / 1.12 GB Notification: Performance of simCode: alias equations: time 0.01661/23.16, allocations: 2.861 MB / 7.6 GB, free: 40.99 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006334/23.17, allocations: 2.583 MB / 7.603 GB, free: 40.99 MB / 1.12 GB Notification: Performance of SimCode: time 1.823e-06/23.17, allocations: 2.938 kB / 7.603 GB, free: 40.99 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.439/24.61, allocations: 219.7 MB / 7.817 GB, free: 108.2 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002236/24.61, allocations: 206 kB / 7.818 GB, free: 108 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.51/37.12, allocations: 0 / 7.818 GB, free: 108 MB / 1.151 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Movers_Validation_ControlledFlowMachineDynamic_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Movers_Validation_ControlledFlowMachineDynamic.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe 2>&1)