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: translateModel(Buildings.Fluid.Movers.Validation.ControlledFlowMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Movers.Validation.ControlledFlowMachine") translateModel(Buildings.Fluid.Movers.Validation.ControlledFlowMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Movers.Validation.ControlledFlowMachine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.503/2.503, allocations: 287.5 MB / 303.2 MB, free: 8.258 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.001411/0.00141, allocations: 176.6 kB / 371.8 MB, free: 10.86 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.019/2.019, allocations: 205.4 MB / 0.6305 GB, free: 10.59 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.0009459/0.0009457, allocations: 96.41 kB / 0.7438 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004848/0.000485, allocations: 11.42 kB / 0.8667 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2074/0.208, allocations: 115.3 MB / 0.9793 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.544/6.752, allocations: 2.118 GB / 3.097 GB, free: 177.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003292/6.752, allocations: 103.9 kB / 3.097 GB, free: 177.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 23.48/30.24, allocations: 4.325 GB / 7.422 GB, free: 69.82 MB / 1.104 GB Notification: Performance of FrontEnd: time 2.846e-06/30.24, allocations: 0 / 7.422 GB, free: 69.82 MB / 1.104 GB Notification: Performance of Transformations before backend: time 0.001374/30.24, allocations: 144.2 kB / 7.422 GB, free: 69.8 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.05032/30.29, allocations: 10.49 MB / 7.432 GB, free: 66.2 MB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/30.29, allocations: 10.09 kB / 7.432 GB, free: 66.2 MB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01532/30.3, allocations: 1.436 MB / 7.434 GB, free: 65.83 MB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0391/30.34, allocations: 11.03 MB / 7.444 GB, free: 64.39 MB / 1.104 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000508/30.34, allocations: 265.1 kB / 7.445 GB, free: 64.38 MB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002082/30.35, allocations: 350.2 kB / 7.445 GB, free: 64.38 MB / 1.104 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01513/30.36, allocations: 3.978 MB / 7.449 GB, free: 63.97 MB / 1.104 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001606/30.36, allocations: 5.375 kB / 7.449 GB, free: 63.97 MB / 1.104 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001123/30.36, allocations: 129.1 kB / 7.449 GB, free: 63.97 MB / 1.104 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001266/30.36, allocations: 103.5 kB / 7.449 GB, free: 63.96 MB / 1.104 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0109/30.37, allocations: 2.939 MB / 7.452 GB, free: 63.91 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.04415/30.42, allocations: 19.32 MB / 7.471 GB, free: 55.8 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00795/30.43, allocations: 2.702 MB / 7.474 GB, free: 54.51 MB / 1.104 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003757/30.43, allocations: 1.247 MB / 7.475 GB, free: 54.05 MB / 1.104 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005132/30.43, allocations: 226.1 kB / 7.475 GB, free: 53.86 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004452/30.43, allocations: 1.664 MB / 7.477 GB, free: 53.27 MB / 1.104 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00443/30.44, allocations: 414.4 kB / 7.477 GB, free: 53.11 MB / 1.104 GB Notification: Performance of pre-optimization done (n=179): time 1.198e-05/30.44, allocations: 3.562 kB / 7.477 GB, free: 53.11 MB / 1.104 GB Notification: Performance of matching and sorting (n=179): time 0.0157/30.45, allocations: 3.961 MB / 7.481 GB, free: 51.51 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.627e-05/30.46, allocations: 151.1 kB / 7.481 GB, free: 51.35 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01929/30.47, allocations: 6.908 MB / 7.488 GB, free: 48.73 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 0.0009674/30.48, allocations: 84.08 kB / 7.488 GB, free: 48.66 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.004425/30.48, allocations: 2.657 MB / 7.49 GB, free: 46.6 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 0.001345/30.48, allocations: 0.622 MB / 7.491 GB, free: 46.12 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003811/30.48, allocations: 52.97 kB / 7.491 GB, free: 46.08 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 0.0002785/30.48, allocations: 424.7 kB / 7.492 GB, free: 45.72 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003507/30.49, allocations: 1.161 MB / 7.493 GB, free: 45.3 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004652/30.49, allocations: 2.44 MB / 7.495 GB, free: 43.27 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008178/30.5, allocations: 3.484 MB / 7.498 GB, free: 40.98 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.745e-05/30.5, allocations: 9.875 kB / 7.498 GB, free: 40.98 MB / 1.104 GB Notification: Performance of matching and sorting (n=378) (initialization): time 0.01344/30.51, allocations: 4.076 MB / 7.502 GB, free: 39.29 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006441/30.51, allocations: 1.041 MB / 7.503 GB, free: 37.89 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.541e-05/30.51, allocations: 35.19 kB / 7.503 GB, free: 37.89 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001512/30.51, allocations: 271.2 kB / 7.504 GB, free: 37.84 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005998/30.52, allocations: 0.6534 MB / 7.504 GB, free: 37.77 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004085/30.52, allocations: 3.458 MB / 7.508 GB, free: 34.7 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00833/30.53, allocations: 331.8 kB / 7.508 GB, free: 34.61 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00113/30.53, allocations: 259.4 kB / 7.508 GB, free: 34.58 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/30.53, allocations: 3.781 kB / 7.508 GB, free: 34.58 MB / 1.104 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01166/30.55, allocations: 4.009 MB / 7.512 GB, free: 31.3 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001072/30.55, allocations: 28 kB / 7.512 GB, free: 31.28 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002022/30.55, allocations: 0.5511 MB / 7.513 GB, free: 30.82 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004838/30.55, allocations: 0.6446 MB / 7.513 GB, free: 30.25 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01516/30.57, allocations: 7.233 MB / 7.52 GB, free: 23.49 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008097/30.58, allocations: 324 kB / 7.521 GB, free: 23.23 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001016/30.58, allocations: 233.2 kB / 7.521 GB, free: 23.02 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 () * Number of clocked 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.005242/30.58, allocations: 1.538 MB / 7.523 GB, free: 21.63 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001854/30.58, allocations: 0.524 MB / 7.523 GB, free: 21.1 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0107/30.6, allocations: 3.014 MB / 7.526 GB, free: 18.5 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.122e-05/30.6, allocations: 16 kB / 7.526 GB, free: 18.48 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/30.6, allocations: 0 / 7.526 GB, free: 18.48 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007336/30.6, allocations: 2.571 MB / 7.528 GB, free: 16.08 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 postOpt removeSimpleEquations (simulation): time 0.02674/30.63, allocations: 8.395 MB / 7.537 GB, free: 9.359 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-05/30.63, allocations: 0 / 7.537 GB, free: 9.359 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004536/30.63, allocations: 495.9 kB / 7.537 GB, free: 8.941 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001045/30.63, allocations: 230.7 kB / 7.537 GB, free: 8.75 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005304/30.64, allocations: 55.66 kB / 7.537 GB, free: 8.699 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002559/30.64, allocations: 3.295 MB / 7.541 GB, free: 5.375 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.654e-06/30.64, allocations: 7.938 kB / 7.541 GB, free: 5.367 MB / 1.104 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01308/30.65, allocations: 4.302 MB / 7.545 GB, free: 1.426 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004658/30.66, allocations: 1.145 MB / 7.546 GB, free: 392 kB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002088/30.66, allocations: 40 kB / 7.546 GB, free: 352 kB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006724/30.66, allocations: 312.5 kB / 7.546 GB, free: 116 kB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006351/30.67, allocations: 125.9 kB / 7.546 GB, free: 36 kB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006382/30.67, allocations: 108.2 kB / 7.547 GB, free: 15.99 MB / 1.12 GB Notification: Performance of sorting global known variables: time 0.01428/30.68, allocations: 4.77 MB / 7.551 GB, free: 11.98 MB / 1.12 GB Notification: Performance of sort global known variables: time 1.674e-06/30.68, allocations: 4 kB / 7.551 GB, free: 11.97 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.01814/30.7, allocations: 3.461 MB / 7.555 GB, free: 8.566 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 1.052/31.75, allocations: 11 MB / 7.565 GB, free: 97.1 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.01909/31.77, allocations: 5.42 MB / 7.571 GB, free: 96.65 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 1.386e-05/31.77, allocations: 2.406 kB / 7.571 GB, free: 96.65 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 0.004714/31.77, allocations: 1.212 MB / 7.572 GB, free: 96.65 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03045/31.81, allocations: 3.12 MB / 7.575 GB, free: 96.6 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02989/31.84, allocations: 11.68 MB / 7.586 GB, free: 92.04 MB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008187/31.84, allocations: 3.317 MB / 7.589 GB, free: 91.21 MB / 1.12 GB Notification: Performance of simCode: alias equations: time 0.01349/31.86, allocations: 1.56 MB / 7.591 GB, free: 91.16 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002869/31.86, allocations: 434.8 kB / 7.591 GB, free: 91.16 MB / 1.12 GB Notification: Performance of SimCode: time 9.72e-07/31.86, allocations: 0 / 7.591 GB, free: 91.16 MB / 1.12 GB Notification: Performance of Templates: time 0.4695/32.33, allocations: 200.7 MB / 7.787 GB, free: 80.21 MB / 1.12 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.makefile (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 & ./Buildings_8.0.0_Buildings.Fluid.Movers.Validation.ControlledFlowMachine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.pipe 2>&1)