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.Basic.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.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Examples.FlowSystem.Basic") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004236/0.004236, allocations: 240.5 kB / 15.81 MB, free: 6.277 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.001133/0.001133, allocations: 184.7 kB / 16.69 MB, free: 5.449 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.855/3.855, allocations: 389.1 MB / 406.5 MB, free: 11.85 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 4.121/4.121, allocations: 472.3 MB / 0.9024 GB, free: 9.211 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004669/0.000467, allocations: 14.97 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1632, allocations: 98.71 MB / 1.105 GB, free: 42.11 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Basic): time 1.005/1.169, allocations: 325.7 MB / 1.423 GB, free: 2.688 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.9004/2.069, allocations: 71.86 MB / 1.493 GB, free: 45.67 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01635/2.086, allocations: 386.1 kB / 1.493 GB, free: 45.67 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.02082/2.106, allocations: 4.444 MB / 1.498 GB, free: 45.67 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.0542/2.161, allocations: 13.53 MB / 1.511 GB, free: 45.5 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.04325/2.204, allocations: 11.2 MB / 1.522 GB, free: 45 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.06423/2.268, allocations: 42.45 MB / 1.563 GB, free: 40.86 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03396/2.302, allocations: 15.61 MB / 1.578 GB, free: 34.71 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03504/2.337, allocations: 13.49 MB / 1.592 GB, free: 30 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03569/2.373, allocations: 14.65 MB / 1.606 GB, free: 23.38 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.008162/2.381, allocations: 1.074 MB / 1.607 GB, free: 22.3 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02247/2.404, allocations: 3.731 MB / 1.611 GB, free: 19.26 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.01091/2.415, allocations: 4.909 MB / 1.615 GB, free: 15.87 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.01065/2.425, allocations: 3.365 MB / 1.619 GB, free: 13.66 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.03927/2.465, allocations: 22.06 MB / 1.64 GB, free: 10.96 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 8.666e-06/2.465, allocations: 0 / 1.64 GB, free: 10.96 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.966e-06/2.465, allocations: 8 kB / 1.64 GB, free: 10.95 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0009427/2.466, allocations: 0 / 1.64 GB, free: 10.95 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2029 * Number of variables: 2029 Notification: Performance of Generate backend data structure: time 0.08379/2.55, allocations: 20.57 MB / 1.66 GB, free: 7.75 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.595e-05/2.55, allocations: 15.48 kB / 1.66 GB, free: 7.738 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0159/2.566, allocations: 2.377 MB / 1.663 GB, free: 5.348 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05092/2.617, allocations: 15.2 MB / 1.677 GB, free: 10.43 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001131/2.618, allocations: 0.7207 MB / 1.678 GB, free: 10 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005941/2.624, allocations: 1.009 MB / 1.679 GB, free: 9.316 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05463/2.678, allocations: 17.25 MB / 1.696 GB, free: 12.84 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003685/2.679, allocations: 15.94 kB / 1.696 GB, free: 12.83 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004089/2.683, allocations: 352 kB / 1.696 GB, free: 12.74 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003311/2.683, allocations: 214.9 kB / 1.697 GB, free: 12.54 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05765/2.741, allocations: 20.51 MB / 1.717 GB, free: 14.47 MB / 0.9011 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.2184/2.959, allocations: 81.16 MB / 1.796 GB, free: 14.77 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03425/2.994, allocations: 12.91 MB / 1.808 GB, free: 1.863 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02543/3.019, allocations: 9.976 MB / 1.818 GB, free: 7.867 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 preOpt evalFunc (simulation): time 1.226/4.245, allocations: 36.01 MB / 1.853 GB, free: 402.6 MB / 0.9949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0252/4.271, allocations: 9.996 MB / 1.863 GB, free: 399.1 MB / 0.9949 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.05007/4.321, allocations: 10.03 MB / 1.873 GB, free: 398.5 MB / 0.9949 GB Notification: Performance of pre-optimization done (n=599): time 4.656e-05/4.321, allocations: 0 / 1.873 GB, free: 398.5 MB / 0.9949 GB Notification: Performance of matching and sorting (n=851): time 1.915/6.236, allocations: 212.2 MB / 2.08 GB, free: 216.2 MB / 0.9949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006241/6.236, allocations: 2.581 MB / 2.083 GB, free: 213 MB / 0.9949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03365/6.27, allocations: 15.31 MB / 2.098 GB, free: 197.9 MB / 0.9949 GB Notification: Performance of collectPreVariables (initialization): time 0.004676/6.275, allocations: 270.3 kB / 2.098 GB, free: 197.6 MB / 0.9949 GB Notification: Performance of collectInitialEqns (initialization): time 0.01051/6.285, allocations: 7.864 MB / 2.106 GB, free: 190.2 MB / 0.9949 GB Notification: Performance of collectInitialBindings (initialization): time 0.0064/6.292, allocations: 2.942 MB / 2.108 GB, free: 187.2 MB / 0.9949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004392/6.296, allocations: 214.2 kB / 2.109 GB, free: 187 MB / 0.9949 GB Notification: Performance of setup shared object (initialization): time 0.0008998/6.297, allocations: 0.7574 MB / 2.109 GB, free: 186.3 MB / 0.9949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03157/6.328, allocations: 10.57 MB / 2.12 GB, free: 175.7 MB / 0.9949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.07442/6.403, allocations: 14.07 MB / 2.133 GB, free: 160.3 MB / 0.9949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04582/6.449, allocations: 12 MB / 2.145 GB, free: 148.3 MB / 0.9949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.377e-05/6.449, allocations: 16 kB / 2.145 GB, free: 148.2 MB / 0.9949 GB Notification: Performance of matching and sorting (n=1440) (initialization): time 1.321/7.77, allocations: 129.3 MB / 2.271 GB, free: 18.74 MB / 0.9949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008447/7.771, allocations: 1.585 MB / 2.273 GB, free: 16.5 MB / 0.9949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002879/7.771, allocations: 95.92 kB / 2.273 GB, free: 16.41 MB / 0.9949 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.554/10.33, allocations: 150.2 MB / 2.42 GB, free: 316.3 MB / 0.995 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02106/10.35, allocations: 2.239 MB / 2.422 GB, free: 314.2 MB / 0.995 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2744/10.62, allocations: 83.79 MB / 2.504 GB, free: 230.4 MB / 0.995 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0292/10.65, allocations: 1.052 MB / 2.505 GB, free: 229.4 MB / 0.995 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005352/10.66, allocations: 0.8651 MB / 2.506 GB, free: 228.5 MB / 0.995 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/10.66, allocations: 4 kB / 2.506 GB, free: 228.5 MB / 0.995 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.282/11.94, allocations: 127.4 MB / 2.63 GB, free: 100.9 MB / 0.995 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003334/11.94, allocations: 97.19 kB / 2.63 GB, free: 100.8 MB / 0.995 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.011/13.95, allocations: 149.8 MB / 2.776 GB, free: 342.4 MB / 0.995 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01873/13.97, allocations: 2.189 MB / 2.779 GB, free: 342.4 MB / 0.995 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3098/14.28, allocations: 90.07 MB / 2.866 GB, free: 300.8 MB / 0.995 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0287/14.31, allocations: 1.04 MB / 2.867 GB, free: 299.9 MB / 0.995 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005353/14.31, allocations: 0.8279 MB / 2.868 GB, free: 299.1 MB / 0.995 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 (982): * Single equations (assignments): 902 * Array equations: 36 * Algorithm blocks: 1 * Record equations: 32 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * 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: 8 {1,1,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 {33 119,33 119} Notification: Performance of prepare postOptimizeDAE: time 0.01735/14.33, allocations: 4.25 MB / 2.872 GB, free: 294.9 MB / 0.995 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007054/14.34, allocations: 1.548 MB / 2.874 GB, free: 294.2 MB / 0.995 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3677/14.7, allocations: 53.24 MB / 2.926 GB, free: 241.4 MB / 0.995 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3392/15.04, allocations: 47.15 MB / 2.972 GB, free: 194.4 MB / 0.995 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.795e-05/15.04, allocations: 0 / 2.972 GB, free: 194.4 MB / 0.995 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01341/15.06, allocations: 3.401 MB / 2.975 GB, free: 191.8 MB / 0.995 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007131/15.06, allocations: 283.9 kB / 2.976 GB, free: 191.5 MB / 0.995 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02254/15.09, allocations: 0.9263 MB / 2.977 GB, free: 190.7 MB / 0.995 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.007269/15.09, allocations: 1.201 MB / 2.978 GB, free: 189.4 MB / 0.995 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.1192/15.21, allocations: 28.14 MB / 3.005 GB, free: 161.7 MB / 0.995 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.07806/15.29, allocations: 29.48 MB / 3.034 GB, free: 132.1 MB / 0.995 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.02053/15.31, allocations: 9.175 MB / 3.043 GB, free: 122.9 MB / 0.995 GB Notification: Performance of sorting global known variables: time 0.02316/15.33, allocations: 10.39 MB / 3.053 GB, free: 112.6 MB / 0.995 GB Notification: Performance of Backend: time 9.02e-07/15.33, allocations: 0 / 3.053 GB, free: 112.6 MB / 0.995 GB Notification: Performance of simCode: created initialization part: time 0.1561/15.49, allocations: 39.17 MB / 3.091 GB, free: 73.52 MB / 0.995 GB Notification: Performance of SimCode: time 0.1251/15.62, allocations: 44.92 MB / 3.135 GB, free: 28.8 MB / 0.995 GB Notification: Performance of Templates: time 2.295/17.91, allocations: 468.4 MB / 3.593 GB, free: 353.5 MB / 0.995 GB