Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6") Notification: Performance of loadModel(Buildings): time 3.787/3.787, allocations: 432.7 MB / 445.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.372e-05/3.388e-05, allocations: 4.234 kB / 0.5383 GB, free: 10.25 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1743/0.1744, allocations: 98.72 MB / 0.6347 GB, free: 1.941 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.005/1.179, allocations: 449.5 MB / 1.074 GB, free: 10.46 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002623/1.179, allocations: 95.64 kB / 1.074 GB, free: 10.42 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 50.05/51.23, allocations: 10.11 GB / 11.18 GB, free: 80.75 MB / 1.089 GB Notification: Performance of FrontEnd: time 2.242e-06/51.23, allocations: 3.094 kB / 11.18 GB, free: 80.75 MB / 1.089 GB Notification: Performance of Transformations before backend: time 0.002606/51.23, allocations: 345.8 kB / 11.19 GB, free: 80.75 MB / 1.089 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1489 * Number of variables: 1489 Notification: Performance of Generate backend data structure: time 0.04098/51.27, allocations: 10.94 MB / 11.2 GB, free: 76.49 MB / 1.089 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/51.27, allocations: 10.62 kB / 11.2 GB, free: 76.49 MB / 1.089 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01557/51.29, allocations: 2.227 MB / 11.2 GB, free: 75.71 MB / 1.089 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06268/51.35, allocations: 18.39 MB / 11.22 GB, free: 73.61 MB / 1.089 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000825/51.35, allocations: 0.5218 MB / 11.22 GB, free: 73.6 MB / 1.089 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002714/51.35, allocations: 0.6961 MB / 11.22 GB, free: 73.6 MB / 1.089 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.021/51.37, allocations: 8.198 MB / 11.23 GB, free: 72.54 MB / 1.089 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001832/51.37, allocations: 14.5 kB / 11.23 GB, free: 72.54 MB / 1.089 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001176/51.37, allocations: 256.3 kB / 11.23 GB, free: 72.54 MB / 1.089 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001481/51.37, allocations: 152.5 kB / 11.23 GB, free: 72.54 MB / 1.089 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01713/51.39, allocations: 6.487 MB / 11.23 GB, free: 72.49 MB / 1.089 GB Warning: The model contains alias variables with conflicting start and/or 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.08546/51.48, allocations: 49.52 MB / 11.28 GB, free: 45.84 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009284/51.49, allocations: 4.584 MB / 11.28 GB, free: 45.68 MB / 1.089 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006873/51.49, allocations: 3.573 MB / 11.29 GB, free: 45.63 MB / 1.089 GB Warning: The model contains alias variables with conflicting start and/or 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.0405/51.53, allocations: 13.59 MB / 11.3 GB, free: 42.56 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006771/51.54, allocations: 3.273 MB / 11.3 GB, free: 42.44 MB / 1.089 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01435/51.55, allocations: 2.398 MB / 11.31 GB, free: 42.24 MB / 1.089 GB Notification: Performance of pre-optimization done (n=325): time 2.14e-05/51.55, allocations: 2.734 kB / 11.31 GB, free: 42.24 MB / 1.089 GB Notification: Performance of matching and sorting (n=513): time 0.1181/51.67, allocations: 32.51 MB / 11.34 GB, free: 35 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.67e-05/51.67, allocations: 107.3 kB / 11.34 GB, free: 34.93 MB / 1.089 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03035/51.7, allocations: 11.97 MB / 11.35 GB, free: 34.14 MB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 0.001779/51.71, allocations: 178.1 kB / 11.35 GB, free: 34.11 MB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 0.008569/51.71, allocations: 6.302 MB / 11.36 GB, free: 32.69 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 0.002407/51.72, allocations: 1.732 MB / 11.36 GB, free: 31.57 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000922/51.72, allocations: 142.9 kB / 11.36 GB, free: 31.57 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 0.0005062/51.72, allocations: 0.5963 MB / 11.36 GB, free: 31.26 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008625/51.73, allocations: 3.744 MB / 11.36 GB, free: 31.24 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01102/51.74, allocations: 6.676 MB / 11.37 GB, free: 27.88 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01052/51.75, allocations: 4.679 MB / 11.37 GB, free: 27.7 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.136e-05/51.75, allocations: 27.31 kB / 11.37 GB, free: 27.7 MB / 1.089 GB Notification: Performance of matching and sorting (n=957) (initialization): time 0.03681/51.78, allocations: 13.66 MB / 11.39 GB, free: 26.66 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 0.01478/51.8, allocations: 38.77 MB / 11.43 GB, free: 18.8 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002117/51.8, allocations: 64.5 kB / 11.43 GB, free: 18.8 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01048/51.81, allocations: 3.392 MB / 11.43 GB, free: 18.72 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01318/51.82, allocations: 1.602 MB / 11.43 GB, free: 18.72 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01808/51.84, allocations: 12.32 MB / 11.44 GB, free: 11.99 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01598/51.86, allocations: 0.9587 MB / 11.44 GB, free: 11.93 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002137/51.86, allocations: 489.8 kB / 11.44 GB, free: 11.93 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/51.86, allocations: 7.219 kB / 11.44 GB, free: 11.93 MB / 1.12 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03311/51.89, allocations: 12.76 MB / 11.46 GB, free: 11.48 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002026/51.89, allocations: 59.69 kB / 11.46 GB, free: 11.48 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01202/51.91, allocations: 3.676 MB / 11.46 GB, free: 11.33 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01392/51.92, allocations: 1.603 MB / 11.46 GB, free: 11.32 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05611/51.98, allocations: 16.62 MB / 11.48 GB, free: 5.707 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02086/52, allocations: 0.9381 MB / 11.48 GB, free: 5.613 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001973/52, allocations: 433.4 kB / 11.48 GB, free: 5.613 MB / 1.12 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 269 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,booleanToInteger.u,booleanToInteger.y,$PRE.stepPump.pulsStart,stepPump.pulsStart,$PRE.stepValve.T_start,stepValve.T_start,$PRE.stepValve.count,stepValve.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (742): * Single equations (assignments): 725 * 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: 6 * 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: 0 * Non-linear torn systems: 6 {1 4,1 2,1 2,1 2,7 78,7 78} Notification: Performance of prepare postOptimizeDAE: time 0.002668/52, allocations: 0.5535 MB / 11.48 GB, free: 5.461 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003417/52, allocations: 1.199 MB / 11.48 GB, free: 4.801 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03106/52.04, allocations: 11.99 MB / 11.49 GB, free: 4.078 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001/52.04, allocations: 63.75 kB / 11.49 GB, free: 4.074 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.762e-05/52.04, allocations: 0 / 11.49 GB, free: 4.074 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02222/52.06, allocations: 9.518 MB / 11.5 GB, free: 3.312 MB / 1.12 GB Warning: The model contains alias variables with conflicting start and/or 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.05948/52.12, allocations: 23.77 MB / 11.53 GB, free: 16.97 MB / 1.136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.794e-05/52.12, allocations: 7.531 kB / 11.53 GB, free: 16.97 MB / 1.136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007116/52.13, allocations: 0.9488 MB / 11.53 GB, free: 16.92 MB / 1.136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007947/52.13, allocations: 2.383 MB / 11.53 GB, free: 16.75 MB / 1.136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001086/52.13, allocations: 168.9 kB / 11.53 GB, free: 16.74 MB / 1.136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01274/52.15, allocations: 10.96 MB / 11.54 GB, free: 9.992 MB / 1.136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.138e-05/52.15, allocations: 13.88 kB / 11.54 GB, free: 9.992 MB / 1.136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03565/52.18, allocations: 18.42 MB / 11.56 GB, free: 5.551 MB / 1.136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009703/52.19, allocations: 2.453 MB / 11.56 GB, free: 4.77 MB / 1.136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004661/52.2, allocations: 106.9 kB / 11.56 GB, free: 4.77 MB / 1.136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01354/52.21, allocations: 0.8059 MB / 11.56 GB, free: 4.684 MB / 1.136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001402/52.21, allocations: 396.2 kB / 11.56 GB, free: 4.664 MB / 1.136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009474/52.21, allocations: 253.8 kB / 11.56 GB, free: 4.664 MB / 1.136 GB Notification: Performance of sorting global known variables: time 0.02285/52.24, allocations: 9.091 MB / 11.57 GB, free: 1.68 MB / 1.136 GB Notification: Performance of sort global known variables: time 1.215e-06/52.24, allocations: 0 / 11.57 GB, free: 1.68 MB / 1.136 GB Notification: Performance of remove unused functions: time 0.04721/52.28, allocations: 5.995 MB / 11.58 GB, free: 13.37 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 3 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,heater.outCon.T) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,booleanToInteger.u,booleanToInteger.y,stepPump.pulsStart,stepValve.T_start,stepValve.count) * Number of discrete states: 1 (stepValve.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (440): * Single equations (assignments): 415 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 6 * 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: 0 * Non-linear torn systems: 6 {7 74,1 4,1 2,1 2,1 2,8 77} Notification: Performance of Backend phase and start with SimCode phase: time 0.01126/52.29, allocations: 4.999 MB / 11.58 GB, free: 8.738 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.884/53.18, allocations: 16.45 MB / 11.6 GB, free: 133.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.805e-05/53.18, allocations: 6.719 kB / 11.6 GB, free: 133.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.01243/53.19, allocations: 4.476 MB / 11.6 GB, free: 133.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03576/53.23, allocations: 5.989 MB / 11.61 GB, free: 133.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04584/53.27, allocations: 19.08 MB / 11.63 GB, free: 129.2 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01365/53.29, allocations: 7.008 MB / 11.63 GB, free: 128.2 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.03658/53.32, allocations: 6.445 MB / 11.64 GB, free: 128.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003143/53.33, allocations: 0.6661 MB / 11.64 GB, free: 128.1 MB / 1.151 GB Notification: Performance of SimCode: time 1.874e-06/53.33, allocations: 0 / 11.64 GB, free: 128.1 MB / 1.151 GB Notification: Performance of Templates: time 0.6455/53.97, allocations: 301.8 MB / 11.93 GB, free: 38.01 MB / 1.151 GB