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.717/2.717, allocations: 284.9 MB / 292.4 MB, free: 10.57 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.001486/0.001485, allocations: 172.9 kB / 360.6 MB, free: 7.273 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.004/2.004, allocations: 205.3 MB / 0.6191 GB, free: 12.17 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.001127/0.001126, allocations: 93.91 kB / 0.7321 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.577e-05/2.573e-05, allocations: 4 kB / 0.8509 GB, free: 3.309 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8441/0.8441, allocations: 115.3 MB / 0.9634 GB, free: 78.68 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.886/6.73, allocations: 2.117 GB / 3.08 GB, free: 432 kB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002778/6.731, allocations: 91.06 kB / 3.08 GB, free: 388 kB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 24.93/31.66, allocations: 4.283 GB / 7.363 GB, free: 82.64 MB / 1.104 GB Notification: Performance of FrontEnd: time 3.146e-06/31.66, allocations: 0 / 7.363 GB, free: 82.64 MB / 1.104 GB Notification: Performance of Transformations before backend: time 0.001519/31.66, allocations: 146.7 kB / 7.363 GB, free: 82.64 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.02516/31.69, allocations: 5.735 MB / 7.369 GB, free: 80.66 MB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 5.346e-05/31.69, allocations: 10.5 kB / 7.369 GB, free: 80.66 MB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01608/31.7, allocations: 1.433 MB / 7.37 GB, free: 80.3 MB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04184/31.74, allocations: 10.8 MB / 7.381 GB, free: 79.34 MB / 1.104 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002484/31.75, allocations: 96.09 kB / 7.381 GB, free: 79.34 MB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002071/31.75, allocations: 205.7 kB / 7.381 GB, free: 79.34 MB / 1.104 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01084/31.76, allocations: 3.221 MB / 7.384 GB, free: 79.33 MB / 1.104 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01337/31.77, allocations: 3.462 MB / 7.388 GB, free: 78.96 MB / 1.104 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001357/31.77, allocations: 2.531 kB / 7.388 GB, free: 78.96 MB / 1.104 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009653/31.77, allocations: 5.781 kB / 7.388 GB, free: 78.96 MB / 1.104 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001351/31.77, allocations: 102.5 kB / 7.388 GB, free: 78.95 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.04768/31.82, allocations: 18.75 MB / 7.406 GB, free: 71.17 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009577/31.83, allocations: 3.356 MB / 7.409 GB, free: 70.74 MB / 1.104 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004337/31.83, allocations: 1.55 MB / 7.411 GB, free: 70.72 MB / 1.104 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006224/31.84, allocations: 219.1 kB / 7.411 GB, free: 70.53 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004874/31.84, allocations: 1.553 MB / 7.413 GB, free: 70.45 MB / 1.104 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005146/31.85, allocations: 331.4 kB / 7.413 GB, free: 70.36 MB / 1.104 GB Notification: Performance of pre-optimization done (n=179): time 2.52e-05/31.85, allocations: 1.25 kB / 7.413 GB, free: 70.36 MB / 1.104 GB Notification: Performance of matching and sorting (n=179): time 0.01421/31.86, allocations: 3.518 MB / 7.416 GB, free: 69.98 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.628e-05/31.86, allocations: 156.3 kB / 7.417 GB, free: 69.82 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02086/31.88, allocations: 5.704 MB / 7.422 GB, free: 69.43 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 0.001019/31.88, allocations: 32.75 kB / 7.422 GB, free: 69.4 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.005197/31.89, allocations: 2.644 MB / 7.425 GB, free: 68.77 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 0.001554/31.89, allocations: 0.6027 MB / 7.425 GB, free: 68.36 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003729/31.89, allocations: 0 / 7.425 GB, free: 68.36 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 0.0003524/31.89, allocations: 421.3 kB / 7.426 GB, free: 68.05 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004466/31.89, allocations: 1.451 MB / 7.427 GB, free: 68.04 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005572/31.9, allocations: 2.681 MB / 7.43 GB, free: 66.53 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006459/31.91, allocations: 1.876 MB / 7.432 GB, free: 66.5 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.282e-05/31.91, allocations: 8.906 kB / 7.432 GB, free: 66.5 MB / 1.104 GB Notification: Performance of matching and sorting (n=378) (initialization): time 0.01668/31.92, allocations: 4.633 MB / 7.436 GB, free: 66.12 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 0.003507/31.93, allocations: 14.92 MB / 7.451 GB, free: 50.88 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001895/31.93, allocations: 38.89 kB / 7.451 GB, free: 50.88 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001716/31.93, allocations: 436.9 kB / 7.451 GB, free: 50.86 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006372/31.93, allocations: 0.6473 MB / 7.452 GB, free: 50.86 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006926/31.94, allocations: 4.489 MB / 7.456 GB, free: 48.06 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008968/31.95, allocations: 262.9 kB / 7.456 GB, free: 48.04 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001297/31.95, allocations: 257.1 kB / 7.457 GB, free: 48.04 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/31.95, allocations: 9.672 kB / 7.457 GB, free: 48.03 MB / 1.104 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01239/31.96, allocations: 3.607 MB / 7.46 GB, free: 47.96 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001884/31.96, allocations: 35.33 kB / 7.46 GB, free: 47.96 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002234/31.97, allocations: 0.5275 MB / 7.461 GB, free: 47.95 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005187/31.97, allocations: 0.6461 MB / 7.461 GB, free: 47.95 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01638/31.99, allocations: 6.999 MB / 7.468 GB, free: 44.84 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008453/32, allocations: 273.2 kB / 7.468 GB, free: 44.81 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001153/32, allocations: 225.4 kB / 7.469 GB, free: 44.81 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.001347/32, allocations: 200 kB / 7.469 GB, free: 44.68 MB / 1.104 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008769/32.01, allocations: 2.55 MB / 7.471 GB, free: 44.29 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002338/32.01, allocations: 0.507 MB / 7.472 GB, free: 44.01 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01062/32.02, allocations: 2.817 MB / 7.475 GB, free: 43.81 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-05/32.02, allocations: 18.69 kB / 7.475 GB, free: 43.81 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.426e-05/32.02, allocations: 4.656 kB / 7.475 GB, free: 43.81 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00708/32.03, allocations: 2.427 MB / 7.477 GB, free: 43.3 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.02837/32.06, allocations: 7.899 MB / 7.485 GB, free: 42.46 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.68e-05/32.06, allocations: 0 / 7.485 GB, free: 42.46 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004645/32.06, allocations: 486.7 kB / 7.485 GB, free: 42.45 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000648/32.06, allocations: 168.4 kB / 7.485 GB, free: 42.43 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004979/32.06, allocations: 30.95 kB / 7.485 GB, free: 42.43 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002742/32.07, allocations: 3.35 MB / 7.489 GB, free: 39.63 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.719e-06/32.07, allocations: 6.688 kB / 7.489 GB, free: 39.63 MB / 1.104 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01186/32.08, allocations: 4.355 MB / 7.493 GB, free: 38.66 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005176/32.08, allocations: 1.126 MB / 7.494 GB, free: 38.28 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002294/32.09, allocations: 12.75 kB / 7.494 GB, free: 38.28 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007116/32.09, allocations: 280 kB / 7.494 GB, free: 38.26 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000732/32.09, allocations: 124.3 kB / 7.494 GB, free: 38.25 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003256/32.09, allocations: 91.39 kB / 7.494 GB, free: 38.25 MB / 1.104 GB Notification: Performance of sorting global known variables: time 0.01221/32.11, allocations: 4.265 MB / 7.499 GB, free: 38.04 MB / 1.104 GB Notification: Performance of sort global known variables: time 1.993e-06/32.11, allocations: 3.906 kB / 7.499 GB, free: 38.04 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.01822/32.12, allocations: 3.142 MB / 7.502 GB, free: 37.69 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.03448/32.16, allocations: 16.4 MB / 7.518 GB, free: 46.13 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.01688/32.18, allocations: 5.791 MB / 7.523 GB, free: 45.62 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 1.361e-05/32.18, allocations: 5 kB / 7.523 GB, free: 45.62 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 0.003588/32.18, allocations: 1.12 MB / 7.524 GB, free: 45.6 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02417/32.2, allocations: 2.951 MB / 7.527 GB, free: 45.55 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03723/32.24, allocations: 9.488 MB / 7.537 GB, free: 43.46 MB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008156/32.25, allocations: 3.435 MB / 7.54 GB, free: 42.62 MB / 1.12 GB Notification: Performance of simCode: alias equations: time 0.0211/32.27, allocations: 2.737 MB / 7.543 GB, free: 42.57 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006001/32.28, allocations: 2.419 MB / 7.545 GB, free: 42.56 MB / 1.12 GB Notification: Performance of SimCode: time 3.107e-05/32.28, allocations: 1.531 kB / 7.545 GB, free: 42.56 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5042/32.78, allocations: 211.7 MB / 7.752 GB, free: 14.9 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003287/32.78, allocations: 193.1 kB / 7.752 GB, free: 14.7 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.79/47.57, allocations: 0 / 7.752 GB, free: 14.7 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)