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.533/1.533, allocations: 249.3 MB / 261.8 MB, free: 5.852 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.001595/0.001595, allocations: 180.6 kB / 321.3 MB, free: 14.66 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.729/1.729, allocations: 205.2 MB / 0.572 GB, free: 10.68 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.0008966/0.0008967, allocations: 84.8 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.099e-05/4.111e-05, allocations: 4 kB / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.242/0.242, allocations: 106.3 MB / 0.8919 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.389/5.631, allocations: 2.236 GB / 3.128 GB, free: 130.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002572/5.631, allocations: 93.05 kB / 3.128 GB, free: 130.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 16.91/22.54, allocations: 4.262 GB / 7.39 GB, free: 79.13 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.715e-06/22.54, allocations: 3.75 kB / 7.39 GB, free: 79.13 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.001274/22.54, allocations: 157.7 kB / 7.39 GB, free: 79.11 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.02477/22.57, allocations: 6.08 MB / 7.396 GB, free: 76.43 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 5.791e-05/22.57, allocations: 12.66 kB / 7.396 GB, free: 76.43 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00218/22.57, allocations: 444.6 kB / 7.397 GB, free: 76.37 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01367/22.58, allocations: 1.662 MB / 7.398 GB, free: 75.98 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02959/22.61, allocations: 11.2 MB / 7.409 GB, free: 74.79 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004442/22.61, allocations: 284 kB / 7.41 GB, free: 74.78 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002006/22.61, allocations: 388.7 kB / 7.41 GB, free: 74.78 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009124/22.62, allocations: 4.301 MB / 7.414 GB, free: 74.32 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.546e-05/22.62, allocations: 2.812 kB / 7.414 GB, free: 74.32 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004442/22.62, allocations: 139.6 kB / 7.414 GB, free: 74.32 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001019/22.62, allocations: 118.4 kB / 7.414 GB, free: 74.32 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005877/22.63, allocations: 3.082 MB / 7.417 GB, free: 74.28 MB / 1.042 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.03729/22.67, allocations: 20.23 MB / 7.437 GB, free: 66.61 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005798/22.67, allocations: 2.975 MB / 7.44 GB, free: 66.17 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002024/22.68, allocations: 1.32 MB / 7.441 GB, free: 66.15 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003791/22.68, allocations: 233.3 kB / 7.442 GB, free: 65.96 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002554/22.68, allocations: 1.784 MB / 7.443 GB, free: 65.89 MB / 1.042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004494/22.68, allocations: 363.4 kB / 7.444 GB, free: 65.76 MB / 1.042 GB Notification: Performance of pre-optimization done (n=207): time 1.112e-05/22.68, allocations: 0 / 7.444 GB, free: 65.76 MB / 1.042 GB Notification: Performance of matching and sorting (n=207): time 0.006668/22.69, allocations: 2.895 MB / 7.446 GB, free: 65.35 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001243/22.69, allocations: 338.1 kB / 7.447 GB, free: 64.97 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01398/22.7, allocations: 6.402 MB / 7.453 GB, free: 64.55 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.001224/22.71, allocations: 96.34 kB / 7.453 GB, free: 64.52 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.003729/22.71, allocations: 2.839 MB / 7.456 GB, free: 63.88 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.001479/22.71, allocations: 0.7246 MB / 7.457 GB, free: 63.41 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002726/22.71, allocations: 59.94 kB / 7.457 GB, free: 63.41 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0002454/22.71, allocations: 444.8 kB / 7.457 GB, free: 63.09 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002011/22.71, allocations: 1.257 MB / 7.458 GB, free: 63.08 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002689/22.72, allocations: 2.56 MB / 7.461 GB, free: 61.55 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002512/22.72, allocations: 1.65 MB / 7.462 GB, free: 61.45 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.822e-05/22.72, allocations: 9.938 kB / 7.462 GB, free: 61.45 MB / 1.042 GB Notification: Performance of matching and sorting (n=420) (initialization): time 0.008454/22.73, allocations: 4.353 MB / 7.467 GB, free: 60.98 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.003626/22.73, allocations: 14.86 MB / 7.481 GB, free: 45.11 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.222e-05/22.73, allocations: 36.25 kB / 7.481 GB, free: 45.11 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007835/22.73, allocations: 252.6 kB / 7.482 GB, free: 45.09 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003762/22.74, allocations: 0.733 MB / 7.482 GB, free: 45.09 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002566/22.74, allocations: 3.454 MB / 7.486 GB, free: 42.29 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006536/22.74, allocations: 363.9 kB / 7.486 GB, free: 42.27 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000684/22.75, allocations: 270.1 kB / 7.486 GB, free: 42.27 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/22.75, allocations: 9.875 kB / 7.486 GB, free: 42.27 MB / 1.042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006972/22.75, allocations: 4.198 MB / 7.49 GB, free: 42.13 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000155/22.75, allocations: 37.61 kB / 7.49 GB, free: 42.13 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001427/22.75, allocations: 0.5598 MB / 7.491 GB, free: 42.11 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003502/22.76, allocations: 0.7076 MB / 7.492 GB, free: 42.11 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01061/22.77, allocations: 7.261 MB / 7.499 GB, free: 38.89 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006902/22.77, allocations: 350.2 kB / 7.499 GB, free: 38.86 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001005/22.78, allocations: 229.9 kB / 7.499 GB, free: 38.86 MB / 1.042 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.001848/22.78, allocations: 311.4 kB / 7.5 GB, free: 38.73 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002223/22.78, allocations: 0.5598 MB / 7.5 GB, free: 38.43 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009555/22.79, allocations: 3.239 MB / 7.503 GB, free: 38.22 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-05/22.79, allocations: 18.91 kB / 7.503 GB, free: 38.22 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.088e-05/22.79, allocations: 3.719 kB / 7.503 GB, free: 38.22 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004573/22.79, allocations: 2.714 MB / 7.506 GB, free: 37.7 MB / 1.042 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.02619/22.82, allocations: 8.977 MB / 7.515 GB, free: 36.81 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-05/22.82, allocations: 3.562 kB / 7.515 GB, free: 36.81 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003137/22.82, allocations: 0.5392 MB / 7.515 GB, free: 36.81 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007134/22.82, allocations: 234.5 kB / 7.515 GB, free: 36.79 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005927/22.83, allocations: 73.88 kB / 7.515 GB, free: 36.79 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00203/22.83, allocations: 3.291 MB / 7.519 GB, free: 33.98 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-06/22.83, allocations: 6.031 kB / 7.519 GB, free: 33.98 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01021/22.84, allocations: 4.915 MB / 7.524 GB, free: 32.98 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005057/22.84, allocations: 1.236 MB / 7.525 GB, free: 32.3 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002686/22.85, allocations: 57.77 kB / 7.525 GB, free: 32.27 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005919/22.85, allocations: 350.8 kB / 7.525 GB, free: 32.21 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005119/22.85, allocations: 137.9 kB / 7.525 GB, free: 32.2 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004454/22.85, allocations: 108.5 kB / 7.525 GB, free: 32.18 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.01246/22.86, allocations: 4.87 MB / 7.53 GB, free: 30.22 MB / 1.042 GB Notification: Performance of sort global known variables: time 5.01e-07/22.86, allocations: 0 / 7.53 GB, free: 30.22 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.01931/22.88, allocations: 3.612 MB / 7.534 GB, free: 29.32 MB / 1.042 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.02919/22.91, allocations: 16.63 MB / 7.55 GB, free: 20.07 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.01419/22.93, allocations: 6.112 MB / 7.556 GB, free: 17.5 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-05/22.93, allocations: 8.016 kB / 7.556 GB, free: 17.5 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.003222/22.93, allocations: 1.299 MB / 7.557 GB, free: 17.07 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01854/22.95, allocations: 3.272 MB / 7.56 GB, free: 16.38 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03734/22.99, allocations: 10.53 MB / 7.571 GB, free: 12.1 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00714/22.99, allocations: 3.632 MB / 7.574 GB, free: 9.426 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.01757/23.01, allocations: 2.96 MB / 7.577 GB, free: 7.531 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005769/23.02, allocations: 2.598 MB / 7.58 GB, free: 5.133 MB / 1.042 GB Notification: Performance of SimCode: time 1.653e-06/23.02, allocations: 0 / 7.58 GB, free: 5.133 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.405/24.42, allocations: 303.4 MB / 7.876 GB, free: 69.42 MB / 1.073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002302/24.42, allocations: 250.2 kB / 7.876 GB, free: 69.09 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.4/40.82, allocations: 4 kB / 7.876 GB, free: 69.09 MB / 1.073 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)