Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Fluid.Movers.Validation.ControlledFlowMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Movers.Validation.ControlledFlowMachine") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01057/0.01058, allocations: 222.2 kB / 15.17 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001098/0.001098, allocations: 176.8 kB / 16.06 MB, free: 5.832 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.525/3.525, allocations: 389.1 MB / 405.9 MB, free: 13.23 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.836/3.836, allocations: 472.3 MB / 0.9018 GB, free: 3.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004905/0.0004907, allocations: 16 kB / 1.008 GB, free: 10.3 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5501/0.5506, allocations: 98.7 MB / 1.104 GB, free: 212.8 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.ControlledFlowMachine): time 0.8738/1.424, allocations: 329.9 MB / 1.426 GB, free: 11.34 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.07001/1.494, allocations: 48.62 MB / 1.474 GB, free: 10.71 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007083/1.502, allocations: 153.2 kB / 1.474 GB, free: 10.71 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.008323/1.51, allocations: 2.3 MB / 1.476 GB, free: 10.71 MB / 0.7605 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:25:17-26:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:23:17-24:49:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:25:17-26:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:23:17-24:49:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.02774/1.538, allocations: 8.237 MB / 1.484 GB, free: 9.07 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.01895/1.557, allocations: 5.361 MB / 1.489 GB, free: 7.898 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0213/1.578, allocations: 15.32 MB / 1.504 GB, free: 4.898 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007102/1.585, allocations: 3.397 MB / 1.508 GB, free: 3.801 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01446/1.6, allocations: 5.588 MB / 1.513 GB, free: 1.98 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007903/1.608, allocations: 4.134 MB / 1.517 GB, free: 0.5547 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.001373/1.609, allocations: 240.7 kB / 1.517 GB, free: 0.5547 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01142/1.62, allocations: 2.784 MB / 1.52 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.004272/1.625, allocations: 2.319 MB / 1.522 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.003382/1.628, allocations: 1.36 MB / 1.524 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.01436/1.643, allocations: 8.3 MB / 1.532 GB, free: 4.879 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 6.286e-06/1.643, allocations: 2.297 kB / 1.532 GB, free: 4.879 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.922e-06/1.643, allocations: 4 kB / 1.532 GB, free: 4.875 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001649/1.643, allocations: 0 / 1.532 GB, free: 4.875 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 752 * Number of variables: 752 Notification: Performance of Generate backend data structure: time 0.01703/1.66, allocations: 6.816 MB / 1.538 GB, free: 14.52 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/1.66, allocations: 13.62 kB / 1.538 GB, free: 14.51 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.011/1.671, allocations: 1.463 MB / 1.54 GB, free: 13.11 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01427/1.685, allocations: 5.902 MB / 1.546 GB, free: 9.055 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002524/1.686, allocations: 261.3 kB / 1.546 GB, free: 8.906 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007759/1.686, allocations: 353.5 kB / 1.546 GB, free: 8.672 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009256/1.696, allocations: 4.163 MB / 1.55 GB, free: 5.75 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.556e-05/1.696, allocations: 0.75 kB / 1.55 GB, free: 5.75 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004114/1.696, allocations: 122.1 kB / 1.55 GB, free: 5.723 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001398/1.696, allocations: 117.6 kB / 1.55 GB, free: 5.609 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007612/1.704, allocations: 3.016 MB / 1.553 GB, free: 3.586 MB / 0.7917 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.03206/1.736, allocations: 18.01 MB / 1.571 GB, free: 4.492 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005596/1.742, allocations: 2.327 MB / 1.573 GB, free: 3.047 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002811/1.745, allocations: 1.262 MB / 1.575 GB, free: 2.223 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004452/1.745, allocations: 218.2 kB / 1.575 GB, free: 1.988 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003582/1.749, allocations: 1.821 MB / 1.577 GB, free: 0.7188 MB / 0.8073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002528/1.751, allocations: 376.9 kB / 1.577 GB, free: 400 kB / 0.8073 GB Notification: Performance of pre-optimization done (n=176): time 7.243e-06/1.751, allocations: 0 / 1.577 GB, free: 400 kB / 0.8073 GB Notification: Performance of matching and sorting (n=176): time 0.01111/1.762, allocations: 3.947 MB / 1.581 GB, free: 13.42 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001169/1.763, allocations: 160.4 kB / 1.581 GB, free: 13.23 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01125/1.774, allocations: 5.696 MB / 1.586 GB, free: 8.812 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0006108/1.774, allocations: 88.33 kB / 1.587 GB, free: 8.723 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.00361/1.778, allocations: 2.648 MB / 1.589 GB, free: 6.078 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001078/1.779, allocations: 0.6107 MB / 1.59 GB, free: 5.473 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002286/1.779, allocations: 48 kB / 1.59 GB, free: 5.426 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0003053/1.78, allocations: 424.1 kB / 1.59 GB, free: 5.004 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003121/1.783, allocations: 1.366 MB / 1.591 GB, free: 3.637 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004426/1.787, allocations: 2.58 MB / 1.594 GB, free: 0.5039 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003931/1.791, allocations: 1.717 MB / 1.596 GB, free: 14.78 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.631e-05/1.791, allocations: 12 kB / 1.596 GB, free: 14.77 MB / 0.8386 GB Notification: Performance of matching and sorting (n=375) (initialization): time 0.01062/1.802, allocations: 4.462 MB / 1.6 GB, free: 10.28 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009254/1.803, allocations: 1.025 MB / 1.601 GB, free: 8.832 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-05/1.803, allocations: 36 kB / 1.601 GB, free: 8.797 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001252/1.804, allocations: 296.1 kB / 1.601 GB, free: 8.504 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004032/1.808, allocations: 0.6354 MB / 1.602 GB, free: 7.871 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004567/1.813, allocations: 3.772 MB / 1.606 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00525/1.818, allocations: 322.3 kB / 1.606 GB, free: 3.672 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007364/1.819, allocations: 225.6 kB / 1.606 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/1.819, allocations: 4 kB / 1.606 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01088/1.83, allocations: 4.845 MB / 1.611 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.914e-05/1.83, allocations: 32.94 kB / 1.611 GB, free: 14.56 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002198/1.832, allocations: 0.6805 MB / 1.612 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003239/1.835, allocations: 0.624 MB / 1.612 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01653/1.852, allocations: 8.759 MB / 1.621 GB, free: 4.223 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00522/1.857, allocations: 322.9 kB / 1.621 GB, free: 3.914 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005358/1.858, allocations: 196 kB / 1.621 GB, free: 3.723 MB / 0.8542 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 (322): * Single equations (assignments): 310 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.003709/1.862, allocations: 1.539 MB / 1.623 GB, free: 2.172 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001115/1.863, allocations: 0.5168 MB / 1.623 GB, free: 1.648 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00755/1.87, allocations: 3.058 MB / 1.626 GB, free: 14.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.602e-05/1.87, allocations: 23.95 kB / 1.626 GB, free: 14.58 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.28e-06/1.87, allocations: 4 kB / 1.626 GB, free: 14.57 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005588/1.876, allocations: 2.662 MB / 1.629 GB, free: 11.83 MB / 0.8698 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.01713/1.893, allocations: 7.34 MB / 1.636 GB, free: 4.398 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.198e-05/1.893, allocations: 0.8438 kB / 1.636 GB, free: 4.398 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002997/1.896, allocations: 481 kB / 1.637 GB, free: 3.93 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009477/1.897, allocations: 290.9 kB / 1.637 GB, free: 3.648 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001896/1.897, allocations: 59.97 kB / 1.637 GB, free: 3.59 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003391/1.901, allocations: 3.522 MB / 1.64 GB, free: 15.95 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.877e-06/1.901, allocations: 9.453 kB / 1.64 GB, free: 15.94 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009672/1.91, allocations: 4.453 MB / 1.645 GB, free: 11.45 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002613/1.913, allocations: 0.8181 MB / 1.645 GB, free: 10.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007349/1.914, allocations: 44 kB / 1.646 GB, free: 10.56 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003613/1.917, allocations: 311 kB / 1.646 GB, free: 10.26 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003051/1.918, allocations: 125.7 kB / 1.646 GB, free: 10.14 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002307/1.918, allocations: 83.95 kB / 1.646 GB, free: 10.06 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.007917/1.926, allocations: 3.898 MB / 1.65 GB, free: 6.168 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.081e-06/1.926, allocations: 0 / 1.65 GB, free: 6.168 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.008926/1.935, allocations: 2.591 MB / 1.652 GB, free: 3.574 MB / 0.8855 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 (172): * Single equations (assignments): 165 * 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 7,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001778/1.937, allocations: 0.6355 MB / 1.653 GB, free: 3 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01484/1.952, allocations: 6.033 MB / 1.659 GB, free: 12.93 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.746e-05/1.952, allocations: 4.562 kB / 1.659 GB, free: 12.92 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.003432/1.955, allocations: 1.262 MB / 1.66 GB, free: 11.66 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01628/1.971, allocations: 3.21 MB / 1.663 GB, free: 8.602 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02259/1.994, allocations: 11.83 MB / 1.675 GB, free: 12.75 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004869/1.999, allocations: 3.436 MB / 1.678 GB, free: 9.285 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.007984/2.007, allocations: 1.395 MB / 1.68 GB, free: 7.922 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0012/2.008, allocations: 367.4 kB / 1.68 GB, free: 7.562 MB / 0.9167 GB Notification: Performance of SimCode: time 1.545e-06/2.008, allocations: 0 / 1.68 GB, free: 7.562 MB / 0.9167 GB Notification: Performance of Templates: time 0.7164/2.725, allocations: 119.5 MB / 1.797 GB, free: 364.7 MB / 0.948 GB