Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.ControlledFlowMachine,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Movers_Validation_ControlledFlowMachine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.ControlledFlowMachine,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.937/2.937, allocations: 287.3 MB / 302.3 MB, free: 8.422 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.001716/0.001715, allocations: 180.6 kB / 370.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.151/2.151, allocations: 205.4 MB / 0.6295 GB, free: 10.63 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001195/0.001195, allocations: 89.36 kB / 0.7428 GB, free: 6.648 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004934/0.0004936, allocations: 15.73 kB / 0.8657 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2402/0.2407, allocations: 115.3 MB / 0.9783 GB, free: 28.34 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.763/7.004, allocations: 2.118 GB / 3.096 GB, free: 135.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003427/7.004, allocations: 98.45 kB / 3.096 GB, free: 135.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 25.11/32.11, allocations: 4.336 GB / 7.432 GB, free: 69.51 MB / 1.104 GB Notification: Performance of FrontEnd: time 3.146e-06/32.11, allocations: 3.469 kB / 7.432 GB, free: 69.51 MB / 1.104 GB Notification: Performance of Transformations before backend: time 0.001389/32.11, allocations: 146.4 kB / 7.432 GB, free: 69.48 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.05155/32.17, allocations: 10.56 MB / 7.442 GB, free: 65.8 MB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 5.271e-05/32.17, allocations: 10.72 kB / 7.442 GB, free: 65.8 MB / 1.104 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002201/32.17, allocations: 407.8 kB / 7.443 GB, free: 65.66 MB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0157/32.18, allocations: 1.439 MB / 7.444 GB, free: 65.24 MB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03856/32.22, allocations: 10.88 MB / 7.455 GB, free: 59.97 MB / 1.104 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004399/32.22, allocations: 256 kB / 7.455 GB, free: 59.86 MB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002476/32.23, allocations: 355.2 kB / 7.455 GB, free: 59.75 MB / 1.104 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01393/32.24, allocations: 3.954 MB / 7.459 GB, free: 56.46 MB / 1.104 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001401/32.24, allocations: 7.938 kB / 7.459 GB, free: 56.46 MB / 1.104 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009115/32.24, allocations: 139.3 kB / 7.459 GB, free: 56.33 MB / 1.104 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001232/32.24, allocations: 101.6 kB / 7.459 GB, free: 56.23 MB / 1.104 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01065/32.25, allocations: 2.94 MB / 7.462 GB, free: 53.68 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.04495/32.3, allocations: 19.36 MB / 7.481 GB, free: 34.51 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008179/32.31, allocations: 2.688 MB / 7.484 GB, free: 31.77 MB / 1.104 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006336/32.31, allocations: 232.1 kB / 7.484 GB, free: 31.51 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004718/32.31, allocations: 1.654 MB / 7.486 GB, free: 29.84 MB / 1.104 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004539/32.32, allocations: 405.5 kB / 7.486 GB, free: 29.45 MB / 1.104 GB Notification: Performance of pre-optimization done (n=179): time 9.728e-06/32.32, allocations: 0 / 7.486 GB, free: 29.45 MB / 1.104 GB Notification: Performance of matching and sorting (n=179): time 0.01558/32.33, allocations: 3.875 MB / 7.49 GB, free: 25.52 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.907e-05/32.33, allocations: 150.5 kB / 7.49 GB, free: 25.34 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02579/32.36, allocations: 6.244 MB / 7.496 GB, free: 19.11 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 0.001285/32.36, allocations: 81.7 kB / 7.496 GB, free: 19.02 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.006311/32.36, allocations: 2.667 MB / 7.499 GB, free: 16.33 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 0.001803/32.37, allocations: 0.6122 MB / 7.499 GB, free: 15.71 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007154/32.37, allocations: 51.94 kB / 7.499 GB, free: 15.66 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 0.0004033/32.37, allocations: 428.1 kB / 7.5 GB, free: 15.23 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003549/32.37, allocations: 1.161 MB / 7.501 GB, free: 14.07 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00491/32.38, allocations: 2.419 MB / 7.503 GB, free: 11.07 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004585/32.38, allocations: 1.522 MB / 7.505 GB, free: 9.551 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.118e-05/32.38, allocations: 8 kB / 7.505 GB, free: 9.543 MB / 1.104 GB Notification: Performance of matching and sorting (n=378) (initialization): time 0.01353/32.39, allocations: 4.076 MB / 7.509 GB, free: 5.441 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 0.005679/32.4, allocations: 15.08 MB / 7.523 GB, free: 5.762 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000116/32.4, allocations: 31.94 kB / 7.523 GB, free: 5.73 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001284/32.4, allocations: 244.4 kB / 7.524 GB, free: 5.488 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00659/32.41, allocations: 0.6396 MB / 7.524 GB, free: 4.848 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005322/32.41, allocations: 3.444 MB / 7.528 GB, free: 1.281 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008572/32.42, allocations: 329.7 kB / 7.528 GB, free: 0.957 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001227/32.42, allocations: 256 kB / 7.528 GB, free: 0.707 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/32.42, allocations: 4 kB / 7.528 GB, free: 0.7031 MB / 1.12 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.046/33.47, allocations: 3.998 MB / 7.532 GB, free: 100.4 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000171/33.47, allocations: 32.59 kB / 7.532 GB, free: 100.4 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002276/33.47, allocations: 0.5378 MB / 7.533 GB, free: 100.4 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006449/33.48, allocations: 0.6455 MB / 7.533 GB, free: 100.4 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01841/33.5, allocations: 7.389 MB / 7.541 GB, free: 97.31 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008284/33.51, allocations: 323.9 kB / 7.541 GB, free: 97.31 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001143/33.51, allocations: 229.8 kB / 7.541 GB, free: 97.31 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.005787/33.51, allocations: 1.533 MB / 7.543 GB, free: 97.12 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002035/33.51, allocations: 0.5293 MB / 7.543 GB, free: 97.12 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01181/33.53, allocations: 3.006 MB / 7.546 GB, free: 96.95 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.471e-05/33.53, allocations: 17.84 kB / 7.546 GB, free: 96.95 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/33.53, allocations: 5.734 kB / 7.546 GB, free: 96.95 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00764/33.53, allocations: 2.558 MB / 7.549 GB, free: 96.44 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.02674/33.56, allocations: 8.343 MB / 7.557 GB, free: 95.63 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.665e-05/33.56, allocations: 7.406 kB / 7.557 GB, free: 95.63 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004523/33.57, allocations: 477.7 kB / 7.557 GB, free: 95.63 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001045/33.57, allocations: 238.9 kB / 7.557 GB, free: 95.61 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004876/33.57, allocations: 60.05 kB / 7.557 GB, free: 95.61 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002484/33.57, allocations: 3.292 MB / 7.561 GB, free: 92.83 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/33.57, allocations: 0 / 7.561 GB, free: 92.83 MB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0134/33.58, allocations: 4.602 MB / 7.565 GB, free: 91.95 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004832/33.59, allocations: 1.151 MB / 7.566 GB, free: 91.56 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002122/33.59, allocations: 42.05 kB / 7.566 GB, free: 91.56 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008182/33.6, allocations: 310.8 kB / 7.567 GB, free: 91.55 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008867/33.6, allocations: 121.3 kB / 7.567 GB, free: 91.55 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004593/33.6, allocations: 97.81 kB / 7.567 GB, free: 91.55 MB / 1.12 GB Notification: Performance of sorting global known variables: time 0.02047/33.62, allocations: 4.764 MB / 7.571 GB, free: 91.33 MB / 1.12 GB Notification: Performance of sort global known variables: time 1.012e-06/33.62, allocations: 0 / 7.571 GB, free: 91.33 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.02687/33.65, allocations: 3.457 MB / 7.575 GB, free: 91.21 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.04782/33.69, allocations: 16.3 MB / 7.591 GB, free: 83.66 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.02263/33.72, allocations: 5.369 MB / 7.596 GB, free: 83.18 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 2.059e-05/33.72, allocations: 2.125 kB / 7.596 GB, free: 83.18 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 0.005635/33.72, allocations: 1.214 MB / 7.597 GB, free: 83.17 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03316/33.76, allocations: 3.159 MB / 7.6 GB, free: 83.1 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06008/33.82, allocations: 35.73 MB / 7.635 GB, free: 55.79 MB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01074/33.83, allocations: 3.429 MB / 7.639 GB, free: 54.97 MB / 1.12 GB Notification: Performance of simCode: alias equations: time 0.01797/33.85, allocations: 1.558 MB / 7.64 GB, free: 54.92 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009961/33.86, allocations: 2.574 MB / 7.643 GB, free: 54.91 MB / 1.12 GB Notification: Performance of SimCode: time 1.813e-06/33.86, allocations: 0 / 7.643 GB, free: 54.91 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6359/34.49, allocations: 272 MB / 7.908 GB, free: 7.27 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003358/34.49, allocations: 252.9 kB / 7.908 GB, free: 6.938 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.64/50.13, allocations: 4.062 kB / 7.908 GB, free: 6.934 MB / 1.151 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Movers_Validation_ControlledFlowMachine_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Movers_Validation_ControlledFlowMachine.fmu > Buildings_8.0.0_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.pipe 2>&1)