Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.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.ControlledFlowMachine,fileNamePrefix="Buildings_8_Buildings_Fluid_Movers_Validation_ControlledFlowMachine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.ControlledFlowMachine,fileNamePrefix="Buildings_8_Buildings_Fluid_Movers_Validation_ControlledFlowMachine",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.815/1.815, allocations: 292.6 MB / 307.5 MB, free: 5.18 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.001328/0.001329, allocations: 180.8 kB / 377.1 MB, free: 1.523 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.907/1.907, allocations: 205.4 MB / 0.6366 GB, free: 8.594 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.0009846/0.0009846, allocations: 83.59 kB / 0.7509 GB, free: 62.98 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003959/0.0003959, allocations: 16 kB / 0.8749 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3164/0.3168, allocations: 116.3 MB / 0.9884 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.061/6.378, allocations: 2.119 GB / 3.107 GB, free: 96.73 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004042/6.379, allocations: 96.61 kB / 3.107 GB, free: 96.64 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 19.51/25.88, allocations: 4.336 GB / 7.443 GB, free: 56.41 MB / 1.104 GB Notification: Performance of FrontEnd: time 3.486e-06/25.88, allocations: 0 / 7.443 GB, free: 56.41 MB / 1.104 GB Notification: Performance of Transformations before backend: time 0.001641/25.89, allocations: 151.8 kB / 7.443 GB, free: 56.26 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: 744 * Number of variables: 744 Notification: Performance of Generate backend data structure: time 0.04295/25.93, allocations: 10.55 MB / 7.453 GB, free: 46.64 MB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 6.055e-05/25.93, allocations: 12.03 kB / 7.453 GB, free: 46.62 MB / 1.104 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00263/25.93, allocations: 405 kB / 7.454 GB, free: 46.22 MB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01289/25.94, allocations: 1.447 MB / 7.455 GB, free: 44.76 MB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0321/25.98, allocations: 10.87 MB / 7.466 GB, free: 33.8 MB / 1.104 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000428/25.98, allocations: 261.8 kB / 7.466 GB, free: 33.54 MB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002147/25.98, allocations: 358.3 kB / 7.467 GB, free: 33.2 MB / 1.104 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01442/25.99, allocations: 3.96 MB / 7.47 GB, free: 29.11 MB / 1.104 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002029/25.99, allocations: 7.938 kB / 7.47 GB, free: 29.1 MB / 1.104 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001389/26, allocations: 124 kB / 7.47 GB, free: 28.98 MB / 1.104 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001241/26, allocations: 101.6 kB / 7.471 GB, free: 28.88 MB / 1.104 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008039/26, allocations: 2.938 MB / 7.473 GB, free: 25.93 MB / 1.104 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.03423/26.04, allocations: 19.36 MB / 7.492 GB, free: 5.41 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004605/26.04, allocations: 2.699 MB / 7.495 GB, free: 2.66 MB / 1.104 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003759/26.04, allocations: 228.1 kB / 7.495 GB, free: 2.402 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002335/26.05, allocations: 1.662 MB / 7.497 GB, free: 0.7305 MB / 1.104 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004376/26.05, allocations: 413.4 kB / 7.497 GB, free: 332 kB / 1.104 GB Notification: Performance of pre-optimization done (n=179): time 8.095e-06/26.05, allocations: 0 / 7.497 GB, free: 332 kB / 1.104 GB Notification: Performance of matching and sorting (n=179): time 0.009813/26.06, allocations: 3.864 MB / 7.501 GB, free: 12.41 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001136/26.06, allocations: 146.5 kB / 7.501 GB, free: 12.23 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01484/26.07, allocations: 6.24 MB / 7.507 GB, free: 6.004 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 0.001157/26.08, allocations: 85.69 kB / 7.507 GB, free: 5.914 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 0.003633/26.08, allocations: 2.664 MB / 7.51 GB, free: 3.23 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 0.001725/26.08, allocations: 0.62 MB / 7.511 GB, free: 2.602 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003156/26.08, allocations: 48 kB / 7.511 GB, free: 2.555 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 0.0003659/26.08, allocations: 424.1 kB / 7.511 GB, free: 2.133 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002319/26.08, allocations: 1.169 MB / 7.512 GB, free: 0.9609 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.046/27.13, allocations: 2.412 MB / 7.514 GB, free: 88.9 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003785/27.13, allocations: 1.525 MB / 7.516 GB, free: 88.84 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.342e-05/27.13, allocations: 8.312 kB / 7.516 GB, free: 88.84 MB / 1.12 GB Notification: Performance of matching and sorting (n=378) (initialization): time 0.009818/27.14, allocations: 4.064 MB / 7.52 GB, free: 88.72 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 0.003725/27.15, allocations: 15.08 MB / 7.535 GB, free: 73.5 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001004/27.15, allocations: 34.45 kB / 7.535 GB, free: 73.5 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008836/27.15, allocations: 238.9 kB / 7.535 GB, free: 73.48 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003979/27.15, allocations: 0.6411 MB / 7.536 GB, free: 73.48 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003317/27.16, allocations: 3.448 MB / 7.539 GB, free: 70.7 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007236/27.16, allocations: 323.1 kB / 7.539 GB, free: 70.7 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001244/27.16, allocations: 258.2 kB / 7.539 GB, free: 70.7 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/27.16, allocations: 5.781 kB / 7.539 GB, free: 70.7 MB / 1.12 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009541/27.17, allocations: 3.999 MB / 7.543 GB, free: 70.6 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001475/27.17, allocations: 30.91 kB / 7.543 GB, free: 70.6 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001556/27.18, allocations: 0.545 MB / 7.544 GB, free: 70.59 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003012/27.18, allocations: 0.6429 MB / 7.545 GB, free: 70.59 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01128/27.19, allocations: 7.391 MB / 7.552 GB, free: 67.51 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007317/27.2, allocations: 329.4 kB / 7.552 GB, free: 67.5 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001102/27.2, allocations: 228.9 kB / 7.552 GB, free: 67.5 MB / 1.12 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.005637/27.2, allocations: 1.536 MB / 7.554 GB, free: 67.31 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001998/27.21, allocations: 0.529 MB / 7.554 GB, free: 67.18 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007351/27.21, allocations: 3.006 MB / 7.557 GB, free: 66.99 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.899e-05/27.21, allocations: 16.84 kB / 7.557 GB, free: 66.99 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/27.21, allocations: 3.953 kB / 7.557 GB, free: 66.99 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004337/27.22, allocations: 2.557 MB / 7.56 GB, free: 66.47 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.02116/27.24, allocations: 8.336 MB / 7.568 GB, free: 65.62 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.928e-06/27.24, allocations: 3.875 kB / 7.568 GB, free: 65.62 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0023/27.24, allocations: 490.7 kB / 7.568 GB, free: 65.61 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006156/27.24, allocations: 234.3 kB / 7.569 GB, free: 65.59 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001576/27.24, allocations: 59.17 kB / 7.569 GB, free: 65.59 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001719/27.24, allocations: 3.292 MB / 7.572 GB, free: 62.79 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/27.24, allocations: 0 / 7.572 GB, free: 62.79 MB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008427/27.25, allocations: 4.601 MB / 7.576 GB, free: 61.82 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005163/27.26, allocations: 1.149 MB / 7.578 GB, free: 61.43 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002261/27.26, allocations: 46.2 kB / 7.578 GB, free: 61.43 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005167/27.27, allocations: 313.4 kB / 7.578 GB, free: 61.41 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003907/27.27, allocations: 120.8 kB / 7.578 GB, free: 61.41 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002475/27.27, allocations: 91.14 kB / 7.578 GB, free: 61.41 MB / 1.12 GB Notification: Performance of sorting global known variables: time 0.01107/27.28, allocations: 4.765 MB / 7.583 GB, free: 61.2 MB / 1.12 GB Notification: Performance of sort global known variables: time 1.052e-06/27.28, allocations: 0 / 7.583 GB, free: 61.2 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.01789/27.29, allocations: 3.461 MB / 7.586 GB, free: 61.08 MB / 1.12 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.02844/27.32, allocations: 16.3 MB / 7.602 GB, free: 53.53 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.01222/27.34, allocations: 5.368 MB / 7.607 GB, free: 53.06 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 1.27e-05/27.34, allocations: 2.719 kB / 7.607 GB, free: 53.06 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 0.00293/27.34, allocations: 1.208 MB / 7.608 GB, free: 53.04 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01753/27.36, allocations: 3.164 MB / 7.612 GB, free: 52.96 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04978/27.41, allocations: 35.75 MB / 7.646 GB, free: 41.62 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009204/27.42, allocations: 3.423 MB / 7.65 GB, free: 40.8 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 0.01332/27.43, allocations: 1.563 MB / 7.651 GB, free: 40.75 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006867/27.44, allocations: 2.573 MB / 7.654 GB, free: 40.74 MB / 1.135 GB Notification: Performance of SimCode: time 2.104e-06/27.44, allocations: 0 / 7.654 GB, free: 40.74 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4984/27.93, allocations: 272 MB / 7.919 GB, free: 9.203 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002402/27.93, allocations: 261.2 kB / 7.92 GB, free: 8.859 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.89/40.83, allocations: 4 kB / 7.92 GB, free: 8.855 MB / 1.182 GB (rm -f Buildings_8_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.pipe ; mkfifo Buildings_8_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.pipe >> ../files/Buildings_8_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Movers_Validation_ControlledFlowMachine_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Movers_Validation_ControlledFlowMachine.fmu > Buildings_8_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.pipe 2>&1)