Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic") translateModel(Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.631/1.631, allocations: 297.8 MB / 313.7 MB, free: 156 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001507/0.001506, allocations: 176.5 kB / 384.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 223.2 MB / 0.6626 GB, free: 4.355 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007716/0.0007716, allocations: 94.8 kB / 0.7808 GB, free: 43.55 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0005036/0.0005038, allocations: 12 kB / 0.9088 GB, free: 0.6953 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6001/0.6007, allocations: 120.3 MB / 1.026 GB, free: 56.36 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.241/4.842, allocations: 1.942 GB / 2.968 GB, free: 239 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003062/4.842, allocations: 97.81 kB / 2.968 GB, free: 238.9 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 17.14/21.98, allocations: 4.396 GB / 7.364 GB, free: 81.24 MB / 1.135 GB Notification: Performance of FrontEnd: time 2.044e-06/21.98, allocations: 0.9844 kB / 7.364 GB, free: 81.24 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.001337/21.98, allocations: 150.6 kB / 7.364 GB, free: 81.22 MB / 1.135 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 813 * Number of variables: 813 Notification: Performance of Generate backend data structure: time 0.03616/22.02, allocations: 10.76 MB / 7.375 GB, free: 78.02 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 5.529e-05/22.02, allocations: 11.03 kB / 7.375 GB, free: 78.02 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01314/22.03, allocations: 1.638 MB / 7.376 GB, free: 77.64 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0284/22.06, allocations: 11.25 MB / 7.387 GB, free: 76.24 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003817/22.06, allocations: 276.4 kB / 7.388 GB, free: 76.23 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001592/22.06, allocations: 384.9 kB / 7.388 GB, free: 76.23 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01103/22.07, allocations: 4.267 MB / 7.392 GB, free: 75.89 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-05/22.07, allocations: 7.031 kB / 7.392 GB, free: 75.89 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004384/22.07, allocations: 133.2 kB / 7.392 GB, free: 75.89 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.666e-05/22.07, allocations: 119.9 kB / 7.392 GB, free: 75.89 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006072/22.08, allocations: 3.25 MB / 7.396 GB, free: 75.85 MB / 1.135 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.03031/22.11, allocations: 20.11 MB / 7.415 GB, free: 68.19 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005294/22.11, allocations: 3.15 MB / 7.418 GB, free: 67.75 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002165/22.12, allocations: 1.433 MB / 7.42 GB, free: 67.73 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003637/22.12, allocations: 233 kB / 7.42 GB, free: 67.54 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002614/22.12, allocations: 1.856 MB / 7.422 GB, free: 67.45 MB / 1.135 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003364/22.12, allocations: 346.3 kB / 7.422 GB, free: 67.34 MB / 1.135 GB Notification: Performance of pre-optimization done (n=211): time 5.64e-06/22.12, allocations: 2.469 kB / 7.422 GB, free: 67.34 MB / 1.135 GB Notification: Performance of matching and sorting (n=211): time 0.008317/22.13, allocations: 4.336 MB / 7.426 GB, free: 66.74 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/22.13, allocations: 76.34 kB / 7.426 GB, free: 66.68 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0115/22.14, allocations: 7.057 MB / 7.433 GB, free: 66.25 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 0.0009369/22.14, allocations: 92.48 kB / 7.433 GB, free: 66.22 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.002996/22.15, allocations: 2.75 MB / 7.436 GB, free: 65.6 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.001263/22.15, allocations: 0.7308 MB / 7.437 GB, free: 65.13 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001847/22.15, allocations: 55.91 kB / 7.437 GB, free: 65.13 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 0.0001687/22.15, allocations: 432.3 kB / 7.437 GB, free: 64.82 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002246/22.15, allocations: 1.298 MB / 7.438 GB, free: 64.81 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002868/22.15, allocations: 2.54 MB / 7.441 GB, free: 63.35 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005067/22.16, allocations: 3.75 MB / 7.445 GB, free: 62.2 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.579e-05/22.16, allocations: 6.375 kB / 7.445 GB, free: 62.2 MB / 1.135 GB Notification: Performance of matching and sorting (n=408) (initialization): time 0.008689/22.17, allocations: 4.438 MB / 7.449 GB, free: 61.73 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.000544/22.17, allocations: 1.012 MB / 7.45 GB, free: 60.54 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.285e-05/22.17, allocations: 32.12 kB / 7.45 GB, free: 60.54 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008608/22.17, allocations: 285.8 kB / 7.45 GB, free: 60.52 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003336/22.17, allocations: 0.7693 MB / 7.451 GB, free: 60.52 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002454/22.17, allocations: 3.464 MB / 7.454 GB, free: 57.72 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006032/22.18, allocations: 350.6 kB / 7.455 GB, free: 57.69 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005962/22.18, allocations: 267.7 kB / 7.455 GB, free: 57.69 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/22.18, allocations: 3.25 kB / 7.455 GB, free: 57.69 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006587/22.19, allocations: 4.234 MB / 7.459 GB, free: 57.55 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-05/22.19, allocations: 28.06 kB / 7.459 GB, free: 57.55 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001144/22.19, allocations: 0.5575 MB / 7.46 GB, free: 57.53 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002668/22.19, allocations: 0.7363 MB / 7.46 GB, free: 57.53 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008699/22.2, allocations: 7.217 MB / 7.467 GB, free: 54.32 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006681/22.21, allocations: 344.2 kB / 7.468 GB, free: 54.29 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008594/22.21, allocations: 231.2 kB / 7.468 GB, free: 54.29 MB / 1.135 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 133 * 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 (355): * Single equations (assignments): 345 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * 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.004479/22.21, allocations: 1.586 MB / 7.47 GB, free: 54.07 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001704/22.21, allocations: 0.5448 MB / 7.47 GB, free: 53.77 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006799/22.22, allocations: 3.387 MB / 7.473 GB, free: 53.58 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.641e-05/22.22, allocations: 28.19 kB / 7.473 GB, free: 53.58 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/22.22, allocations: 0 / 7.473 GB, free: 53.58 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004197/22.22, allocations: 2.888 MB / 7.476 GB, free: 53.05 MB / 1.135 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.01723/22.24, allocations: 9.139 MB / 7.485 GB, free: 51.67 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.927e-06/22.24, allocations: 3.844 kB / 7.485 GB, free: 51.67 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002527/22.24, allocations: 0.5511 MB / 7.486 GB, free: 51.65 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005296/22.24, allocations: 235.1 kB / 7.486 GB, free: 51.59 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001736/22.24, allocations: 72.5 kB / 7.486 GB, free: 51.55 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001533/22.25, allocations: 3.294 MB / 7.489 GB, free: 48.55 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/22.25, allocations: 0 / 7.489 GB, free: 48.55 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008336/22.25, allocations: 4.844 MB / 7.494 GB, free: 46.45 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004717/22.26, allocations: 1.212 MB / 7.495 GB, free: 45.7 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002241/22.26, allocations: 48.25 kB / 7.495 GB, free: 45.67 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004599/22.27, allocations: 334.3 kB / 7.495 GB, free: 45.62 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003023/22.27, allocations: 146.6 kB / 7.496 GB, free: 45.6 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002195/22.27, allocations: 103.8 kB / 7.496 GB, free: 45.58 MB / 1.135 GB Notification: Performance of sorting global known variables: time 0.009301/22.28, allocations: 4.867 MB / 7.5 GB, free: 43.67 MB / 1.135 GB Notification: Performance of sort global known variables: time 4.8e-07/22.28, allocations: 0 / 7.5 GB, free: 43.67 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.01463/22.29, allocations: 3.554 MB / 7.504 GB, free: 42.79 MB / 1.135 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 20 (fan1.vol.dynBal.U,fan1.vol.dynBal.m,fan1.vol.dynBal.mXi[1],fan1.filter.s[1],fan1.filter.s[2],fan3.vol.dynBal.U,fan3.vol.dynBal.m,fan3.vol.dynBal.mXi[1],fan3.filter.s[1],fan3.filter.s[2],fan2.vol.dynBal.U,fan2.vol.dynBal.m,fan2.vol.dynBal.mXi[1],fan2.filter.s[1],fan2.filter.s[2],fan4.vol.dynBal.U,fan4.vol.dynBal.m,fan4.vol.dynBal.mXi[1],fan4.filter.s[1],fan4.filter.s[2]) * 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 (207): * Single equations (assignments): 200 * 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.01484/22.31, allocations: 11 MB / 7.515 GB, free: 36.64 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.01235/22.32, allocations: 5.786 MB / 7.52 GB, free: 34.68 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 1.469e-05/22.32, allocations: 5.906 kB / 7.52 GB, free: 34.68 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.003326/22.32, allocations: 1.401 MB / 7.522 GB, free: 34.28 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02147/22.34, allocations: 3.192 MB / 7.525 GB, free: 33.65 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01959/22.36, allocations: 12.5 MB / 7.537 GB, free: 26.93 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003564/22.37, allocations: 3.44 MB / 7.54 GB, free: 25.66 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 0.008329/22.37, allocations: 1.664 MB / 7.542 GB, free: 25.45 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001855/22.38, allocations: 475.6 kB / 7.542 GB, free: 25.42 MB / 1.135 GB Notification: Performance of SimCode: time 9.71e-07/22.38, allocations: 0 / 7.542 GB, free: 25.42 MB / 1.135 GB Notification: Performance of Templates: time 1.155/23.53, allocations: 205.1 MB / 7.743 GB, free: 93.02 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.makefile (rm -f Buildings_latest_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.sim & ./Buildings_latest_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe 2>&1)