Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.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.ControlledFlowMachineDynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic") translateModel(Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.787/2.787, allocations: 287.3 MB / 302.3 MB, free: 8.238 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.00152/0.00152, allocations: 181 kB / 370.8 MB, free: 10.83 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.167/2.167, allocations: 205.4 MB / 0.6295 GB, free: 10.57 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.001081/0.001081, allocations: 83.2 kB / 0.7428 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004922/0.0004925, allocations: 15.84 kB / 0.8656 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2151/0.2156, allocations: 115.3 MB / 0.9782 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic): time 1.163/1.378, allocations: 300.9 MB / 1.272 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.09941/1.478, allocations: 45.26 MB / 1.316 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007417/1.485, allocations: 146.9 kB / 1.316 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.01259/1.498, allocations: 2.609 MB / 1.319 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.03335/1.531, allocations: 7.591 MB / 1.326 GB, free: 4.715 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0227/1.554, allocations: 5.246 MB / 1.331 GB, free: 15.52 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.02136/1.575, allocations: 7.87 MB / 1.339 GB, free: 7.637 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008784/1.584, allocations: 3.699 MB / 1.343 GB, free: 3.887 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01888/1.603, allocations: 5.479 MB / 1.348 GB, free: 14.39 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007813/1.611, allocations: 2.915 MB / 1.351 GB, free: 11.46 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.002045/1.613, allocations: 252 kB / 1.351 GB, free: 11.21 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01343/1.627, allocations: 3.05 MB / 1.354 GB, free: 8.16 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.004614/1.631, allocations: 2.127 MB / 1.356 GB, free: 6.027 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.003781/1.635, allocations: 1.436 MB / 1.358 GB, free: 4.582 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.01841/1.654, allocations: 8.747 MB / 1.366 GB, free: 11.81 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/1.654, allocations: 0 / 1.366 GB, free: 11.81 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.645e-06/1.654, allocations: 0 / 1.366 GB, free: 11.81 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0003461/1.654, allocations: 0 / 1.366 GB, free: 11.81 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 817 * Number of variables: 817 Notification: Performance of Generate backend data structure: time 0.03366/1.688, allocations: 7.277 MB / 1.373 GB, free: 4.438 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 6.911e-05/1.688, allocations: 12.03 kB / 1.373 GB, free: 4.426 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02843/1.716, allocations: 1.755 MB / 1.375 GB, free: 2.66 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04195/1.758, allocations: 11.17 MB / 1.386 GB, free: 7.402 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005277/1.759, allocations: 287.7 kB / 1.386 GB, free: 7.121 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001656/1.76, allocations: 380 kB / 1.387 GB, free: 6.75 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01555/1.776, allocations: 4.314 MB / 1.391 GB, free: 2.312 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001583/1.776, allocations: 3.938 kB / 1.391 GB, free: 2.309 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001057/1.777, allocations: 140 kB / 1.391 GB, free: 2.172 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000223/1.778, allocations: 114.3 kB / 1.391 GB, free: 2.059 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01302/1.791, allocations: 3.073 MB / 1.394 GB, free: 14.98 MB / 0.9323 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.04969/1.84, allocations: 18.91 MB / 1.412 GB, free: 10.84 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01068/1.851, allocations: 2.52 MB / 1.415 GB, free: 8.309 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003753/1.852, allocations: 53.94 kB / 1.415 GB, free: 8.258 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006146/1.858, allocations: 1.764 MB / 1.417 GB, free: 6.48 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003756/1.862, allocations: 345.2 kB / 1.417 GB, free: 6.141 MB / 0.948 GB Notification: Performance of pre-optimization done (n=200): time 1.151e-05/1.862, allocations: 0 / 1.417 GB, free: 6.141 MB / 0.948 GB Notification: Performance of matching and sorting (n=200): time 0.01858/1.88, allocations: 4.101 MB / 1.421 GB, free: 1.988 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002038/1.88, allocations: 360.1 kB / 1.421 GB, free: 1.559 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02125/1.902, allocations: 8.786 MB / 1.43 GB, free: 8.785 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0009781/1.903, allocations: 93.64 kB / 1.43 GB, free: 8.688 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.005133/1.908, allocations: 2.85 MB / 1.433 GB, free: 5.816 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.001579/1.91, allocations: 0.693 MB / 1.434 GB, free: 5.113 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004266/1.91, allocations: 56 kB / 1.434 GB, free: 5.059 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.000394/1.91, allocations: 444.7 kB / 1.434 GB, free: 4.617 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005066/1.915, allocations: 1.431 MB / 1.435 GB, free: 3.184 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.6925/2.608, allocations: 2.682 MB / 1.438 GB, free: 356.6 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01026/2.618, allocations: 1.797 MB / 1.44 GB, free: 356.5 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.547e-05/2.619, allocations: 9.062 kB / 1.44 GB, free: 356.5 MB / 0.9636 GB Notification: Performance of matching and sorting (n=413) (initialization): time 0.02788/2.646, allocations: 4.715 MB / 1.444 GB, free: 355.2 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.004317/2.651, allocations: 14.82 MB / 1.459 GB, free: 339.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002185/2.651, allocations: 37.86 kB / 1.459 GB, free: 339.1 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002579/2.654, allocations: 284.8 kB / 1.459 GB, free: 339.1 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01162/2.665, allocations: 0.7243 MB / 1.46 GB, free: 339 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007667/2.673, allocations: 3.749 MB / 1.464 GB, free: 335.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01259/2.686, allocations: 334.8 kB / 1.464 GB, free: 335.8 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00165/2.687, allocations: 254.4 kB / 1.464 GB, free: 335.8 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.752e-05/2.688, allocations: 4.219 kB / 1.464 GB, free: 335.8 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02416/2.712, allocations: 4.941 MB / 1.469 GB, free: 333.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000273/2.712, allocations: 34.31 kB / 1.469 GB, free: 333.8 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00483/2.717, allocations: 0.6686 MB / 1.47 GB, free: 333.7 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009307/2.726, allocations: 0.6906 MB / 1.47 GB, free: 333.6 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03027/2.757, allocations: 8.703 MB / 1.479 GB, free: 328.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0108/2.768, allocations: 332.7 kB / 1.479 GB, free: 328.6 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001484/2.769, allocations: 215.2 kB / 1.479 GB, free: 328.6 MB / 0.9636 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 (356): * Single equations (assignments): 338 * Array equations: 8 * Algorithm blocks: 1 * Record equations: 4 * 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 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.007335/2.776, allocations: 1.597 MB / 1.481 GB, free: 327.7 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002372/2.779, allocations: 0.556 MB / 1.481 GB, free: 327.5 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02158/2.801, allocations: 3.24 MB / 1.485 GB, free: 326.3 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.214e-05/2.801, allocations: 20.41 kB / 1.485 GB, free: 326.3 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.866e-05/2.801, allocations: 1.688 kB / 1.485 GB, free: 326.3 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009548/2.81, allocations: 2.724 MB / 1.487 GB, free: 325 MB / 0.9636 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.02685/2.837, allocations: 7.777 MB / 1.495 GB, free: 321.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.508e-05/2.837, allocations: 10.33 kB / 1.495 GB, free: 321.7 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005432/2.843, allocations: 0.5466 MB / 1.495 GB, free: 321.6 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001099/2.844, allocations: 273.5 kB / 1.496 GB, free: 321.6 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005055/2.844, allocations: 68.72 kB / 1.496 GB, free: 321.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00279/2.847, allocations: 3.492 MB / 1.499 GB, free: 318.4 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/2.847, allocations: 6.031 kB / 1.499 GB, free: 318.4 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01497/2.862, allocations: 4.884 MB / 1.504 GB, free: 316.1 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00383/2.866, allocations: 0.9075 MB / 1.505 GB, free: 315.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001921/2.868, allocations: 55.77 kB / 1.505 GB, free: 315.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006829/2.875, allocations: 317.7 kB / 1.505 GB, free: 315.4 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006785/2.876, allocations: 134.1 kB / 1.505 GB, free: 315.4 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003346/2.876, allocations: 104 kB / 1.505 GB, free: 315.4 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.01285/2.889, allocations: 6.31 MB / 1.512 GB, free: 313 MB / 0.9636 GB Notification: Performance of sort global known variables: time 9.82e-07/2.889, allocations: 0 / 1.512 GB, free: 313 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.01308/2.902, allocations: 2.724 MB / 1.514 GB, free: 312.7 MB / 0.9636 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.x[1],fan1.filter.x[2],fan3.vol.dynBal.U,fan3.vol.dynBal.m,fan3.vol.dynBal.mXi[1],fan3.filter.x[1],fan3.filter.x[2],fan2.vol.dynBal.U,fan2.vol.dynBal.m,fan2.vol.dynBal.mXi[1],fan2.filter.x[1],fan2.filter.x[2],fan4.vol.dynBal.U,fan4.vol.dynBal.m,fan4.vol.dynBal.mXi[1],fan4.filter.x[1],fan4.filter.x[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 (198): * Single equations (assignments): 191 * 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 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.00245/2.904, allocations: 0.6537 MB / 1.515 GB, free: 312.5 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.02472/2.929, allocations: 6.422 MB / 1.521 GB, free: 309.3 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.891e-05/2.929, allocations: 448 / 1.521 GB, free: 309.3 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.007724/2.937, allocations: 1.323 MB / 1.522 GB, free: 308.1 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0316/2.969, allocations: 3.254 MB / 1.526 GB, free: 305 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03973/3.009, allocations: 12.57 MB / 1.538 GB, free: 292.4 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009387/3.018, allocations: 3.603 MB / 1.541 GB, free: 288.7 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.01812/3.036, allocations: 1.6 MB / 1.543 GB, free: 287.1 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003806/3.04, allocations: 447.3 kB / 1.543 GB, free: 286.7 MB / 0.9636 GB Notification: Performance of SimCode: time 1.953e-06/3.04, allocations: 4 kB / 1.543 GB, free: 286.7 MB / 0.9636 GB Notification: Performance of Templates: time 0.3466/3.387, allocations: 124.2 MB / 1.665 GB, free: 163.3 MB / 0.9636 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.sim & ./Buildings_8.0.0_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe 2>&1)