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.Simplified6.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.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009176/0.009179, allocations: 110.2 kB / 15.05 MB, free: 5.965 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.001157/0.001156, allocations: 183.8 kB / 15.94 MB, free: 5.93 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 1.831/1.831, allocations: 194.6 MB / 211.3 MB, free: 11.06 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.12/2.12, allocations: 236.1 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008286/0.000829, allocations: 16 kB / 0.5869 GB, free: 2.168 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5608/0.5617, allocations: 98.69 MB / 0.6833 GB, free: 16.72 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.004/1.566, allocations: 449.5 MB / 1.122 GB, free: 3.07 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002432/1.566, allocations: 100.6 kB / 1.122 GB, free: 3.02 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 48.14/49.7, allocations: 10.14 GB / 11.26 GB, free: 49.02 MB / 1.089 GB Notification: Performance of FrontEnd: time 2.404e-06/49.7, allocations: 0 / 11.26 GB, free: 49.02 MB / 1.089 GB Notification: Performance of Transformations before backend: time 0.002372/49.7, allocations: 351.6 kB / 11.26 GB, free: 48.67 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.06122/49.77, allocations: 17.31 MB / 11.28 GB, free: 31.23 MB / 1.089 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/49.77, allocations: 8.031 kB / 11.28 GB, free: 31.22 MB / 1.089 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01321/49.78, allocations: 2.223 MB / 11.28 GB, free: 28.98 MB / 1.089 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05772/49.84, allocations: 18.59 MB / 11.3 GB, free: 10.32 MB / 1.089 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000753/49.84, allocations: 0.5293 MB / 11.3 GB, free: 9.789 MB / 1.089 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002595/49.84, allocations: 0.6953 MB / 11.3 GB, free: 9.094 MB / 1.089 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02188/49.86, allocations: 8.409 MB / 11.31 GB, free: 344 kB / 1.089 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001712/49.86, allocations: 15.88 kB / 11.31 GB, free: 328 kB / 1.089 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001181/49.86, allocations: 252 kB / 11.31 GB, free: 76 kB / 1.089 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.8948/50.76, allocations: 146.9 kB / 11.31 GB, free: 81.05 MB / 1.089 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02241/50.78, allocations: 6.82 MB / 11.32 GB, free: 81.01 MB / 1.089 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.09247/50.87, allocations: 49.54 MB / 11.37 GB, free: 55.35 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01184/50.89, allocations: 4.833 MB / 11.37 GB, free: 55.19 MB / 1.089 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.0389/50.92, allocations: 13.39 MB / 11.38 GB, free: 52.42 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00833/50.93, allocations: 3.39 MB / 11.39 GB, free: 52.31 MB / 1.089 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01354/50.95, allocations: 2.458 MB / 11.39 GB, free: 52.25 MB / 1.089 GB Notification: Performance of pre-optimization done (n=326): time 2.044e-05/50.95, allocations: 2.375 kB / 11.39 GB, free: 52.25 MB / 1.089 GB Notification: Performance of matching and sorting (n=515): time 0.147/51.09, allocations: 40.6 MB / 11.43 GB, free: 44.65 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.617e-05/51.09, allocations: 108.9 kB / 11.43 GB, free: 44.57 MB / 1.089 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02953/51.12, allocations: 12.1 MB / 11.44 GB, free: 43.91 MB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 0.001694/51.13, allocations: 182.1 kB / 11.44 GB, free: 43.88 MB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 0.008362/51.13, allocations: 6.304 MB / 11.45 GB, free: 42.8 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 0.00244/51.14, allocations: 1.73 MB / 11.45 GB, free: 41.92 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000926/51.14, allocations: 147.9 kB / 11.45 GB, free: 41.92 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 0.0004734/51.14, allocations: 0.5901 MB / 11.45 GB, free: 41.6 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009525/51.15, allocations: 3.932 MB / 11.45 GB, free: 41.59 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01249/51.16, allocations: 6.853 MB / 11.46 GB, free: 38.23 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01183/51.17, allocations: 4.837 MB / 11.47 GB, free: 38.08 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.064e-05/51.17, allocations: 18.38 kB / 11.47 GB, free: 38.08 MB / 1.089 GB Notification: Performance of matching and sorting (n=959) (initialization): time 0.03962/51.21, allocations: 14.12 MB / 11.48 GB, free: 37.03 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 0.01589/51.23, allocations: 38.78 MB / 11.52 GB, free: 29.18 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002151/51.23, allocations: 59.78 kB / 11.52 GB, free: 29.18 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01075/51.24, allocations: 3.505 MB / 11.52 GB, free: 29.09 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01153/51.25, allocations: 1.595 MB / 11.52 GB, free: 29.09 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0175/51.27, allocations: 12.38 MB / 11.53 GB, free: 22.34 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01522/51.28, allocations: 0.9577 MB / 11.54 GB, free: 22.32 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002062/51.28, allocations: 484.2 kB / 11.54 GB, free: 22.32 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/51.28, allocations: 4.156 kB / 11.54 GB, free: 22.32 MB / 1.12 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03394/51.32, allocations: 13.09 MB / 11.55 GB, free: 21.95 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002039/51.32, allocations: 59.25 kB / 11.55 GB, free: 21.95 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01169/51.33, allocations: 3.8 MB / 11.55 GB, free: 21.87 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009984/51.34, allocations: 1.587 MB / 11.55 GB, free: 21.87 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03423/51.37, allocations: 17.37 MB / 11.57 GB, free: 32.13 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01471/51.39, allocations: 0.9321 MB / 11.57 GB, free: 32.11 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002013/51.39, allocations: 443.1 kB / 11.57 GB, free: 32.11 MB / 1.135 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (738): * Single equations (assignments): 721 * 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 2,1 4,1 2,1 2,6 82,6 82} Notification: Performance of prepare postOptimizeDAE: time 0.009474/51.4, allocations: 3.102 MB / 11.58 GB, free: 31.91 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00336/51.4, allocations: 1.198 MB / 11.58 GB, free: 31.25 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03336/51.44, allocations: 12.36 MB / 11.59 GB, free: 30.69 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.856e-05/51.44, allocations: 67.77 kB / 11.59 GB, free: 30.69 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-05/51.44, allocations: 3.562 kB / 11.59 GB, free: 30.69 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02348/51.46, allocations: 9.869 MB / 11.6 GB, free: 30 MB / 1.135 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.05993/51.52, allocations: 24.1 MB / 11.62 GB, free: 27.7 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.95e-05/51.52, allocations: 6.812 kB / 11.62 GB, free: 27.7 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0065/51.53, allocations: 0.9405 MB / 11.62 GB, free: 27.65 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007912/51.54, allocations: 2.395 MB / 11.63 GB, free: 27.48 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001046/51.54, allocations: 172.1 kB / 11.63 GB, free: 27.47 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01271/51.55, allocations: 10.99 MB / 11.64 GB, free: 20.72 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.036e-05/51.55, allocations: 11.06 kB / 11.64 GB, free: 20.72 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03844/51.59, allocations: 18.71 MB / 11.65 GB, free: 16.47 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008924/51.6, allocations: 2.459 MB / 11.66 GB, free: 15.7 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004361/51.6, allocations: 104.2 kB / 11.66 GB, free: 15.7 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01247/51.61, allocations: 0.8079 MB / 11.66 GB, free: 15.62 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001321/51.62, allocations: 391.2 kB / 11.66 GB, free: 15.6 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008285/51.62, allocations: 254.6 kB / 11.66 GB, free: 15.6 MB / 1.135 GB Notification: Performance of sorting global known variables: time 0.02121/51.64, allocations: 9.23 MB / 11.67 GB, free: 14.63 MB / 1.135 GB Notification: Performance of sort global known variables: time 1.065e-06/51.64, allocations: 4 kB / 11.67 GB, free: 14.63 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.04128/51.68, allocations: 5.931 MB / 11.67 GB, free: 14.04 MB / 1.135 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (438): * Single equations (assignments): 413 * 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 {8 74,1 2,1 4,1 2,1 2,6 82} Notification: Performance of Backend phase and start with SimCode phase: time 0.009387/51.69, allocations: 5.004 MB / 11.68 GB, free: 11.58 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.0395/51.73, allocations: 16.39 MB / 11.69 GB, free: 6.008 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 1.525e-05/51.73, allocations: 8.531 kB / 11.69 GB, free: 6.004 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.01151/51.74, allocations: 4.621 MB / 11.7 GB, free: 3.898 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03424/51.77, allocations: 6.023 MB / 11.7 GB, free: 15.68 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.853/53.63, allocations: 27.5 MB / 11.73 GB, free: 130.7 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01474/53.64, allocations: 6.989 MB / 11.74 GB, free: 129.8 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.02483/53.67, allocations: 3.795 MB / 11.74 GB, free: 129.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005215/53.67, allocations: 0.9377 MB / 11.74 GB, free: 129.7 MB / 1.151 GB Notification: Performance of SimCode: time 1.766e-06/53.67, allocations: 0 / 11.74 GB, free: 129.7 MB / 1.151 GB Notification: Performance of Templates: time 0.6464/54.32, allocations: 272.6 MB / 12.01 GB, free: 90.13 MB / 1.151 GB