Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic,fileNamePrefix="Buildings_8_Buildings_Fluid_Movers_Validation_ControlledFlowMachineDynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.671/1.671, allocations: 289.9 MB / 297.4 MB, free: 6.312 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.001108/0.001108, allocations: 164.9 kB / 366.7 MB, free: 1.648 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.83/1.83, allocations: 205.3 MB / 0.626 GB, free: 7.145 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.0008391/0.0008388, allocations: 94.22 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.68e-05/2.682e-05, allocations: 4 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6769/0.677, allocations: 116.3 MB / 0.9733 GB, free: 76 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.45/6.127, allocations: 2.118 GB / 3.091 GB, free: 340.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002296/6.128, allocations: 90.61 kB / 3.091 GB, free: 340.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 17.29/23.42, allocations: 4.329 GB / 7.421 GB, free: 89.27 MB / 1.104 GB Notification: Performance of FrontEnd: time 2.755e-06/23.42, allocations: 0 / 7.421 GB, free: 89.27 MB / 1.104 GB Notification: Performance of Transformations before backend: time 0.001432/23.42, allocations: 162.9 kB / 7.421 GB, free: 89.24 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.02894/23.45, allocations: 6.071 MB / 7.427 GB, free: 86.95 MB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 5.795e-05/23.45, allocations: 10.44 kB / 7.427 GB, free: 86.95 MB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01481/23.47, allocations: 1.657 MB / 7.428 GB, free: 86.56 MB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03304/23.5, allocations: 11.17 MB / 7.439 GB, free: 85.38 MB / 1.104 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002718/23.5, allocations: 102.5 kB / 7.439 GB, free: 85.38 MB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001989/23.5, allocations: 223.7 kB / 7.44 GB, free: 85.38 MB / 1.104 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008207/23.51, allocations: 3.468 MB / 7.443 GB, free: 85.36 MB / 1.104 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00738/23.52, allocations: 3.805 MB / 7.447 GB, free: 84.93 MB / 1.104 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.954e-05/23.52, allocations: 0 / 7.447 GB, free: 84.93 MB / 1.104 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000352/23.52, allocations: 13.73 kB / 7.447 GB, free: 84.92 MB / 1.104 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001088/23.52, allocations: 110.6 kB / 7.447 GB, free: 84.91 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.03933/23.56, allocations: 19.52 MB / 7.466 GB, free: 77.36 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006873/23.56, allocations: 3.744 MB / 7.47 GB, free: 76.94 MB / 1.104 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003083/23.57, allocations: 1.675 MB / 7.471 GB, free: 76.92 MB / 1.104 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004635/23.57, allocations: 231 kB / 7.471 GB, free: 76.73 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002886/23.57, allocations: 1.706 MB / 7.473 GB, free: 76.66 MB / 1.104 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004352/23.58, allocations: 282.8 kB / 7.473 GB, free: 76.55 MB / 1.104 GB Notification: Performance of pre-optimization done (n=207): time 9.618e-06/23.58, allocations: 3.75 kB / 7.473 GB, free: 76.55 MB / 1.104 GB Notification: Performance of matching and sorting (n=207): time 0.009117/23.58, allocations: 3.807 MB / 7.477 GB, free: 76.15 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001246/23.59, allocations: 337.9 kB / 7.477 GB, free: 75.77 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01785/23.6, allocations: 5.886 MB / 7.483 GB, free: 75.38 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 0.001439/23.6, allocations: 33.17 kB / 7.483 GB, free: 75.35 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.005328/23.61, allocations: 2.846 MB / 7.486 GB, free: 74.67 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 0.002202/23.61, allocations: 0.6906 MB / 7.487 GB, free: 74.21 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009809/23.61, allocations: 0 / 7.487 GB, free: 74.21 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 0.0004547/23.61, allocations: 440.8 kB / 7.487 GB, free: 73.9 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003754/23.62, allocations: 1.597 MB / 7.489 GB, free: 73.89 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005158/23.62, allocations: 2.878 MB / 7.491 GB, free: 72.36 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007/23.63, allocations: 2.047 MB / 7.493 GB, free: 72.3 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001209/23.63, allocations: 7.094 kB / 7.493 GB, free: 72.3 MB / 1.104 GB Notification: Performance of matching and sorting (n=420) (initialization): time 0.01735/23.65, allocations: 5.053 MB / 7.498 GB, free: 71.86 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 0.003627/23.65, allocations: 14.72 MB / 7.513 GB, free: 56.52 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001466/23.65, allocations: 36.52 kB / 7.513 GB, free: 56.52 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001129/23.65, allocations: 440.2 kB / 7.513 GB, free: 56.5 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00423/23.66, allocations: 0.7382 MB / 7.514 GB, free: 56.5 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004425/23.66, allocations: 4.48 MB / 7.518 GB, free: 53.7 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007142/23.67, allocations: 285.9 kB / 7.519 GB, free: 53.68 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001115/23.67, allocations: 269.6 kB / 7.519 GB, free: 53.68 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/23.67, allocations: 4.594 kB / 7.519 GB, free: 53.68 MB / 1.104 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01064/23.68, allocations: 3.919 MB / 7.523 GB, free: 53.57 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001661/23.68, allocations: 36.3 kB / 7.523 GB, free: 53.57 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001389/23.68, allocations: 0.5345 MB / 7.523 GB, free: 53.55 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003616/23.68, allocations: 0.7153 MB / 7.524 GB, free: 53.55 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01129/23.7, allocations: 7.008 MB / 7.531 GB, free: 50.44 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007203/23.7, allocations: 273.2 kB / 7.531 GB, free: 50.41 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001174/23.7, allocations: 237.1 kB / 7.531 GB, free: 50.41 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.002021/23.71, allocations: 208 kB / 7.531 GB, free: 50.29 MB / 1.104 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007902/23.71, allocations: 2.83 MB / 7.534 GB, free: 49.88 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002524/23.72, allocations: 0.5472 MB / 7.535 GB, free: 49.57 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008476/23.73, allocations: 3.13 MB / 7.538 GB, free: 49.38 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.852e-05/23.73, allocations: 22.59 kB / 7.538 GB, free: 49.38 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/23.73, allocations: 0 / 7.538 GB, free: 49.38 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004358/23.73, allocations: 2.676 MB / 7.54 GB, free: 48.85 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.02261/23.75, allocations: 8.521 MB / 7.549 GB, free: 48.02 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.239e-05/23.75, allocations: 3.031 kB / 7.549 GB, free: 48.02 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002787/23.76, allocations: 0.5369 MB / 7.549 GB, free: 48.01 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003809/23.76, allocations: 178.7 kB / 7.55 GB, free: 48 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00019/23.76, allocations: 43.52 kB / 7.55 GB, free: 48 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001775/23.76, allocations: 3.349 MB / 7.553 GB, free: 45.19 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/23.76, allocations: 2.406 kB / 7.553 GB, free: 45.19 MB / 1.104 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007856/23.77, allocations: 4.835 MB / 7.558 GB, free: 44.19 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004219/23.77, allocations: 1.19 MB / 7.559 GB, free: 43.8 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001949/23.77, allocations: 15.89 kB / 7.559 GB, free: 43.8 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004455/23.78, allocations: 296.7 kB / 7.559 GB, free: 43.78 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002903/23.78, allocations: 139.3 kB / 7.559 GB, free: 43.77 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002214/23.78, allocations: 105 kB / 7.559 GB, free: 43.77 MB / 1.104 GB Notification: Performance of sorting global known variables: time 0.008757/23.79, allocations: 4.402 MB / 7.564 GB, free: 43.56 MB / 1.104 GB Notification: Performance of sort global known variables: time 7.52e-07/23.79, allocations: 0 / 7.564 GB, free: 43.56 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.01627/23.8, allocations: 3.269 MB / 7.567 GB, free: 43.18 MB / 1.104 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.02587/23.83, allocations: 16.88 MB / 7.583 GB, free: 35.59 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.01279/23.84, allocations: 6.5 MB / 7.59 GB, free: 34.88 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 1.134e-05/23.84, allocations: 0.6719 kB / 7.59 GB, free: 34.88 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.002424/23.84, allocations: 1.264 MB / 7.591 GB, free: 34.87 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01777/23.86, allocations: 3.051 MB / 7.594 GB, free: 34.81 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03237/23.89, allocations: 10.25 MB / 7.604 GB, free: 32.53 MB / 1.104 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005626/23.9, allocations: 3.616 MB / 7.607 GB, free: 31.69 MB / 1.104 GB Notification: Performance of simCode: alias equations: time 0.01528/23.91, allocations: 2.863 MB / 7.61 GB, free: 31.64 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004931/23.92, allocations: 2.585 MB / 7.613 GB, free: 31.63 MB / 1.104 GB Notification: Performance of SimCode: time 1.313e-06/23.92, allocations: 0 / 7.613 GB, free: 31.63 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.426/25.35, allocations: 219.7 MB / 7.827 GB, free: 129.9 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002493/25.35, allocations: 183.3 kB / 7.827 GB, free: 129.7 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.37/38.72, allocations: 1.469 kB / 7.827 GB, free: 129.7 MB / 1.151 GB (rm -f Buildings_8_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe ; mkfifo Buildings_8_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe >> ../files/Buildings_8_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Movers_Validation_ControlledFlowMachineDynamic_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Movers_Validation_ControlledFlowMachineDynamic.fmu > Buildings_8_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe 2>&1)