Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.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.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004136/0.004136, allocations: 236.7 kB / 15.8 MB, free: 6.316 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.001147/0.001147, allocations: 179.4 kB / 16.68 MB, free: 5.473 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.359/3.359, allocations: 389.1 MB / 406.5 MB, free: 6.793 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.506/4.506, allocations: 472.3 MB / 0.9023 GB, free: 183.9 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006858/0.0006861, allocations: 19.98 kB / 1.008 GB, free: 81.18 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6475/0.6482, allocations: 98.69 MB / 1.105 GB, free: 34.71 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquation): time 0.02602/0.6743, allocations: 18.91 MB / 1.123 GB, free: 21.51 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.009867/0.6842, allocations: 4.886 MB / 1.128 GB, free: 18.08 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009767/0.6853, allocations: 19.5 kB / 1.128 GB, free: 18.07 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.00118/0.6865, allocations: 276.6 kB / 1.128 GB, free: 17.94 MB / 0.5573 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. [/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.003494/0.69, allocations: 0.8514 MB / 1.129 GB, free: 17.46 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.003666/0.6937, allocations: 0.7836 MB / 1.13 GB, free: 17.11 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.003765/0.6974, allocations: 1.971 MB / 1.132 GB, free: 16.32 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001003/0.6985, allocations: 392.1 kB / 1.132 GB, free: 16.18 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001574/0.7001, allocations: 0.5592 MB / 1.133 GB, free: 15.96 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001081/0.7012, allocations: 464.3 kB / 1.133 GB, free: 15.78 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.000115/0.7013, allocations: 21.47 kB / 1.133 GB, free: 15.78 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002642/0.704, allocations: 0.7891 MB / 1.134 GB, free: 15.55 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002611/0.7043, allocations: 111 kB / 1.134 GB, free: 15.49 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0003267/0.7046, allocations: 138.5 kB / 1.134 GB, free: 15.41 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.002058/0.7067, allocations: 0.7664 MB / 1.135 GB, free: 15.21 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 7.525e-06/0.7067, allocations: 0 / 1.135 GB, free: 15.21 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.756e-06/0.7067, allocations: 6.75 kB / 1.135 GB, free: 15.21 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.462e-05/0.7068, allocations: 3.938 kB / 1.135 GB, free: 15.21 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.002249/0.709, allocations: 0.8992 MB / 1.136 GB, free: 14.5 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.291e-05/0.7091, allocations: 12.2 kB / 1.136 GB, free: 14.5 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001567/0.7107, allocations: 199.5 kB / 1.136 GB, free: 14.45 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001792/0.7125, allocations: 0.5407 MB / 1.136 GB, free: 14.09 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006307/0.7132, allocations: 92.33 kB / 1.136 GB, free: 14.07 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001699/0.7134, allocations: 37.66 kB / 1.136 GB, free: 14.06 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001702/0.7151, allocations: 498.1 kB / 1.137 GB, free: 13.84 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.821e-05/0.7151, allocations: 0 / 1.137 GB, free: 13.84 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.178e-05/0.7152, allocations: 17.2 kB / 1.137 GB, free: 13.83 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.332e-05/0.7153, allocations: 12.73 kB / 1.137 GB, free: 13.83 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001853/0.7172, allocations: 419.1 kB / 1.137 GB, free: 13.71 MB / 0.5573 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.004521/0.7217, allocations: 2.265 MB / 1.14 GB, free: 11.94 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001767/0.7235, allocations: 379.6 kB / 1.14 GB, free: 11.82 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008368/0.7244, allocations: 223.5 kB / 1.14 GB, free: 11.74 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003091/0.7247, allocations: 346.3 kB / 1.141 GB, free: 11.36 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001002/0.7257, allocations: 287 kB / 1.141 GB, free: 11.22 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=31): time 4.178e-06/0.7257, allocations: 0 / 1.141 GB, free: 11.22 MB / 0.5573 GB Notification: Performance of matching and sorting (n=31): time 0.00375/0.7295, allocations: 0.8092 MB / 1.142 GB, free: 10.86 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.083e-05/0.7296, allocations: 82.03 kB / 1.142 GB, free: 10.77 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009243/0.7305, allocations: 494.9 kB / 1.142 GB, free: 10.55 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001025/0.7306, allocations: 33.02 kB / 1.142 GB, free: 10.51 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002684/0.7309, allocations: 286.8 kB / 1.142 GB, free: 10.28 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.000131/0.7311, allocations: 105.1 kB / 1.143 GB, free: 10.2 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.248e-05/0.7311, allocations: 9.344 kB / 1.143 GB, free: 10.19 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.7312, allocations: 360.5 kB / 1.143 GB, free: 9.859 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008343/0.7321, allocations: 171.4 kB / 1.143 GB, free: 9.812 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000902/0.733, allocations: 264.9 kB / 1.143 GB, free: 9.668 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008459/0.7339, allocations: 223.2 kB / 1.144 GB, free: 9.57 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.7339, allocations: 1.188 kB / 1.144 GB, free: 9.57 MB / 0.5573 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.002429/0.7363, allocations: 0.5842 MB / 1.144 GB, free: 9.332 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001061/0.7365, allocations: 170.2 kB / 1.144 GB, free: 9.148 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.7365, allocations: 2.844 kB / 1.144 GB, free: 9.148 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005085/0.737, allocations: 65.58 kB / 1.144 GB, free: 9.133 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006865/0.7377, allocations: 86.92 kB / 1.144 GB, free: 9.121 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005441/0.7383, allocations: 0.5932 MB / 1.145 GB, free: 8.566 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001069/0.7394, allocations: 85.34 kB / 1.145 GB, free: 8.535 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.207e-05/0.7394, allocations: 15.03 kB / 1.145 GB, free: 8.535 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.7395, allocations: 3.562 kB / 1.145 GB, free: 8.535 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002034/0.7415, allocations: 0.5135 MB / 1.146 GB, free: 8.34 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.7416, allocations: 3.469 kB / 1.146 GB, free: 8.34 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002614/0.7418, allocations: 47.89 kB / 1.146 GB, free: 8.324 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006659/0.7425, allocations: 88.78 kB / 1.146 GB, free: 8.309 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001827/0.7443, allocations: 1.633 MB / 1.147 GB, free: 6.766 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/0.7455, allocations: 76.62 kB / 1.147 GB, free: 6.742 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.717e-05/0.7455, allocations: 18.92 kB / 1.147 GB, free: 6.738 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,$PRE.QSen_flow.nextEvent,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.000481/0.746, allocations: 297.4 kB / 1.148 GB, free: 6.48 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001386/0.7462, allocations: 61.3 kB / 1.148 GB, free: 6.449 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002288/0.7485, allocations: 0.6037 MB / 1.148 GB, free: 6.199 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001975/0.7505, allocations: 0.7599 MB / 1.149 GB, free: 5.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.7505, allocations: 4 kB / 1.149 GB, free: 5.676 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004842/0.751, allocations: 177.4 kB / 1.149 GB, free: 5.531 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001187/0.7512, allocations: 8.062 kB / 1.149 GB, free: 5.527 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009311/0.7521, allocations: 62.75 kB / 1.149 GB, free: 5.516 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.814e-05/0.7522, allocations: 25.02 kB / 1.149 GB, free: 5.512 MB / 0.5573 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002518/0.7547, allocations: 0.7109 MB / 1.15 GB, free: 5.152 MB / 0.5573 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002911/0.7577, allocations: 0.9326 MB / 1.151 GB, free: 4.68 MB / 0.5573 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008566/0.7586, allocations: 239.4 kB / 1.151 GB, free: 4.598 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.000663/0.7593, allocations: 344.5 kB / 1.152 GB, free: 4.441 MB / 0.5573 GB Notification: Performance of Backend: time 7.51e-07/0.7593, allocations: 0 / 1.152 GB, free: 4.441 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.004381/0.7637, allocations: 1.15 MB / 1.153 GB, free: 3.859 MB / 0.5573 GB Notification: Performance of SimCode: time 0.003422/0.7671, allocations: 1.824 MB / 1.154 GB, free: 2.602 MB / 0.5573 GB Notification: Performance of Templates: time 0.03508/0.8023, allocations: 12.03 MB / 1.166 GB, free: 14.26 MB / 0.573 GB