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.835/1.835, allocations: 292.6 MB / 307.5 MB, free: 5.168 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.002134/0.002134, allocations: 187.6 kB / 377.1 MB, free: 1.512 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.936/1.936, allocations: 205.4 MB / 0.6366 GB, free: 8.621 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.001082/0.001082, allocations: 90.95 kB / 0.7509 GB, free: 62.86 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004207/0.0004207, allocations: 8 kB / 0.8749 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3348/0.3353, allocations: 116.3 MB / 0.9884 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.057/6.392, allocations: 2.119 GB / 3.107 GB, free: 97.46 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002657/6.392, allocations: 96.47 kB / 3.107 GB, free: 97.37 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 19.52/25.91, allocations: 4.383 GB / 7.49 GB, free: 10.7 MB / 1.104 GB Notification: Performance of FrontEnd: time 3.015e-06/25.91, allocations: 0 / 7.49 GB, free: 10.7 MB / 1.104 GB Notification: Performance of Transformations before backend: time 0.001581/25.91, allocations: 163.8 kB / 7.49 GB, free: 10.54 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.04337/25.95, allocations: 10.96 MB / 7.501 GB, free: 15.47 MB / 1.12 GB Notification: Performance of prepare preOptimizeDAE: time 6.962e-05/25.95, allocations: 16.03 kB / 7.501 GB, free: 15.45 MB / 1.12 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003265/25.96, allocations: 442.9 kB / 7.501 GB, free: 15.01 MB / 1.12 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01547/25.97, allocations: 1.654 MB / 7.503 GB, free: 13.34 MB / 1.12 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03707/26.01, allocations: 11.26 MB / 7.514 GB, free: 2 MB / 1.12 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005519/26.01, allocations: 282.4 kB / 7.514 GB, free: 1.723 MB / 1.12 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0029/26.01, allocations: 383.9 kB / 7.514 GB, free: 1.348 MB / 1.12 GB Notification: Performance of preOpt clockPartitioning (simulation): time 1.21/27.22, allocations: 4.372 MB / 7.519 GB, free: 77.24 MB / 1.12 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.605e-05/27.22, allocations: 6.094 kB / 7.519 GB, free: 77.24 MB / 1.12 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004845/27.23, allocations: 135.6 kB / 7.519 GB, free: 77.24 MB / 1.12 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001303/27.23, allocations: 113 kB / 7.519 GB, free: 77.23 MB / 1.12 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008411/27.23, allocations: 3.242 MB / 7.522 GB, free: 77.2 MB / 1.12 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.05117/27.29, allocations: 20.17 MB / 7.542 GB, free: 70.06 MB / 1.12 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00754/27.29, allocations: 3.138 MB / 7.545 GB, free: 69.64 MB / 1.12 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005031/27.29, allocations: 233.9 kB / 7.545 GB, free: 69.46 MB / 1.12 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0037/27.3, allocations: 1.842 MB / 7.547 GB, free: 69.38 MB / 1.12 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004703/27.3, allocations: 362 kB / 7.547 GB, free: 69.32 MB / 1.12 GB Notification: Performance of pre-optimization done (n=207): time 2.249e-05/27.3, allocations: 0 / 7.547 GB, free: 69.32 MB / 1.12 GB Notification: Performance of matching and sorting (n=207): time 0.01136/27.31, allocations: 4.315 MB / 7.551 GB, free: 68.71 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001609/27.31, allocations: 338.9 kB / 7.552 GB, free: 68.34 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01652/27.33, allocations: 6.449 MB / 7.558 GB, free: 67.97 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 0.001496/27.33, allocations: 96.42 kB / 7.558 GB, free: 67.94 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 0.004637/27.34, allocations: 2.833 MB / 7.561 GB, free: 67.46 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 0.002002/27.34, allocations: 0.7217 MB / 7.562 GB, free: 67.09 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002993/27.34, allocations: 57.36 kB / 7.562 GB, free: 67.09 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 0.0003275/27.34, allocations: 442.5 kB / 7.562 GB, free: 66.78 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002868/27.34, allocations: 1.335 MB / 7.563 GB, free: 66.77 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003762/27.35, allocations: 2.648 MB / 7.566 GB, free: 65.24 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003315/27.35, allocations: 1.711 MB / 7.568 GB, free: 65.16 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.049e-05/27.35, allocations: 9.062 kB / 7.568 GB, free: 65.16 MB / 1.12 GB Notification: Performance of matching and sorting (n=420) (initialization): time 0.01086/27.36, allocations: 4.52 MB / 7.572 GB, free: 64.69 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 0.004339/27.36, allocations: 14.87 MB / 7.587 GB, free: 48.83 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001301/27.36, allocations: 38.83 kB / 7.587 GB, free: 48.83 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009331/27.37, allocations: 239.8 kB / 7.587 GB, free: 48.81 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004649/27.37, allocations: 0.7309 MB / 7.588 GB, free: 48.81 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003642/27.37, allocations: 3.448 MB / 7.591 GB, free: 46.01 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008782/27.38, allocations: 349.6 kB / 7.591 GB, free: 46 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001496/27.38, allocations: 269.2 kB / 7.592 GB, free: 46 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 2.6e-05/27.38, allocations: 6.031 kB / 7.592 GB, free: 46 MB / 1.12 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01321/27.4, allocations: 4.333 MB / 7.596 GB, free: 45.87 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002283/27.4, allocations: 34.88 kB / 7.596 GB, free: 45.87 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001492/27.4, allocations: 0.5458 MB / 7.596 GB, free: 45.85 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003619/27.4, allocations: 0.7158 MB / 7.597 GB, free: 45.85 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01138/27.41, allocations: 7.401 MB / 7.604 GB, free: 42.72 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009286/27.42, allocations: 336.3 kB / 7.605 GB, free: 42.71 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001628/27.43, allocations: 237.4 kB / 7.605 GB, free: 42.71 MB / 1.12 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.008295/27.43, allocations: 1.604 MB / 7.606 GB, free: 42.52 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003697/27.44, allocations: 0.5569 MB / 7.607 GB, free: 42.21 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01305/27.45, allocations: 3.378 MB / 7.61 GB, free: 42.02 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.822e-05/27.45, allocations: 23.39 kB / 7.61 GB, free: 42.02 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.062e-05/27.45, allocations: 3.531 kB / 7.61 GB, free: 42.02 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006521/27.46, allocations: 2.869 MB / 7.613 GB, free: 41.5 MB / 1.12 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.03609/27.49, allocations: 9.038 MB / 7.622 GB, free: 40.64 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.176e-05/27.49, allocations: 3.562 kB / 7.622 GB, free: 40.64 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003387/27.5, allocations: 0.5383 MB / 7.622 GB, free: 40.63 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008473/27.5, allocations: 252.3 kB / 7.623 GB, free: 40.61 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005745/27.5, allocations: 67.06 kB / 7.623 GB, free: 40.61 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004955/27.5, allocations: 3.291 MB / 7.626 GB, free: 53.81 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.747e-06/27.5, allocations: 4.406 kB / 7.626 GB, free: 53.81 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01467/27.52, allocations: 5.152 MB / 7.631 GB, free: 52.8 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006973/27.52, allocations: 1.217 MB / 7.632 GB, free: 52.4 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003187/27.53, allocations: 51.52 kB / 7.632 GB, free: 52.4 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006976/27.53, allocations: 333.7 kB / 7.633 GB, free: 52.39 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007491/27.54, allocations: 135.5 kB / 7.633 GB, free: 52.39 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006342/27.54, allocations: 108.6 kB / 7.633 GB, free: 52.38 MB / 1.135 GB Notification: Performance of sorting global known variables: time 0.01699/27.55, allocations: 4.915 MB / 7.638 GB, free: 52.17 MB / 1.135 GB Notification: Performance of sort global known variables: time 1.213e-06/27.55, allocations: 1 kB / 7.638 GB, free: 52.17 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.02545/27.58, allocations: 3.605 MB / 7.641 GB, free: 52.03 MB / 1.135 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.03975/27.62, allocations: 16.86 MB / 7.658 GB, free: 44.44 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.01771/27.64, allocations: 6.122 MB / 7.664 GB, free: 43.77 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 2.085e-05/27.64, allocations: 5.672 kB / 7.664 GB, free: 43.77 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.004622/27.64, allocations: 1.383 MB / 7.665 GB, free: 43.75 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02028/27.66, allocations: 3.263 MB / 7.668 GB, free: 43.66 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06698/27.73, allocations: 36.16 MB / 7.703 GB, free: 32.6 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009937/27.74, allocations: 3.605 MB / 7.707 GB, free: 31.77 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.01327/27.75, allocations: 1.673 MB / 7.709 GB, free: 31.71 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008011/27.76, allocations: 2.73 MB / 7.711 GB, free: 31.7 MB / 1.151 GB Notification: Performance of SimCode: time 2.054e-06/27.76, allocations: 2.516 kB / 7.711 GB, free: 31.7 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.559/29.32, allocations: 280 MB / 7.985 GB, free: 151.2 MB / 1.198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002599/29.32, allocations: 264.7 kB / 7.985 GB, free: 150.8 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.14/44.46, allocations: 0 / 7.985 GB, free: 150.8 MB / 1.198 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)