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.Simplified2.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.Simplified2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified2") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004217/0.004222, allocations: 235.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.00161/0.00161, allocations: 180 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.899/3.899, allocations: 389.1 MB / 406.5 MB, free: 11.84 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.149/4.149, allocations: 472.3 MB / 0.9024 GB, free: 18.77 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004749/0.0004752, allocations: 12.22 kB / 1.008 GB, free: 13.43 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2197/0.2202, allocations: 98.72 MB / 1.105 GB, free: 10.75 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified2): time 1.031/1.251, allocations: 325.7 MB / 1.423 GB, free: 9.254 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.8148/2.066, allocations: 71.87 MB / 1.493 GB, free: 51.03 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01651/2.083, allocations: 382.3 kB / 1.493 GB, free: 51.03 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.02096/2.104, allocations: 4.45 MB / 1.498 GB, free: 51.02 MB / 0.8073 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.05476/2.158, allocations: 13.54 MB / 1.511 GB, free: 50.84 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.04501/2.203, allocations: 11.21 MB / 1.522 GB, free: 50.28 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.06373/2.267, allocations: 42.26 MB / 1.563 GB, free: 40.55 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03442/2.302, allocations: 15.59 MB / 1.578 GB, free: 34.39 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03457/2.336, allocations: 13.45 MB / 1.591 GB, free: 26.99 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03505/2.371, allocations: 14.62 MB / 1.606 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.007757/2.379, allocations: 1.066 MB / 1.607 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02447/2.404, allocations: 3.712 MB / 1.61 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.01191/2.416, allocations: 4.884 MB / 1.615 GB, free: 8.129 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.009866/2.426, allocations: 3.359 MB / 1.618 GB, free: 5.934 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.04138/2.467, allocations: 21.98 MB / 1.64 GB, free: 3.289 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 8.406e-06/2.467, allocations: 2.125 kB / 1.64 GB, free: 3.289 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.555e-06/2.467, allocations: 0 / 1.64 GB, free: 3.289 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0009237/2.468, allocations: 0 / 1.64 GB, free: 3.289 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: 2029 * Number of variables: 2029 Notification: Performance of Generate backend data structure: time 0.08874/2.557, allocations: 20.57 MB / 1.66 GB, free: 80 kB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 7.111e-05/2.557, allocations: 11.27 kB / 1.66 GB, free: 72 kB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01729/2.574, allocations: 2.366 MB / 1.662 GB, free: 13.69 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06751/2.642, allocations: 15.15 MB / 1.677 GB, free: 2.785 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001527/2.643, allocations: 0.716 MB / 1.678 GB, free: 2.367 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007336/2.651, allocations: 0.9922 MB / 1.679 GB, free: 1.691 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06102/2.712, allocations: 17.13 MB / 1.695 GB, free: 0.5859 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004467/2.712, allocations: 11.94 kB / 1.695 GB, free: 0.5742 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004361/2.717, allocations: 348 kB / 1.696 GB, free: 240 kB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003059/2.717, allocations: 219.9 kB / 1.696 GB, free: 20 kB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05886/2.776, allocations: 20.43 MB / 1.716 GB, free: 11.58 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.2175/2.993, allocations: 82.02 MB / 1.796 GB, free: 7.109 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 1.096/4.089, allocations: 12.52 MB / 1.808 GB, free: 397 MB / 0.9793 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02123/4.111, allocations: 9.48 MB / 1.818 GB, free: 395 MB / 0.9793 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.109/4.22, allocations: 35.41 MB / 1.852 GB, free: 378.5 MB / 0.9793 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02524/4.245, allocations: 9.767 MB / 1.862 GB, free: 375.1 MB / 0.9793 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.05018/4.295, allocations: 10 MB / 1.871 GB, free: 374.5 MB / 0.9793 GB Notification: Performance of pre-optimization done (n=575): time 4.295e-05/4.295, allocations: 0 / 1.871 GB, free: 374.5 MB / 0.9793 GB Notification: Performance of matching and sorting (n=803): time 1.798/6.093, allocations: 203.9 MB / 2.07 GB, free: 189.3 MB / 0.9793 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006717/6.094, allocations: 2.58 MB / 2.073 GB, free: 186.1 MB / 0.9793 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03597/6.13, allocations: 15.36 MB / 2.088 GB, free: 170.9 MB / 0.9793 GB Notification: Performance of collectPreVariables (initialization): time 0.004871/6.135, allocations: 254.5 kB / 2.088 GB, free: 170.7 MB / 0.9793 GB Notification: Performance of collectInitialEqns (initialization): time 0.01129/6.146, allocations: 7.812 MB / 2.096 GB, free: 163.1 MB / 0.9793 GB Notification: Performance of collectInitialBindings (initialization): time 0.006554/6.153, allocations: 2.78 MB / 2.099 GB, free: 160.4 MB / 0.9793 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004565/6.157, allocations: 213.5 kB / 2.099 GB, free: 160.2 MB / 0.9793 GB Notification: Performance of setup shared object (initialization): time 0.0009225/6.158, allocations: 0.7492 MB / 2.1 GB, free: 159.4 MB / 0.9793 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02701/6.185, allocations: 10.39 MB / 2.11 GB, free: 149 MB / 0.9793 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03063/6.216, allocations: 13.83 MB / 2.123 GB, free: 133.8 MB / 0.9793 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03162/6.248, allocations: 11.79 MB / 2.135 GB, free: 122 MB / 0.9793 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.051e-05/6.248, allocations: 19.94 kB / 2.135 GB, free: 122 MB / 0.9793 GB Notification: Performance of matching and sorting (n=1416) (initialization): time 2.387/8.635, allocations: 127.4 MB / 2.259 GB, free: 352.6 MB / 0.9794 GB Notification: Performance of prepare postOptimizeDAE: time 0.001054/8.636, allocations: 1.731 MB / 2.261 GB, free: 350.5 MB / 0.9794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003196/8.636, allocations: 105.4 kB / 2.261 GB, free: 350.5 MB / 0.9794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359/9.996, allocations: 144.5 MB / 2.402 GB, free: 285.2 MB / 0.9794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02329/10.02, allocations: 2.433 MB / 2.404 GB, free: 282.9 MB / 0.9794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.286/10.31, allocations: 80.93 MB / 2.483 GB, free: 201.8 MB / 0.9794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02991/10.34, allocations: 1.109 MB / 2.485 GB, free: 200.8 MB / 0.9794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005527/10.34, allocations: 0.8683 MB / 2.485 GB, free: 199.9 MB / 0.9794 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/10.34, allocations: 4 kB / 2.485 GB, free: 199.9 MB / 0.9794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.242/11.58, allocations: 125.9 MB / 2.608 GB, free: 73.79 MB / 0.9794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003768/11.58, allocations: 105.2 kB / 2.608 GB, free: 73.69 MB / 0.9794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.957/13.54, allocations: 144.3 MB / 2.749 GB, free: 333 MB / 0.9794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02067/13.56, allocations: 2.388 MB / 2.752 GB, free: 333 MB / 0.9794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3265/13.89, allocations: 84.47 MB / 2.834 GB, free: 272.4 MB / 0.9794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03037/13.92, allocations: 1.097 MB / 2.835 GB, free: 271.4 MB / 0.9794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005763/13.92, allocations: 0.8308 MB / 2.836 GB, free: 270.6 MB / 0.9794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 231 * 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 (1054): * Single equations (assignments): 974 * 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 {14 90,14 90} Notification: Performance of prepare postOptimizeDAE: time 0.01742/13.94, allocations: 4.224 MB / 2.84 GB, free: 266.4 MB / 0.9794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007756/13.95, allocations: 1.537 MB / 2.842 GB, free: 265.7 MB / 0.9794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3807/14.33, allocations: 51 MB / 2.891 GB, free: 215 MB / 0.9794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3271/14.66, allocations: 45.07 MB / 2.936 GB, free: 169.9 MB / 0.9794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.192e-05/14.66, allocations: 0 / 2.936 GB, free: 169.9 MB / 0.9794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01311/14.67, allocations: 3.301 MB / 2.939 GB, free: 167.4 MB / 0.9794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007118/14.68, allocations: 281.2 kB / 2.939 GB, free: 167.1 MB / 0.9794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02335/14.7, allocations: 0.9599 MB / 2.94 GB, free: 166.2 MB / 0.9794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.007068/14.71, allocations: 1.056 MB / 2.941 GB, free: 165.2 MB / 0.9794 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.1112/14.82, allocations: 26.05 MB / 2.966 GB, free: 139.4 MB / 0.9794 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.07607/14.9, allocations: 28.42 MB / 2.994 GB, free: 110.9 MB / 0.9794 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.02015/14.92, allocations: 8.827 MB / 3.003 GB, free: 102.1 MB / 0.9794 GB Notification: Performance of sorting global known variables: time 0.02334/14.94, allocations: 10.41 MB / 3.013 GB, free: 91.76 MB / 0.9794 GB Notification: Performance of Backend: time 1.813e-06/14.94, allocations: 0 / 3.013 GB, free: 91.76 MB / 0.9794 GB Notification: Performance of simCode: created initialization part: time 0.1365/15.08, allocations: 37.54 MB / 3.05 GB, free: 54.12 MB / 0.9794 GB Notification: Performance of SimCode: time 0.7084/15.78, allocations: 43.09 MB / 3.092 GB, free: 347.5 MB / 0.9794 GB Notification: Performance of Templates: time 1.629/17.41, allocations: 463 MB / 3.544 GB, free: 329.4 MB / 0.9794 GB