Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4.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.Examples.FlowSystem.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01015/0.01016, allocations: 221.6 kB / 15.17 MB, free: 5.996 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.001123/0.001123, allocations: 176.3 kB / 16.06 MB, free: 5.871 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.314/3.314, allocations: 389 MB / 405.9 MB, free: 67.57 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.973/3.973, allocations: 472.3 MB / 0.9018 GB, free: 13.28 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004759/0.000476, allocations: 12 kB / 1.008 GB, free: 0.7383 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.471/0.4715, allocations: 98.73 MB / 1.104 GB, free: 183.8 MB / 0.6823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified4): time 0.7899/1.261, allocations: 325.8 MB / 1.422 GB, free: 4.352 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.1235/1.385, allocations: 71.88 MB / 1.492 GB, free: 12.43 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01355/1.398, allocations: 381.2 kB / 1.493 GB, free: 12.05 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.01634/1.415, allocations: 4.453 MB / 1.497 GB, free: 7.57 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. Notification: Performance of NFTyping.typeBindings: time 0.0484/1.463, allocations: 13.53 MB / 1.51 GB, free: 9.977 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.03749/1.501, allocations: 11.22 MB / 1.521 GB, free: 14.89 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.05316/1.554, allocations: 38.03 MB / 1.558 GB, free: 8.742 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02363/1.578, allocations: 14.18 MB / 1.572 GB, free: 10.52 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02663/1.604, allocations: 12.33 MB / 1.584 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02741/1.632, allocations: 13.46 MB / 1.597 GB, free: 0.6328 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.003928/1.636, allocations: 0.9922 MB / 1.598 GB, free: 15.64 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01529/1.651, allocations: 3.743 MB / 1.602 GB, free: 11.89 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.006487/1.658, allocations: 4.228 MB / 1.606 GB, free: 7.648 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.006239/1.664, allocations: 2.916 MB / 1.609 GB, free: 4.719 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 1.187/2.851, allocations: 19.08 MB / 1.628 GB, free: 63.33 MB / 0.8699 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/2.851, allocations: 0 / 1.628 GB, free: 63.33 MB / 0.8699 GB Notification: Performance of FrontEnd: time 2.466e-06/2.851, allocations: 0 / 1.628 GB, free: 63.33 MB / 0.8699 GB Notification: Performance of Transformations before backend: time 0.0004654/2.852, allocations: 0 / 1.628 GB, free: 63.33 MB / 0.8699 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1743 * Number of variables: 1743 Notification: Performance of Generate backend data structure: time 0.05043/2.902, allocations: 18.04 MB / 1.645 GB, free: 57.09 MB / 0.8699 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/2.902, allocations: 9.344 kB / 1.645 GB, free: 57.09 MB / 0.8699 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01241/2.914, allocations: 2.286 MB / 1.648 GB, free: 56.24 MB / 0.8699 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03581/2.95, allocations: 13.46 MB / 1.661 GB, free: 54.36 MB / 0.8699 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001549/2.952, allocations: 0.7158 MB / 1.661 GB, free: 54.34 MB / 0.8699 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004016/2.956, allocations: 0.7717 MB / 1.662 GB, free: 54.34 MB / 0.8699 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0378/2.994, allocations: 14.76 MB / 1.677 GB, free: 53.61 MB / 0.8699 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001864/2.994, allocations: 16.81 kB / 1.677 GB, free: 53.6 MB / 0.8699 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001816/2.996, allocations: 288.7 kB / 1.677 GB, free: 53.6 MB / 0.8699 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00018/2.996, allocations: 182.2 kB / 1.677 GB, free: 53.6 MB / 0.8699 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04344/3.039, allocations: 19.21 MB / 1.696 GB, free: 53.54 MB / 0.8699 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.1359/3.175, allocations: 77.21 MB / 1.771 GB, free: 10.09 MB / 0.8699 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01939/3.195, allocations: 10.53 MB / 1.781 GB, free: 4.48 MB / 0.8699 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01563/3.211, allocations: 9.096 MB / 1.79 GB, free: 15.17 MB / 0.8855 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 evalFunc (simulation): time 0.07418/3.285, allocations: 32.61 MB / 1.822 GB, free: 5.781 MB / 0.9012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01704/3.302, allocations: 8.852 MB / 1.831 GB, free: 15.83 MB / 0.9168 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03529/3.337, allocations: 9.848 MB / 1.84 GB, free: 6.664 MB / 0.9168 GB Notification: Performance of pre-optimization done (n=420): time 1.974e-05/3.337, allocations: 0 / 1.84 GB, free: 6.664 MB / 0.9168 GB Notification: Performance of matching and sorting (n=604): time 1.481/4.818, allocations: 186.6 MB / 2.023 GB, free: 461.7 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.857e-05/4.818, allocations: 119.3 kB / 2.023 GB, free: 461.6 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02174/4.84, allocations: 12.93 MB / 2.035 GB, free: 457.1 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.002901/4.843, allocations: 188.7 kB / 2.036 GB, free: 456.9 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.006639/4.849, allocations: 6.622 MB / 2.042 GB, free: 452.4 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.003787/4.853, allocations: 2.046 MB / 2.044 GB, free: 451.8 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001433/4.854, allocations: 155.2 kB / 2.044 GB, free: 451.7 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0004043/4.855, allocations: 0.6144 MB / 2.045 GB, free: 451.2 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01785/4.873, allocations: 8.684 MB / 2.053 GB, free: 446.3 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02/4.893, allocations: 11.2 MB / 2.064 GB, free: 438.4 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02054/4.913, allocations: 9.729 MB / 2.074 GB, free: 433 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.035e-05/4.913, allocations: 14.19 kB / 2.074 GB, free: 433 MB / 1.042 GB Notification: Performance of matching and sorting (n=1027) (initialization): time 0.6779/5.591, allocations: 122.7 MB / 2.194 GB, free: 313.5 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.000765/5.592, allocations: 1.738 MB / 2.195 GB, free: 311 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.568e-05/5.592, allocations: 56 kB / 2.195 GB, free: 311 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7541/6.346, allocations: 143.5 MB / 2.335 GB, free: 167.3 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01285/6.359, allocations: 1.8 MB / 2.337 GB, free: 165.5 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1711/6.53, allocations: 78.79 MB / 2.414 GB, free: 86.34 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01705/6.548, allocations: 0.9995 MB / 2.415 GB, free: 85.34 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002277/6.55, allocations: 0.7763 MB / 2.416 GB, free: 84.56 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/6.55, allocations: 4 kB / 2.416 GB, free: 84.56 MB / 1.042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.229/7.779, allocations: 121.5 MB / 2.535 GB, free: 428 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001228/7.779, allocations: 54.33 kB / 2.535 GB, free: 428 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7861/8.565, allocations: 143.3 MB / 2.675 GB, free: 313.4 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009996/8.575, allocations: 1.783 MB / 2.676 GB, free: 311.7 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1844/8.76, allocations: 82.74 MB / 2.757 GB, free: 228.8 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0168/8.777, allocations: 0.9901 MB / 2.758 GB, free: 227.9 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002033/8.779, allocations: 0.7451 MB / 2.759 GB, free: 227.2 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 237 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,stepPump.y,$PRE.stepPump.pulsStart,stepPump.pulsStart,pumpHea.stage,$PRE.stepValve.T_start,stepValve.T_start,$PRE.stepValve.count,stepValve.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (767): * Single equations (assignments): 753 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(28,89.3%) 28} * Non-linear torn systems: 2 {5 80,5 80} Notification: Performance of prepare postOptimizeDAE: time 0.008693/8.787, allocations: 3.309 MB / 2.762 GB, free: 223.9 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003601/8.791, allocations: 1.275 MB / 2.763 GB, free: 223.3 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.214/9.005, allocations: 47.96 MB / 2.81 GB, free: 175.4 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.527e-05/9.005, allocations: 75.98 kB / 2.81 GB, free: 175.3 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.722e-05/9.005, allocations: 34.44 kB / 2.81 GB, free: 175.3 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1978/9.203, allocations: 42.47 MB / 2.852 GB, free: 132.8 MB / 1.042 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.2395/9.443, allocations: 62.81 MB / 2.913 GB, free: 69.99 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.155e-05/9.443, allocations: 8 kB / 2.913 GB, free: 69.98 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007154/9.45, allocations: 1.177 MB / 2.914 GB, free: 68.81 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2254/9.675, allocations: 42.79 MB / 2.956 GB, free: 26 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00185/9.677, allocations: 195.9 kB / 2.956 GB, free: 25.8 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5849/10.26, allocations: 35.61 MB / 2.991 GB, free: 434.7 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.147e-05/10.26, allocations: 11.16 kB / 2.991 GB, free: 434.7 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.244/10.51, allocations: 54.64 MB / 3.044 GB, free: 421.4 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009241/10.52, allocations: 2.75 MB / 3.047 GB, free: 420.6 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002964/10.52, allocations: 133.1 kB / 3.047 GB, free: 420.5 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01285/10.53, allocations: 0.8808 MB / 3.048 GB, free: 420 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002111/10.53, allocations: 0.4917 MB / 3.048 GB, free: 419.7 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001063/10.53, allocations: 289 kB / 3.049 GB, free: 419.4 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.01477/10.55, allocations: 8.743 MB / 3.057 GB, free: 412.4 MB / 1.042 GB Notification: Performance of sort global known variables: time 1.06e-06/10.55, allocations: 4 kB / 3.057 GB, free: 412.4 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.04066/10.59, allocations: 7.254 MB / 3.064 GB, free: 405.3 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 8 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,stepPump.y,stepPump.pulsStart,pumpHea.stage,stepValve.T_start,stepValve.count) * Number of discrete states: 1 (stepValve.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (540): * Single equations (assignments): 518 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(28,89.3%) 28} * Non-linear torn systems: 3 {9 78,5 80,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.003625/10.59, allocations: 1.535 MB / 3.066 GB, free: 404.2 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0856/10.68, allocations: 35.77 MB / 3.101 GB, free: 373.3 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.315e-05/10.68, allocations: 6 kB / 3.101 GB, free: 373.3 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.02319/10.7, allocations: 10.07 MB / 3.111 GB, free: 363.3 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03662/10.74, allocations: 6.957 MB / 3.117 GB, free: 356.9 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05246/10.79, allocations: 32.21 MB / 3.149 GB, free: 325.4 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008582/10.8, allocations: 7.744 MB / 3.156 GB, free: 317.7 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.02071/10.82, allocations: 3.968 MB / 3.16 GB, free: 314.2 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003752/10.82, allocations: 1.034 MB / 3.161 GB, free: 313.2 MB / 1.042 GB Notification: Performance of SimCode: time 1.458e-06/10.82, allocations: 0 / 3.161 GB, free: 313.2 MB / 1.042 GB Notification: Performance of Templates: time 1.266/12.09, allocations: 400.4 MB / 3.552 GB, free: 401.9 MB / 1.042 GB