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.819/1.819, allocations: 289.7 MB / 302.2 MB, free: 2.199 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.001111/0.001111, allocations: 181.6 kB / 371.6 MB, free: 3.359 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.58/1.58, allocations: 205.1 MB / 0.6309 GB, free: 11.76 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.001033/0.001033, allocations: 97.06 kB / 0.745 GB, free: 54.7 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.434e-05/4.438e-05, allocations: 4 kB / 0.8663 GB, free: 14.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/0.271, allocations: 116.3 MB / 0.9799 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.69/5.961, allocations: 2.119 GB / 3.099 GB, free: 134.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002395/5.961, allocations: 97.16 kB / 3.099 GB, free: 134.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 19.22/25.18, allocations: 4.332 GB / 7.431 GB, free: 60.29 MB / 1.104 GB Notification: Performance of FrontEnd: time 2.475e-06/25.18, allocations: 0 / 7.431 GB, free: 60.29 MB / 1.104 GB Notification: Performance of Transformations before backend: time 0.001762/25.18, allocations: 156 kB / 7.431 GB, free: 60.25 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.02671/25.21, allocations: 5.724 MB / 7.436 GB, free: 57.31 MB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 5.677e-05/25.21, allocations: 10.47 kB / 7.436 GB, free: 57.31 MB / 1.104 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002579/25.21, allocations: 402.4 kB / 7.437 GB, free: 57.25 MB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01357/25.23, allocations: 1.44 MB / 7.438 GB, free: 56.88 MB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03447/25.26, allocations: 10.8 MB / 7.449 GB, free: 55.6 MB / 1.104 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004753/25.26, allocations: 260.1 kB / 7.449 GB, free: 55.59 MB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001989/25.26, allocations: 353.2 kB / 7.449 GB, free: 55.58 MB / 1.104 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01411/25.28, allocations: 3.88 MB / 7.453 GB, free: 54.44 MB / 1.104 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002272/25.28, allocations: 0 / 7.453 GB, free: 54.44 MB / 1.104 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001587/25.28, allocations: 123.6 kB / 7.453 GB, free: 54.35 MB / 1.104 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001398/25.28, allocations: 114.5 kB / 7.453 GB, free: 54.33 MB / 1.104 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009086/25.29, allocations: 2.81 MB / 7.456 GB, free: 53.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 preOpt removeSimpleEquations (simulation): time 0.04266/25.33, allocations: 19.36 MB / 7.475 GB, free: 40.57 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005223/25.34, allocations: 2.606 MB / 7.478 GB, free: 39.26 MB / 1.104 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002223/25.34, allocations: 1.194 MB / 7.479 GB, free: 38.81 MB / 1.104 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004039/25.34, allocations: 228.2 kB / 7.479 GB, free: 38.62 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002674/25.34, allocations: 1.613 MB / 7.481 GB, free: 38.02 MB / 1.104 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004351/25.35, allocations: 400.2 kB / 7.481 GB, free: 37.85 MB / 1.104 GB Notification: Performance of pre-optimization done (n=179): time 1.814e-05/25.35, allocations: 0 / 7.481 GB, free: 37.85 MB / 1.104 GB Notification: Performance of matching and sorting (n=179): time 0.00752/25.35, allocations: 2.602 MB / 7.483 GB, free: 36.67 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.969e-05/25.35, allocations: 146.5 kB / 7.484 GB, free: 36.5 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01557/25.37, allocations: 6.183 MB / 7.49 GB, free: 30.97 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 0.001431/25.37, allocations: 85.7 kB / 7.49 GB, free: 30.88 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.004974/25.38, allocations: 2.662 MB / 7.492 GB, free: 28.46 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 0.001644/25.38, allocations: 0.6136 MB / 7.493 GB, free: 27.9 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003065/25.38, allocations: 53.56 kB / 7.493 GB, free: 27.85 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 0.0003138/25.38, allocations: 420.1 kB / 7.493 GB, free: 27.47 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001762/25.38, allocations: 1.104 MB / 7.494 GB, free: 26.44 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002606/25.38, allocations: 2.368 MB / 7.497 GB, free: 23.62 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00226/25.38, allocations: 1.475 MB / 7.498 GB, free: 22.3 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-05/25.38, allocations: 15.94 kB / 7.498 GB, free: 22.29 MB / 1.104 GB Notification: Performance of matching and sorting (n=378) (initialization): time 0.007626/25.39, allocations: 3.966 MB / 7.502 GB, free: 18.64 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 0.003176/25.39, allocations: 15.06 MB / 7.517 GB, free: 3 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.904e-05/25.4, allocations: 36 kB / 7.517 GB, free: 2.965 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008929/25.4, allocations: 252.8 kB / 7.517 GB, free: 2.746 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003652/25.4, allocations: 0.6389 MB / 7.518 GB, free: 2.188 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003195/25.4, allocations: 3.46 MB / 7.521 GB, free: 14.72 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006993/25.41, allocations: 329.8 kB / 7.521 GB, free: 14.46 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00123/25.41, allocations: 251.3 kB / 7.522 GB, free: 14.22 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/25.41, allocations: 8 kB / 7.522 GB, free: 14.21 MB / 1.12 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00898/25.42, allocations: 3.897 MB / 7.525 GB, free: 10.72 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001293/25.42, allocations: 32 kB / 7.525 GB, free: 10.69 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00139/25.42, allocations: 0.5506 MB / 7.526 GB, free: 10.23 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003218/25.42, allocations: 0.6401 MB / 7.527 GB, free: 9.676 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01249/25.44, allocations: 7.261 MB / 7.534 GB, free: 2.906 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007899/25.45, allocations: 326.9 kB / 7.534 GB, free: 2.652 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001214/25.45, allocations: 227.5 kB / 7.534 GB, free: 2.441 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 () * 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.001283/25.45, allocations: 288.5 kB / 7.535 GB, free: 2.152 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001902/25.45, allocations: 0.5245 MB / 7.535 GB, free: 1.621 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01038/25.46, allocations: 3.17 MB / 7.538 GB, free: 15.71 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.67e-05/25.46, allocations: 20 kB / 7.538 GB, free: 15.69 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/25.46, allocations: 0 / 7.538 GB, free: 15.69 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00415/25.46, allocations: 2.457 MB / 7.541 GB, free: 13.37 MB / 1.135 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.02162/25.49, allocations: 8.3 MB / 7.549 GB, free: 6.723 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-05/25.49, allocations: 7.953 kB / 7.549 GB, free: 6.715 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002345/25.49, allocations: 488.3 kB / 7.549 GB, free: 6.305 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006382/25.49, allocations: 234.7 kB / 7.549 GB, free: 6.102 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001723/25.49, allocations: 55.78 kB / 7.549 GB, free: 6.055 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002279/25.49, allocations: 3.292 MB / 7.553 GB, free: 2.734 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.219e-06/25.49, allocations: 4.031 kB / 7.553 GB, free: 2.73 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 1.109/26.6, allocations: 4.447 MB / 7.557 GB, free: 103.9 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005001/26.61, allocations: 1.146 MB / 7.558 GB, free: 103.8 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002389/26.61, allocations: 42.38 kB / 7.558 GB, free: 103.8 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005784/26.61, allocations: 308.4 kB / 7.558 GB, free: 103.8 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004798/26.61, allocations: 123.6 kB / 7.559 GB, free: 103.8 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002528/26.61, allocations: 94.27 kB / 7.559 GB, free: 103.8 MB / 1.135 GB Notification: Performance of sorting global known variables: time 0.01555/26.63, allocations: 4.697 MB / 7.563 GB, free: 103.6 MB / 1.135 GB Notification: Performance of sort global known variables: time 1.623e-06/26.63, allocations: 0.75 kB / 7.563 GB, free: 103.6 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.02236/26.65, allocations: 3.467 MB / 7.567 GB, free: 103.6 MB / 1.135 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.02984/26.68, allocations: 16.14 MB / 7.582 GB, free: 96.19 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.01276/26.7, allocations: 5.427 MB / 7.588 GB, free: 95.69 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 1.251e-05/26.7, allocations: 448 / 7.588 GB, free: 95.69 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.00272/26.7, allocations: 1.152 MB / 7.589 GB, free: 95.68 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02175/26.72, allocations: 3.165 MB / 7.592 GB, free: 95.59 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03101/26.75, allocations: 9.724 MB / 7.601 GB, free: 93.59 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005216/26.76, allocations: 3.437 MB / 7.605 GB, free: 92.76 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 0.01663/26.77, allocations: 2.833 MB / 7.607 GB, free: 92.7 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004836/26.78, allocations: 2.426 MB / 7.61 GB, free: 92.7 MB / 1.135 GB Notification: Performance of SimCode: time 2.835e-06/26.78, allocations: 0 / 7.61 GB, free: 92.7 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5193/27.3, allocations: 294.4 MB / 7.897 GB, free: 14.41 MB / 1.135 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001686/27.3, allocations: 232.9 kB / 7.898 GB, free: 14.14 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.72/43.02, allocations: 0 / 7.898 GB, free: 14.14 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)