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.Simplified4.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.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified4") Notification: Performance of loadModel(Buildings): time 3.741/3.741, allocations: 432.7 MB / 445.3 MB, free: 15.76 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.16e-05/3.175e-05, allocations: 3.875 kB / 0.5383 GB, free: 10.33 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.1713, allocations: 98.72 MB / 0.6347 GB, free: 1.941 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.119/1.291, allocations: 448.3 MB / 1.072 GB, free: 11.61 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002685/1.291, allocations: 94.86 kB / 1.073 GB, free: 11.57 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 48.67/49.96, allocations: 9.948 GB / 11.02 GB, free: 80.75 MB / 1.12 GB Notification: Performance of FrontEnd: time 2.023e-06/49.96, allocations: 0 / 11.02 GB, free: 80.75 MB / 1.12 GB Notification: Performance of Transformations before backend: time 0.003014/49.97, allocations: 382.9 kB / 11.02 GB, free: 80.68 MB / 1.12 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.0447/50.01, allocations: 11.99 MB / 11.03 GB, free: 75.45 MB / 1.12 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/50.01, allocations: 14.72 kB / 11.03 GB, free: 75.45 MB / 1.12 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01566/50.03, allocations: 2.336 MB / 11.03 GB, free: 74.59 MB / 1.12 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07275/50.1, allocations: 20.18 MB / 11.05 GB, free: 72.33 MB / 1.12 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009206/50.1, allocations: 0.5921 MB / 11.05 GB, free: 72.32 MB / 1.12 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004191/50.11, allocations: 0.8059 MB / 11.06 GB, free: 72.31 MB / 1.12 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03929/50.15, allocations: 13.85 MB / 11.07 GB, free: 71.53 MB / 1.12 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004015/50.15, allocations: 10.69 kB / 11.07 GB, free: 71.53 MB / 1.12 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003396/50.15, allocations: 288 kB / 11.07 GB, free: 71.53 MB / 1.12 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002074/50.15, allocations: 185.2 kB / 11.07 GB, free: 71.53 MB / 1.12 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04087/50.19, allocations: 17.92 MB / 11.09 GB, free: 71.46 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 preOpt removeSimpleEquations (simulation): time 0.1433/50.33, allocations: 73.84 MB / 11.16 GB, free: 37.62 MB / 1.12 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01814/50.35, allocations: 9.444 MB / 11.17 GB, free: 37.46 MB / 1.12 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01593/50.37, allocations: 8.452 MB / 11.18 GB, free: 37.38 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 preOpt evalFunc (simulation): time 0.07448/50.44, allocations: 30.14 MB / 11.21 GB, free: 28.71 MB / 1.12 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01672/50.46, allocations: 8.081 MB / 11.21 GB, free: 28.59 MB / 1.12 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.05749/50.52, allocations: 14.98 MB / 11.23 GB, free: 27.71 MB / 1.12 GB Notification: Performance of pre-optimization done (n=426): time 3.312e-05/50.52, allocations: 0 / 11.23 GB, free: 27.71 MB / 1.12 GB Notification: Performance of matching and sorting (n=612): time 0.3262/50.84, allocations: 77.97 MB / 11.3 GB, free: 6.719 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000124/50.84, allocations: 116.2 kB / 11.31 GB, free: 6.59 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.9629/51.81, allocations: 13.03 MB / 11.32 GB, free: 100.7 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 0.00309/51.81, allocations: 193.7 kB / 11.32 GB, free: 100.7 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.0113/51.82, allocations: 6.677 MB / 11.32 GB, free: 100.5 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.004716/51.83, allocations: 2.069 MB / 11.33 GB, free: 100.3 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002911/51.83, allocations: 156 kB / 11.33 GB, free: 100.3 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 0.0008791/51.83, allocations: 0.6169 MB / 11.33 GB, free: 99.97 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01924/51.85, allocations: 7.647 MB / 11.33 GB, free: 99.95 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02026/51.87, allocations: 10.41 MB / 11.34 GB, free: 96.83 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01991/51.89, allocations: 8.76 MB / 11.35 GB, free: 96.66 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.656e-05/51.89, allocations: 15.62 kB / 11.35 GB, free: 96.66 MB / 1.135 GB Notification: Performance of matching and sorting (n=1035) (initialization): time 0.0691/51.96, allocations: 25.76 MB / 11.38 GB, free: 95.61 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.00655/51.96, allocations: 35.02 MB / 11.41 GB, free: 59.57 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002212/51.96, allocations: 52.95 kB / 11.41 GB, free: 59.57 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.8341/52.8, allocations: 146.4 MB / 11.56 GB, free: 58.75 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01254/52.81, allocations: 1.69 MB / 11.56 GB, free: 58.75 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05342/52.87, allocations: 24.57 MB / 11.58 GB, free: 53.52 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02116/52.89, allocations: 1.114 MB / 11.58 GB, free: 53.42 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003846/52.89, allocations: 0.8089 MB / 11.58 GB, free: 53.42 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/52.89, allocations: 6.219 kB / 11.58 GB, free: 53.42 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06452/52.95, allocations: 24.7 MB / 11.61 GB, free: 52.98 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002097/52.95, allocations: 51.72 kB / 11.61 GB, free: 52.98 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.8274/53.78, allocations: 146.8 MB / 11.75 GB, free: 24 kB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.078/54.86, allocations: 1.688 MB / 11.75 GB, free: 147.9 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07544/54.94, allocations: 28.9 MB / 11.78 GB, free: 144.2 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02059/54.96, allocations: 1.082 MB / 11.78 GB, free: 144.2 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003875/54.96, allocations: 0.7676 MB / 11.78 GB, free: 144.2 MB / 1.182 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,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 (761): * Single equations (assignments): 747 * 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: 0 * Non-linear torn systems: 3 {32 38,5 80,5 80} Notification: Performance of prepare postOptimizeDAE: time 0.006029/54.97, allocations: 0.5613 MB / 11.78 GB, free: 144.1 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00586/54.97, allocations: 1.286 MB / 11.78 GB, free: 144.1 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1103/55.08, allocations: 22.74 MB / 11.81 GB, free: 143.6 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001293/55.08, allocations: 75.11 kB / 11.81 GB, free: 143.6 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.112e-05/55.08, allocations: 3.219 kB / 11.81 GB, free: 143.6 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04776/55.13, allocations: 17.29 MB / 11.82 GB, free: 143.1 MB / 1.182 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.1981/55.33, allocations: 53.78 MB / 11.88 GB, free: 136.8 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001293/55.33, allocations: 4.75 kB / 11.88 GB, free: 136.8 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01386/55.34, allocations: 1.141 MB / 11.88 GB, free: 136.8 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2372/55.58, allocations: 41.9 MB / 11.92 GB, free: 136.7 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001731/55.58, allocations: 199.8 kB / 11.92 GB, free: 136.7 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02768/55.61, allocations: 13.64 MB / 11.93 GB, free: 131.6 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.204e-05/55.61, allocations: 10.97 kB / 11.93 GB, free: 131.6 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09444/55.7, allocations: 33.56 MB / 11.96 GB, free: 128 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0113/55.72, allocations: 2.985 MB / 11.97 GB, free: 127.1 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005274/55.72, allocations: 131.9 kB / 11.97 GB, free: 127.1 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01549/55.74, allocations: 0.8837 MB / 11.97 GB, free: 127.1 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002115/55.74, allocations: 471.5 kB / 11.97 GB, free: 127.1 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00149/55.74, allocations: 291.9 kB / 11.97 GB, free: 127.1 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.0236/55.76, allocations: 9.543 MB / 11.98 GB, free: 126.7 MB / 1.182 GB Notification: Performance of sort global known variables: time 1.578e-06/55.76, allocations: 0 / 11.98 GB, free: 126.7 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.05572/55.82, allocations: 7.109 MB / 11.99 GB, free: 126.7 MB / 1.182 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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,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 (536): * Single equations (assignments): 514 * 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: 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: 0 * Non-linear torn systems: 3 {7 74,30 38,5 80} Notification: Performance of Backend phase and start with SimCode phase: time 0.01153/55.83, allocations: 5.556 MB / 11.99 GB, free: 124.6 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.08378/55.91, allocations: 32.41 MB / 12.02 GB, free: 123.9 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 1.508e-05/55.91, allocations: 4.344 kB / 12.02 GB, free: 123.9 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.02209/55.94, allocations: 8.757 MB / 12.03 GB, free: 123.8 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04025/55.98, allocations: 6.821 MB / 12.04 GB, free: 121.3 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05423/56.03, allocations: 22.52 MB / 12.06 GB, free: 104.7 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01521/56.05, allocations: 7.597 MB / 12.07 GB, free: 100 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.03872/56.09, allocations: 6.705 MB / 12.07 GB, free: 95.66 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003671/56.09, allocations: 0.7844 MB / 12.07 GB, free: 95.02 MB / 1.182 GB Notification: Performance of SimCode: time 2.15e-06/56.09, allocations: 0 / 12.07 GB, free: 95.02 MB / 1.182 GB Notification: Performance of Templates: time 2.798/58.89, allocations: 449.1 MB / 12.51 GB, free: 57.49 MB / 1.182 GB