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.StaticTwoPortConservationEquation.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.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004366/0.004371, allocations: 238.7 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.001257/0.001257, allocations: 183.9 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 4.007/4.007, 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 3.97/3.97, allocations: 472.3 MB / 0.9024 GB, free: 9.258 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004882/0.0004884, allocations: 12.22 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.1623, allocations: 98.73 MB / 1.105 GB, free: 42.08 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.7843/0.9467, allocations: 175 MB / 1.275 GB, free: 12.83 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01556/0.9623, allocations: 6.606 MB / 1.282 GB, free: 8.121 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001891/0.9643, allocations: 37.5 kB / 1.282 GB, free: 8.102 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.002894/0.9672, allocations: 0.6078 MB / 1.283 GB, free: 7.785 MB / 0.6511 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. [/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. [/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. [/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.007872/0.9751, allocations: 1.881 MB / 1.284 GB, free: 6.648 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.006675/0.9818, allocations: 1.455 MB / 1.286 GB, free: 5.672 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.006393/0.9882, allocations: 3.432 MB / 1.289 GB, free: 3.617 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001827/0.9901, allocations: 0.6878 MB / 1.29 GB, free: 3.203 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002891/0.993, allocations: 0.9327 MB / 1.291 GB, free: 2.695 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002364/0.9954, allocations: 0.8155 MB / 1.292 GB, free: 2.238 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0003296/0.9958, allocations: 40.78 kB / 1.292 GB, free: 2.238 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004164/0.9999, allocations: 1.067 MB / 1.293 GB, free: 1.688 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0007016/1.001, allocations: 298 kB / 1.293 GB, free: 1.488 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0005911/1.001, allocations: 237.9 kB / 1.293 GB, free: 1.344 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.003576/1.005, allocations: 1.561 MB / 1.295 GB, free: 332 kB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/1.005, allocations: 0 / 1.295 GB, free: 332 kB / 0.6511 GB Notification: Performance of FrontEnd: time 2.565e-06/1.005, allocations: 4 kB / 1.295 GB, free: 328 kB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.378e-05/1.005, allocations: 0.6562 kB / 1.295 GB, free: 328 kB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.006249/1.011, allocations: 1.407 MB / 1.296 GB, free: 15.21 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.322e-05/1.011, allocations: 9.125 kB / 1.296 GB, free: 15.21 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005624/1.017, allocations: 0.6057 MB / 1.297 GB, free: 14.96 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003984/1.021, allocations: 0.9613 MB / 1.298 GB, free: 14.23 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0023/1.023, allocations: 312.3 kB / 1.298 GB, free: 14.12 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003451/1.024, allocations: 66.62 kB / 1.298 GB, free: 14.1 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004839/1.029, allocations: 1.157 MB / 1.299 GB, free: 13.44 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.929e-05/1.029, allocations: 4.594 kB / 1.299 GB, free: 13.43 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001624/1.029, allocations: 26.88 kB / 1.299 GB, free: 13.41 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-05/1.029, allocations: 34.97 kB / 1.299 GB, free: 13.41 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007001/1.036, allocations: 1.326 MB / 1.3 GB, free: 12.79 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01117/1.047, allocations: 3.061 MB / 1.303 GB, free: 10.55 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003365/1.051, allocations: 0.7253 MB / 1.304 GB, free: 10.17 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001462/1.052, allocations: 406.3 kB / 1.305 GB, free: 9.977 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001289/1.053, allocations: 1.025 MB / 1.306 GB, free: 8.805 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001733/1.055, allocations: 0.5053 MB / 1.306 GB, free: 8.477 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=55): time 6.623e-06/1.055, allocations: 7.938 kB / 1.306 GB, free: 8.469 MB / 0.6667 GB Notification: Performance of matching and sorting (n=55): time 0.00528/1.06, allocations: 1.188 MB / 1.307 GB, free: 7.867 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.332e-05/1.061, allocations: 111.9 kB / 1.307 GB, free: 7.742 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00346/1.064, allocations: 1.224 MB / 1.308 GB, free: 7.078 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002434/1.064, allocations: 34.98 kB / 1.309 GB, free: 7.043 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005591/1.065, allocations: 444.4 kB / 1.309 GB, free: 6.66 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002983/1.065, allocations: 186 kB / 1.309 GB, free: 6.5 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.181e-05/1.065, allocations: 14.97 kB / 1.309 GB, free: 6.488 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001462/1.065, allocations: 326.5 kB / 1.309 GB, free: 6.168 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002603/1.068, allocations: 489.2 kB / 1.31 GB, free: 5.82 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002844/1.071, allocations: 0.6313 MB / 1.311 GB, free: 5.152 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002671/1.074, allocations: 0.5386 MB / 1.311 GB, free: 4.609 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/1.074, allocations: 0 / 1.311 GB, free: 4.609 MB / 0.6667 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.006052/1.08, allocations: 1.257 MB / 1.312 GB, free: 3.344 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 7.506e-05/1.08, allocations: 45.88 kB / 1.312 GB, free: 3.293 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/1.08, allocations: 4 kB / 1.312 GB, free: 3.289 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.459e-05/1.08, allocations: 7.953 kB / 1.312 GB, free: 3.281 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001965/1.082, allocations: 215.7 kB / 1.313 GB, free: 3.07 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.662e-05/1.082, allocations: 4 kB / 1.313 GB, free: 3.066 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003226/1.085, allocations: 306.6 kB / 1.313 GB, free: 2.77 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001734/1.085, allocations: 42.39 kB / 1.313 GB, free: 2.73 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (68): * Single equations (assignments): 67 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007781/1.086, allocations: 331.3 kB / 1.313 GB, free: 2.391 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003157/1.086, allocations: 114.6 kB / 1.313 GB, free: 2.277 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003667/1.09, allocations: 0.9836 MB / 1.314 GB, free: 1.281 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.308e-05/1.09, allocations: 11.98 kB / 1.314 GB, free: 1.27 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/1.09, allocations: 0 / 1.314 GB, free: 1.27 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009369/1.091, allocations: 319.4 kB / 1.315 GB, free: 0.9375 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003058/1.091, allocations: 12 kB / 1.315 GB, free: 0.9258 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002027/1.094, allocations: 115.9 kB / 1.315 GB, free: 0.8125 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001279/1.094, allocations: 36.39 kB / 1.315 GB, free: 0.7773 MB / 0.6667 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003944/1.098, allocations: 1.096 MB / 1.316 GB, free: 15.66 MB / 0.6823 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003637/1.101, allocations: 1.182 MB / 1.317 GB, free: 14.45 MB / 0.6823 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001475/1.103, allocations: 411.4 kB / 1.317 GB, free: 14.05 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002874/1.106, allocations: 0.8874 MB / 1.318 GB, free: 13.16 MB / 0.6823 GB Notification: Performance of Backend: time 6.62e-07/1.106, allocations: 3.938 kB / 1.318 GB, free: 13.15 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.005786/1.112, allocations: 1.19 MB / 1.319 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of SimCode: time 0.006853/1.118, allocations: 2.562 MB / 1.322 GB, free: 9.34 MB / 0.6823 GB Notification: Performance of Templates: time 0.06482/1.183, allocations: 24.33 MB / 1.346 GB, free: 1.34 MB / 0.698 GB