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.Simplified5.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.Simplified5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.0102/0.0102, allocations: 222 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.001131/0.001131, allocations: 183.2 kB / 16.06 MB, free: 5.828 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.323/3.323, allocations: 389.1 MB / 405.9 MB, free: 11.83 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.697/3.697, allocations: 472.3 MB / 0.9018 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004719/0.0004721, allocations: 15.31 kB / 1.008 GB, free: 138.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1238, allocations: 98.72 MB / 1.104 GB, free: 42.02 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified5): time 0.821/0.9449, allocations: 325.8 MB / 1.422 GB, free: 2.457 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.6788/1.624, allocations: 71.86 MB / 1.492 GB, free: 45.08 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01364/1.637, allocations: 383.2 kB / 1.493 GB, free: 45.08 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.01488/1.652, allocations: 4.451 MB / 1.497 GB, free: 45.08 MB / 0.823 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.04511/1.698, allocations: 13.53 MB / 1.51 GB, free: 44.91 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.03553/1.733, allocations: 11.21 MB / 1.521 GB, free: 44.41 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.04191/1.775, allocations: 32.48 MB / 1.553 GB, free: 42.31 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0197/1.795, allocations: 13.4 MB / 1.566 GB, free: 38.09 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02273/1.818, allocations: 11.33 MB / 1.577 GB, free: 34.21 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02479/1.842, allocations: 12.5 MB / 1.589 GB, free: 29.95 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.004048/1.846, allocations: 0.9673 MB / 1.59 GB, free: 29.95 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01369/1.86, allocations: 3.282 MB / 1.593 GB, free: 29.3 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.005207/1.865, allocations: 4.018 MB / 1.597 GB, free: 27.7 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.005719/1.871, allocations: 2.617 MB / 1.6 GB, free: 27.14 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0205/1.892, allocations: 17.24 MB / 1.617 GB, free: 12.53 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.956e-06/1.892, allocations: 0 / 1.617 GB, free: 12.53 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.69e-06/1.892, allocations: 3.984 kB / 1.617 GB, free: 12.52 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.000332/1.892, allocations: 0 / 1.617 GB, free: 12.52 MB / 0.823 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.0422/1.934, allocations: 16.96 MB / 1.633 GB, free: 12.57 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/1.934, allocations: 8.828 kB / 1.633 GB, free: 12.56 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01159/1.946, allocations: 2.365 MB / 1.636 GB, free: 10.19 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03098/1.977, allocations: 12.19 MB / 1.648 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001825/1.979, allocations: 0.7737 MB / 1.648 GB, free: 0.8047 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002291/1.981, allocations: 0.6739 MB / 1.649 GB, free: 356 kB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03293/2.014, allocations: 14.01 MB / 1.663 GB, free: 6.965 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001388/2.014, allocations: 7.938 kB / 1.663 GB, free: 6.957 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001402/2.016, allocations: 244.8 kB / 1.663 GB, free: 6.902 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001716/2.016, allocations: 151.6 kB / 1.663 GB, free: 6.758 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03982/2.056, allocations: 18.86 MB / 1.681 GB, free: 9.793 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 preOpt removeSimpleEquations (simulation): time 0.1402/2.196, allocations: 73.13 MB / 1.753 GB, free: 9.047 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02233/2.218, allocations: 10.53 MB / 1.763 GB, free: 14.74 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01881/2.237, allocations: 9.098 MB / 1.772 GB, free: 5.652 MB / 0.948 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.07454/2.312, allocations: 31.79 MB / 1.803 GB, free: 5.641 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.018/2.33, allocations: 8.919 MB / 1.812 GB, free: 12.68 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03555/2.365, allocations: 9.959 MB / 1.822 GB, free: 2.863 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=386): time 2.185e-05/2.365, allocations: 0 / 1.822 GB, free: 2.863 MB / 0.9948 GB Notification: Performance of matching and sorting (n=572): time 1.594/3.959, allocations: 214.4 MB / 2.031 GB, free: 274.7 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.287e-05/3.959, allocations: 115.8 kB / 2.031 GB, free: 274.6 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01953/3.979, allocations: 12.19 MB / 2.043 GB, free: 262.5 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.002522/3.981, allocations: 181.7 kB / 2.043 GB, free: 262.3 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.005602/3.987, allocations: 5.979 MB / 2.049 GB, free: 256.7 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.003544/3.991, allocations: 1.929 MB / 2.051 GB, free: 254.9 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001231/3.992, allocations: 144 kB / 2.051 GB, free: 254.7 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0003369/3.992, allocations: 0.6002 MB / 2.052 GB, free: 254.1 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01586/4.008, allocations: 8.711 MB / 2.06 GB, free: 245.4 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01823/4.026, allocations: 11.03 MB / 2.071 GB, free: 233.4 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01874/4.045, allocations: 9.666 MB / 2.08 GB, free: 223.7 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.134e-05/4.045, allocations: 20 kB / 2.08 GB, free: 223.7 MB / 0.9948 GB Notification: Performance of matching and sorting (n=954) (initialization): time 0.7803/4.825, allocations: 138.1 MB / 2.215 GB, free: 85.38 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007244/4.826, allocations: 1.539 MB / 2.217 GB, free: 83.18 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.026e-05/4.826, allocations: 44 kB / 2.217 GB, free: 83.14 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432/6.258, allocations: 166.2 MB / 2.379 GB, free: 365.3 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0127/6.271, allocations: 1.668 MB / 2.381 GB, free: 364.9 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2186/6.489, allocations: 95.33 MB / 2.474 GB, free: 275.3 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01645/6.506, allocations: 0.9623 MB / 2.475 GB, free: 274.5 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002301/6.508, allocations: 0.7607 MB / 2.475 GB, free: 273.7 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/6.508, allocations: 5.312 kB / 2.475 GB, free: 273.7 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.7677/7.276, allocations: 137 MB / 2.609 GB, free: 136.5 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001103/7.276, allocations: 51.95 kB / 2.609 GB, free: 136.5 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455/8.731, allocations: 165.9 MB / 2.771 GB, free: 348.1 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0105/8.742, allocations: 1.665 MB / 2.773 GB, free: 348.1 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2572/8.999, allocations: 99.3 MB / 2.87 GB, free: 319 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01839/9.017, allocations: 0.9559 MB / 2.871 GB, free: 318.6 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003097/9.02, allocations: 0.7327 MB / 2.871 GB, free: 318.3 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 207 * 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 (679): * Single equations (assignments): 665 * 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 {(32,82.2%) 39} * Non-linear torn systems: 2 {7 78,7 78} Notification: Performance of prepare postOptimizeDAE: time 0.008786/9.029, allocations: 3.052 MB / 2.874 GB, free: 316.5 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003589/9.033, allocations: 1.189 MB / 2.876 GB, free: 316 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2468/9.28, allocations: 52.21 MB / 2.927 GB, free: 264.4 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.401e-05/9.28, allocations: 72 kB / 2.927 GB, free: 264.3 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.784e-05/9.28, allocations: 36 kB / 2.927 GB, free: 264.3 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2306/9.511, allocations: 46.76 MB / 2.972 GB, free: 217.6 MB / 0.9948 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.2629/9.774, allocations: 66.15 MB / 3.037 GB, free: 151.7 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.333e-05/9.774, allocations: 4 kB / 3.037 GB, free: 151.7 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006959/9.781, allocations: 1.135 MB / 3.038 GB, free: 150.6 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2616/10.04, allocations: 49.27 MB / 3.086 GB, free: 101.5 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001714/10.04, allocations: 183.9 kB / 3.086 GB, free: 101.3 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1024/10.15, allocations: 41.46 MB / 3.127 GB, free: 59.75 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.952e-06/10.15, allocations: 8.031 kB / 3.127 GB, free: 59.74 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.7448/10.89, allocations: 58.77 MB / 3.184 GB, free: 358.8 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008977/10.9, allocations: 2.608 MB / 3.187 GB, free: 358.7 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003225/10.9, allocations: 126.6 kB / 3.187 GB, free: 358.7 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01444/10.92, allocations: 0.8474 MB / 3.188 GB, free: 358.7 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002801/10.92, allocations: 498.5 kB / 3.188 GB, free: 358.7 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00127/10.92, allocations: 277.5 kB / 3.189 GB, free: 358.7 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.01774/10.94, allocations: 8.264 MB / 3.197 GB, free: 358 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.03e-06/10.94, allocations: 0 / 3.197 GB, free: 358 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.03877/10.98, allocations: 6.802 MB / 3.203 GB, free: 357.6 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 3 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,heater.outCon.T) * 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 (503): * Single equations (assignments): 481 * 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 {(32,82.2%) 39} * Non-linear torn systems: 3 {9 78,1 1,7 78} Notification: Performance of Backend phase and start with SimCode phase: time 0.003767/10.98, allocations: 1.267 MB / 3.204 GB, free: 357.3 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.09423/11.08, allocations: 36.19 MB / 3.24 GB, free: 343.9 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.471e-05/11.08, allocations: 3.938 kB / 3.24 GB, free: 343.9 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0281/11.1, allocations: 10.35 MB / 3.25 GB, free: 339.7 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03779/11.14, allocations: 6.409 MB / 3.256 GB, free: 338.5 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05405/11.2, allocations: 30.01 MB / 3.285 GB, free: 324.4 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009287/11.21, allocations: 7.258 MB / 3.293 GB, free: 322.8 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.02133/11.23, allocations: 3.669 MB / 3.296 GB, free: 322.4 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004621/11.23, allocations: 0.936 MB / 3.297 GB, free: 322.3 MB / 0.9948 GB Notification: Performance of SimCode: time 1.669e-06/11.23, allocations: 0 / 3.297 GB, free: 322.3 MB / 0.9948 GB Notification: Performance of Templates: time 1.709/12.94, allocations: 393.9 MB / 3.682 GB, free: 368.9 MB / 0.9949 GB