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.811/1.811, allocations: 289.9 MB / 297.4 MB, free: 6.367 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.001483/0.001483, allocations: 180.9 kB / 366.7 MB, free: 1.637 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.699/1.699, allocations: 205.2 MB / 0.626 GB, free: 7.156 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.0008265/0.0008265, allocations: 86.64 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.932e-05/1.942e-05, allocations: 4 kB / 0.8598 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6626/0.6626, allocations: 116.3 MB / 0.9733 GB, free: 76.07 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.316/5.979, allocations: 2.118 GB / 3.091 GB, free: 276.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002302/5.979, allocations: 90.92 kB / 3.091 GB, free: 276.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 16.95/22.93, allocations: 4.283 GB / 7.374 GB, free: 95.18 MB / 1.104 GB Notification: Performance of FrontEnd: time 3.888e-06/22.93, allocations: 0 / 7.374 GB, free: 95.18 MB / 1.104 GB Notification: Performance of Transformations before backend: time 0.001591/22.93, allocations: 145 kB / 7.374 GB, free: 95.16 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.03025/22.96, allocations: 5.733 MB / 7.38 GB, free: 92.93 MB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 5.93e-05/22.96, allocations: 10.56 kB / 7.38 GB, free: 92.93 MB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01821/22.98, allocations: 1.439 MB / 7.381 GB, free: 92.56 MB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04143/23.02, allocations: 10.8 MB / 7.392 GB, free: 91.43 MB / 1.104 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003146/23.02, allocations: 94.86 kB / 7.392 GB, free: 91.43 MB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001799/23.02, allocations: 214.2 kB / 7.392 GB, free: 91.43 MB / 1.104 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01093/23.03, allocations: 3.221 MB / 7.395 GB, free: 91.4 MB / 1.104 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01251/23.05, allocations: 3.45 MB / 7.399 GB, free: 91.04 MB / 1.104 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001055/23.05, allocations: 6.938 kB / 7.399 GB, free: 91.04 MB / 1.104 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004706/23.05, allocations: 3.969 kB / 7.399 GB, free: 91.04 MB / 1.104 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001348/23.05, allocations: 114.8 kB / 7.399 GB, free: 91.03 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.04577/23.09, allocations: 18.74 MB / 7.417 GB, free: 83.22 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005167/23.1, allocations: 3.371 MB / 7.42 GB, free: 82.8 MB / 1.104 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002099/23.1, allocations: 1.544 MB / 7.422 GB, free: 82.77 MB / 1.104 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003865/23.1, allocations: 224.4 kB / 7.422 GB, free: 82.58 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002163/23.1, allocations: 1.556 MB / 7.424 GB, free: 82.51 MB / 1.104 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004583/23.11, allocations: 331.4 kB / 7.424 GB, free: 82.41 MB / 1.104 GB Notification: Performance of pre-optimization done (n=179): time 7.324e-06/23.11, allocations: 0 / 7.424 GB, free: 82.41 MB / 1.104 GB Notification: Performance of matching and sorting (n=179): time 0.008076/23.11, allocations: 3.516 MB / 7.427 GB, free: 82.03 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.822e-05/23.11, allocations: 156 kB / 7.428 GB, free: 81.88 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01268/23.13, allocations: 5.698 MB / 7.433 GB, free: 81.49 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 0.001074/23.13, allocations: 31.61 kB / 7.433 GB, free: 81.46 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.003219/23.13, allocations: 2.646 MB / 7.436 GB, free: 80.83 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 0.001288/23.13, allocations: 0.6026 MB / 7.436 GB, free: 80.43 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001746/23.13, allocations: 0 / 7.436 GB, free: 80.43 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 0.0001895/23.13, allocations: 424.7 kB / 7.437 GB, free: 80.12 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002071/23.14, allocations: 1.447 MB / 7.438 GB, free: 80.11 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00259/23.14, allocations: 2.675 MB / 7.441 GB, free: 78.6 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003511/23.14, allocations: 1.878 MB / 7.443 GB, free: 78.56 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.551e-05/23.14, allocations: 9.312 kB / 7.443 GB, free: 78.56 MB / 1.104 GB Notification: Performance of matching and sorting (n=378) (initialization): time 0.009068/23.15, allocations: 4.633 MB / 7.447 GB, free: 78.18 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 0.003763/23.15, allocations: 14.93 MB / 7.462 GB, free: 62.94 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.109e-05/23.15, allocations: 31.84 kB / 7.462 GB, free: 62.94 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001022/23.16, allocations: 444.1 kB / 7.462 GB, free: 62.92 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003509/23.16, allocations: 0.6434 MB / 7.463 GB, free: 62.92 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003933/23.16, allocations: 4.481 MB / 7.467 GB, free: 60.12 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006571/23.17, allocations: 272.2 kB / 7.467 GB, free: 60.09 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001027/23.17, allocations: 259 kB / 7.468 GB, free: 60.09 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/23.17, allocations: 2.406 kB / 7.468 GB, free: 60.09 MB / 1.104 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007668/23.18, allocations: 3.608 MB / 7.471 GB, free: 60.02 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001447/23.18, allocations: 32.66 kB / 7.471 GB, free: 60.02 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001304/23.18, allocations: 0.5232 MB / 7.472 GB, free: 60 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003345/23.18, allocations: 0.6477 MB / 7.472 GB, free: 60 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01019/23.19, allocations: 7.008 MB / 7.479 GB, free: 56.89 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006637/23.2, allocations: 269.5 kB / 7.479 GB, free: 56.86 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009827/23.2, allocations: 227.4 kB / 7.48 GB, free: 56.86 MB / 1.104 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (323): * Single equations (assignments): 311 * 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 6,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.001361/23.2, allocations: 209 kB / 7.48 GB, free: 56.74 MB / 1.104 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007274/23.21, allocations: 2.546 MB / 7.482 GB, free: 56.35 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002031/23.21, allocations: 0.5048 MB / 7.483 GB, free: 56.07 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006481/23.22, allocations: 2.827 MB / 7.486 GB, free: 55.87 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.729e-05/23.22, allocations: 19.34 kB / 7.486 GB, free: 55.87 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/23.22, allocations: 0 / 7.486 GB, free: 55.87 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003394/23.22, allocations: 2.423 MB / 7.488 GB, free: 55.34 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.01856/23.24, allocations: 7.902 MB / 7.496 GB, free: 54.51 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.24e-05/23.24, allocations: 2.062 kB / 7.496 GB, free: 54.51 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00254/23.24, allocations: 488.2 kB / 7.496 GB, free: 54.5 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000474/23.24, allocations: 167.5 kB / 7.496 GB, free: 54.48 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001831/23.24, allocations: 28.62 kB / 7.496 GB, free: 54.48 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002353/23.25, allocations: 3.35 MB / 7.5 GB, free: 51.68 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.919e-06/23.25, allocations: 6.344 kB / 7.5 GB, free: 51.68 MB / 1.104 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008319/23.25, allocations: 4.359 MB / 7.504 GB, free: 50.71 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004044/23.26, allocations: 1.126 MB / 7.505 GB, free: 50.34 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00194/23.26, allocations: 6.75 kB / 7.505 GB, free: 50.34 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005267/23.27, allocations: 277.8 kB / 7.505 GB, free: 50.32 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000489/23.27, allocations: 128.2 kB / 7.505 GB, free: 50.31 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002665/23.27, allocations: 91.14 kB / 7.506 GB, free: 50.31 MB / 1.104 GB Notification: Performance of sorting global known variables: time 0.01207/23.28, allocations: 4.26 MB / 7.51 GB, free: 50.09 MB / 1.104 GB Notification: Performance of sort global known variables: time 1.864e-06/23.28, allocations: 1.969 kB / 7.51 GB, free: 50.09 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.01759/23.3, allocations: 3.149 MB / 7.513 GB, free: 49.74 MB / 1.104 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) * 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.031/23.33, allocations: 16.39 MB / 7.529 GB, free: 42.19 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.01786/23.35, allocations: 5.799 MB / 7.534 GB, free: 41.67 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 1.548e-05/23.35, allocations: 3.312 kB / 7.534 GB, free: 41.67 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.002963/23.35, allocations: 1.115 MB / 7.536 GB, free: 41.65 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01736/23.37, allocations: 2.946 MB / 7.538 GB, free: 41.61 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03529/23.4, allocations: 9.493 MB / 7.548 GB, free: 39.49 MB / 1.104 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00699/23.41, allocations: 3.443 MB / 7.551 GB, free: 38.65 MB / 1.104 GB Notification: Performance of simCode: alias equations: time 0.0167/23.43, allocations: 2.729 MB / 7.554 GB, free: 38.6 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005217/23.43, allocations: 2.429 MB / 7.556 GB, free: 38.59 MB / 1.104 GB Notification: Performance of SimCode: time 3.246e-06/23.43, allocations: 0 / 7.556 GB, free: 38.59 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.389/24.82, allocations: 211.7 MB / 7.763 GB, free: 123.9 MB / 1.135 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001962/24.82, allocations: 175.1 kB / 7.763 GB, free: 123.8 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.59/37.41, allocations: 1.562 kB / 7.763 GB, free: 123.8 MB / 1.135 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)