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.01037/0.01038, allocations: 222.3 kB / 15.17 MB, free: 5.926 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.001071/0.001071, allocations: 176 kB / 16.06 MB, free: 5.832 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.444/3.444, allocations: 389 MB / 405.9 MB, free: 13.34 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.032/4.032, allocations: 472.3 MB / 0.9018 GB, free: 3.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005109/0.0005111, allocations: 16 kB / 1.008 GB, free: 10.29 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5517/0.5522, allocations: 98.71 MB / 1.104 GB, free: 213 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquation): time 0.01967/0.5719, allocations: 18.91 MB / 1.122 GB, free: 199.8 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0077/0.5797, allocations: 4.875 MB / 1.127 GB, free: 196.4 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006735/0.5804, allocations: 17.81 kB / 1.127 GB, free: 196.4 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0009036/0.5813, allocations: 276.8 kB / 1.128 GB, free: 196.3 MB / 0.7292 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.002645/0.584, allocations: 0.8502 MB / 1.128 GB, free: 195.8 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.002914/0.5869, allocations: 0.7914 MB / 1.129 GB, free: 195.5 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.002564/0.5895, allocations: 1.969 MB / 1.131 GB, free: 194.7 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006935/0.5902, allocations: 392 kB / 1.131 GB, free: 194.6 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009894/0.5912, allocations: 0.5572 MB / 1.132 GB, free: 194.3 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007049/0.5919, allocations: 461.9 kB / 1.132 GB, free: 194.2 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 8.686e-05/0.592, allocations: 23.62 kB / 1.132 GB, free: 194.2 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002099/0.5941, allocations: 0.7889 MB / 1.133 GB, free: 193.9 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001662/0.5943, allocations: 112.5 kB / 1.133 GB, free: 193.9 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001717/0.5945, allocations: 136.7 kB / 1.133 GB, free: 193.8 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.001269/0.5958, allocations: 0.7675 MB / 1.134 GB, free: 193.6 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.424e-06/0.5958, allocations: 0 / 1.134 GB, free: 193.6 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.041e-06/0.5958, allocations: 5.406 kB / 1.134 GB, free: 193.6 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.045e-05/0.5958, allocations: 3.719 kB / 1.134 GB, free: 193.6 MB / 0.7292 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.001537/0.5974, allocations: 0.9023 MB / 1.135 GB, free: 192.9 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.5974, allocations: 9.75 kB / 1.135 GB, free: 192.9 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001012/0.5984, allocations: 196.3 kB / 1.135 GB, free: 192.9 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001181/0.5996, allocations: 0.5338 MB / 1.136 GB, free: 192.5 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003727/0.6, allocations: 98.91 kB / 1.136 GB, free: 192.5 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.179e-05/0.6001, allocations: 37.69 kB / 1.136 GB, free: 192.5 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001178/0.6013, allocations: 494.9 kB / 1.136 GB, free: 192.3 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.173e-05/0.6014, allocations: 6.125 kB / 1.136 GB, free: 192.3 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.874e-05/0.6014, allocations: 15.14 kB / 1.136 GB, free: 192.3 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.768e-05/0.6015, allocations: 9.781 kB / 1.136 GB, free: 192.3 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001324/0.6028, allocations: 420.2 kB / 1.137 GB, free: 192.1 MB / 0.7292 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.003353/0.6062, allocations: 2.271 MB / 1.139 GB, free: 190.4 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001253/0.6075, allocations: 383.5 kB / 1.139 GB, free: 190.3 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006314/0.6081, allocations: 212.9 kB / 1.14 GB, free: 190.2 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002653/0.6084, allocations: 349.4 kB / 1.14 GB, free: 189.8 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007118/0.6091, allocations: 286.6 kB / 1.14 GB, free: 189.7 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=31): time 3.618e-06/0.6092, allocations: 0 / 1.14 GB, free: 189.7 MB / 0.7292 GB Notification: Performance of matching and sorting (n=31): time 0.002581/0.6117, allocations: 0.8108 MB / 1.141 GB, free: 189.4 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.785e-05/0.6118, allocations: 88.38 kB / 1.141 GB, free: 189.3 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006988/0.6125, allocations: 489.2 kB / 1.142 GB, free: 189 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.694e-05/0.6126, allocations: 35.81 kB / 1.142 GB, free: 189 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002126/0.6128, allocations: 287.1 kB / 1.142 GB, free: 188.8 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 9.891e-05/0.6129, allocations: 103.6 kB / 1.142 GB, free: 188.7 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.634e-05/0.6129, allocations: 6.438 kB / 1.142 GB, free: 188.7 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.6131, allocations: 364.5 kB / 1.142 GB, free: 188.4 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005616/0.6136, allocations: 173.2 kB / 1.142 GB, free: 188.3 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006391/0.6143, allocations: 266.1 kB / 1.143 GB, free: 188.2 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005942/0.6149, allocations: 219.3 kB / 1.143 GB, free: 188.1 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.685e-06/0.6149, allocations: 1.344 kB / 1.143 GB, free: 188.1 MB / 0.7292 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001694/0.6166, allocations: 0.5827 MB / 1.144 GB, free: 187.9 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.346e-05/0.6167, allocations: 171.9 kB / 1.144 GB, free: 187.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.972e-06/0.6167, allocations: 1.281 kB / 1.144 GB, free: 187.7 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003961/0.6172, allocations: 66.08 kB / 1.144 GB, free: 187.7 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000461/0.6176, allocations: 84.89 kB / 1.144 GB, free: 187.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004457/0.6181, allocations: 0.5976 MB / 1.144 GB, free: 187.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006661/0.6188, allocations: 79.8 kB / 1.144 GB, free: 187.1 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.947e-05/0.6189, allocations: 18.72 kB / 1.145 GB, free: 187.1 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.306e-06/0.6189, allocations: 6.375 kB / 1.145 GB, free: 187.1 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00149/0.6204, allocations: 0.5116 MB / 1.145 GB, free: 186.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.977e-06/0.6204, allocations: 3.562 kB / 1.145 GB, free: 186.9 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001926/0.6206, allocations: 51.12 kB / 1.145 GB, free: 186.9 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000443/0.6211, allocations: 85.98 kB / 1.145 GB, free: 186.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001524/0.6226, allocations: 1.627 MB / 1.147 GB, free: 185.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006171/0.6232, allocations: 82.06 kB / 1.147 GB, free: 185.3 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.184e-05/0.6233, allocations: 13.2 kB / 1.147 GB, free: 185.3 MB / 0.7292 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.000354/0.6237, allocations: 303.3 kB / 1.147 GB, free: 185.1 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/0.6238, allocations: 59.78 kB / 1.147 GB, free: 185 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001676/0.6255, allocations: 0.6003 MB / 1.148 GB, free: 184.8 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/0.6255, allocations: 4.625 kB / 1.148 GB, free: 184.8 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.587e-06/0.6255, allocations: 1.062 kB / 1.148 GB, free: 184.8 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001477/0.627, allocations: 0.7646 MB / 1.149 GB, free: 184.3 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002817/0.6299, allocations: 1.214 MB / 1.15 GB, free: 183.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.97e-06/0.6299, allocations: 1.312 kB / 1.15 GB, free: 183.6 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004731/0.6304, allocations: 69.73 kB / 1.15 GB, free: 183.6 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001862/0.6306, allocations: 50.59 kB / 1.15 GB, free: 183.6 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.204e-05/0.6306, allocations: 16.95 kB / 1.15 GB, free: 183.6 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003466/0.631, allocations: 0.5762 MB / 1.15 GB, free: 183.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.22e-06/0.631, allocations: 1.25 kB / 1.15 GB, free: 183.1 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002472/0.6335, allocations: 0.8984 MB / 1.151 GB, free: 182.6 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003038/0.6338, allocations: 180.6 kB / 1.151 GB, free: 182.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001025/0.6339, allocations: 8.672 kB / 1.151 GB, free: 182.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006653/0.6346, allocations: 63.91 kB / 1.152 GB, free: 182.5 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.784e-05/0.6347, allocations: 26.92 kB / 1.152 GB, free: 182.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.575e-05/0.6348, allocations: 18.5 kB / 1.152 GB, free: 182.5 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0005172/0.6353, allocations: 343 kB / 1.152 GB, free: 182.3 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.75e-07/0.6353, allocations: 0 / 1.152 GB, free: 182.3 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001401/0.6367, allocations: 334.1 kB / 1.152 GB, free: 182.3 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (dyn.U) * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006882/0.6374, allocations: 294.4 kB / 1.152 GB, free: 182.1 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002491/0.6399, allocations: 0.9814 MB / 1.153 GB, free: 181.7 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.836e-06/0.64, allocations: 7.938 kB / 1.153 GB, free: 181.7 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0007776/0.6407, allocations: 320.7 kB / 1.154 GB, free: 181.5 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001619/0.6424, allocations: 251.2 kB / 1.154 GB, free: 181.5 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002504/0.6449, allocations: 1.308 MB / 1.155 GB, free: 180.8 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004254/0.6454, allocations: 0.8837 MB / 1.156 GB, free: 180.1 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0007328/0.6461, allocations: 127.1 kB / 1.156 GB, free: 180.1 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001669/0.6463, allocations: 48.69 kB / 1.156 GB, free: 180.1 MB / 0.7292 GB Notification: Performance of SimCode: time 1.46e-06/0.6463, allocations: 0 / 1.156 GB, free: 180.1 MB / 0.7292 GB Notification: Performance of Templates: time 0.02423/0.6705, allocations: 10.32 MB / 1.166 GB, free: 174.2 MB / 0.7292 GB