Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/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_master_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.503/2.503, allocations: 287.9 MB / 302.9 MB, free: 8.293 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001494/0.001494, allocations: 183 kB / 371.4 MB, free: 10.64 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.986/1.986, allocations: 205.4 MB / 0.6301 GB, free: 10.38 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001487/0.001487, allocations: 92.72 kB / 0.7434 GB, free: 6.398 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004636/0.0004638, allocations: 16.38 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.1515, allocations: 115.3 MB / 0.9787 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic): time 0.9919/1.143, allocations: 300.9 MB / 1.273 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.084/1.227, allocations: 45.27 MB / 1.317 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006461/1.234, allocations: 143 kB / 1.317 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.009769/1.244, allocations: 2.625 MB / 1.319 GB, free: 11.94 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.02723/1.271, allocations: 7.587 MB / 1.327 GB, free: 4.336 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.01949/1.291, allocations: 5.227 MB / 1.332 GB, free: 15.15 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.01728/1.308, allocations: 7.884 MB / 1.34 GB, free: 7.258 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007927/1.316, allocations: 3.695 MB / 1.343 GB, free: 3.512 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01532/1.331, allocations: 5.479 MB / 1.349 GB, free: 14.01 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006293/1.337, allocations: 2.919 MB / 1.351 GB, free: 11.08 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.001429/1.339, allocations: 248 kB / 1.352 GB, free: 10.84 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01082/1.35, allocations: 3.046 MB / 1.355 GB, free: 7.789 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.003723/1.354, allocations: 2.127 MB / 1.357 GB, free: 5.656 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.002967/1.357, allocations: 1.436 MB / 1.358 GB, free: 4.211 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.01549/1.372, allocations: 8.747 MB / 1.367 GB, free: 11.45 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.581e-06/1.372, allocations: 0 / 1.367 GB, free: 11.45 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.799e-06/1.372, allocations: 0 / 1.367 GB, free: 11.45 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0001973/1.372, allocations: 0 / 1.367 GB, free: 11.45 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.01887/1.391, allocations: 7.281 MB / 1.374 GB, free: 4.066 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/1.391, allocations: 8.031 kB / 1.374 GB, free: 4.059 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01372/1.405, allocations: 1.759 MB / 1.376 GB, free: 2.289 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03364/1.439, allocations: 11.18 MB / 1.386 GB, free: 7.027 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004081/1.439, allocations: 287.7 kB / 1.387 GB, free: 6.746 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001084/1.44, allocations: 380 kB / 1.387 GB, free: 6.375 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01131/1.452, allocations: 4.318 MB / 1.391 GB, free: 1.934 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.563e-05/1.452, allocations: 4 kB / 1.391 GB, free: 1.93 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004753/1.452, allocations: 128 kB / 1.391 GB, free: 1.805 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00015/1.452, allocations: 118.3 kB / 1.392 GB, free: 1.688 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009548/1.462, allocations: 3.081 MB / 1.395 GB, free: 14.59 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.03755/1.499, allocations: 18.9 MB / 1.413 GB, free: 10.46 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007783/1.507, allocations: 2.528 MB / 1.416 GB, free: 7.926 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002164/1.508, allocations: 49.89 kB / 1.416 GB, free: 7.879 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004385/1.512, allocations: 1.764 MB / 1.417 GB, free: 6.102 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002602/1.515, allocations: 353.2 kB / 1.418 GB, free: 5.754 MB / 0.948 GB Notification: Performance of pre-optimization done (n=200): time 6.002e-06/1.515, allocations: 0 / 1.418 GB, free: 5.754 MB / 0.948 GB Notification: Performance of matching and sorting (n=200): time 0.01408/1.529, allocations: 4.085 MB / 1.422 GB, free: 1.617 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002405/1.529, allocations: 360.1 kB / 1.422 GB, free: 1.188 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01872/1.548, allocations: 8.79 MB / 1.431 GB, free: 8.414 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0006509/1.548, allocations: 85.7 kB / 1.431 GB, free: 8.324 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.004273/1.553, allocations: 2.854 MB / 1.433 GB, free: 5.445 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.001253/1.554, allocations: 0.6969 MB / 1.434 GB, free: 4.738 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002752/1.554, allocations: 56 kB / 1.434 GB, free: 4.684 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0003523/1.555, allocations: 436.7 kB / 1.435 GB, free: 4.25 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003808/1.558, allocations: 1.435 MB / 1.436 GB, free: 2.812 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.6473/2.206, allocations: 2.685 MB / 1.439 GB, free: 356.1 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005173/2.211, allocations: 1.798 MB / 1.44 GB, free: 356 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.929e-05/2.211, allocations: 7.656 kB / 1.44 GB, free: 356 MB / 0.9636 GB Notification: Performance of matching and sorting (n=413) (initialization): time 0.01323/2.224, allocations: 4.712 MB / 1.445 GB, free: 354.6 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.002796/2.227, allocations: 14.83 MB / 1.459 GB, free: 338.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001343/2.227, allocations: 37.97 kB / 1.459 GB, free: 338.5 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001282/2.229, allocations: 282.3 kB / 1.46 GB, free: 338.5 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005038/2.234, allocations: 0.7244 MB / 1.46 GB, free: 338.4 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003963/2.238, allocations: 3.749 MB / 1.464 GB, free: 335.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006141/2.244, allocations: 330.8 kB / 1.464 GB, free: 335.2 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009218/2.245, allocations: 253.6 kB / 1.465 GB, free: 335.2 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/2.245, allocations: 4.406 kB / 1.465 GB, free: 335.2 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01199/2.257, allocations: 4.943 MB / 1.469 GB, free: 333.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000148/2.257, allocations: 38.36 kB / 1.47 GB, free: 333.3 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002249/2.259, allocations: 0.6673 MB / 1.47 GB, free: 333.1 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003983/2.263, allocations: 0.6939 MB / 1.471 GB, free: 333 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01564/2.279, allocations: 8.701 MB / 1.479 GB, free: 328.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006174/2.285, allocations: 326 kB / 1.48 GB, free: 328 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008649/2.286, allocations: 217.1 kB / 1.48 GB, free: 328 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.004108/2.29, allocations: 1.597 MB / 1.481 GB, free: 327.1 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001217/2.291, allocations: 0.5553 MB / 1.482 GB, free: 326.9 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009167/2.301, allocations: 3.243 MB / 1.485 GB, free: 325.7 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.611e-05/2.301, allocations: 19.22 kB / 1.485 GB, free: 325.7 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.395e-06/2.301, allocations: 4.594 kB / 1.485 GB, free: 325.7 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006709/2.307, allocations: 2.727 MB / 1.488 GB, free: 324.4 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.02062/2.328, allocations: 7.777 MB / 1.495 GB, free: 321.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.505e-05/2.328, allocations: 2.375 kB / 1.495 GB, free: 321.1 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0037/2.332, allocations: 0.5439 MB / 1.496 GB, free: 321.1 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009289/2.333, allocations: 278.9 kB / 1.496 GB, free: 321 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003712/2.333, allocations: 70.03 kB / 1.496 GB, free: 320.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002398/2.336, allocations: 3.498 MB / 1.5 GB, free: 317.8 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.357e-06/2.336, allocations: 2.375 kB / 1.5 GB, free: 317.8 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01081/2.346, allocations: 4.886 MB / 1.504 GB, free: 315.5 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002667/2.349, allocations: 0.9097 MB / 1.505 GB, free: 314.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001012/2.35, allocations: 46.89 kB / 1.505 GB, free: 314.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004346/2.355, allocations: 325.7 kB / 1.506 GB, free: 314.8 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004538/2.355, allocations: 127.5 kB / 1.506 GB, free: 314.8 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002806/2.355, allocations: 109 kB / 1.506 GB, free: 314.8 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.01015/2.366, allocations: 6.314 MB / 1.512 GB, free: 312.3 MB / 0.9636 GB Notification: Performance of sort global known variables: time 9.59e-07/2.366, allocations: 0 / 1.512 GB, free: 312.3 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.009427/2.375, allocations: 2.717 MB / 1.515 GB, free: 312 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.001782/2.377, allocations: 0.6464 MB / 1.515 GB, free: 311.8 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.01524/2.392, allocations: 6.421 MB / 1.522 GB, free: 307.2 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.06e-05/2.392, allocations: 4.438 kB / 1.522 GB, free: 307.2 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.003643/2.396, allocations: 1.322 MB / 1.523 GB, free: 305.9 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01455/2.41, allocations: 3.257 MB / 1.526 GB, free: 302.7 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02061/2.431, allocations: 12.58 MB / 1.538 GB, free: 290.1 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004515/2.436, allocations: 3.607 MB / 1.542 GB, free: 286.4 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.009317/2.445, allocations: 1.589 MB / 1.543 GB, free: 284.8 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001875/2.447, allocations: 447.2 kB / 1.544 GB, free: 284.4 MB / 0.9636 GB Notification: Performance of SimCode: time 2.507e-06/2.447, allocations: 0 / 1.544 GB, free: 284.4 MB / 0.9636 GB Notification: Performance of Templates: time 0.242/2.689, allocations: 124.2 MB / 1.665 GB, free: 161.1 MB / 0.9636 GB