Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.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.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.006116/0.00612, allocations: 231.1 kB / 15.8 MB, free: 6.281 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.001795/0.001795, allocations: 184.2 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.685/3.685, 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.973/3.973, allocations: 472.3 MB / 0.9024 GB, free: 9.199 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0005235/0.0005237, allocations: 12.22 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1992/0.1998, allocations: 98.72 MB / 1.105 GB, free: 42.17 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal): time 0.6308/0.8306, allocations: 73.56 MB / 1.176 GB, free: 42.45 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.05311/0.8838, allocations: 20.67 MB / 1.197 GB, free: 39.59 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005693/0.8895, allocations: 93.56 kB / 1.197 GB, free: 39.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.00797/0.8976, allocations: 1.136 MB / 1.198 GB, free: 39.06 MB / 0.6198 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.02065/0.9183, allocations: 3.298 MB / 1.201 GB, free: 37.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.02723/0.9456, allocations: 3.944 MB / 1.205 GB, free: 36.58 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.03268/0.9783, allocations: 17.39 MB / 1.222 GB, free: 30.07 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01118/0.9895, allocations: 5.167 MB / 1.227 GB, free: 28.71 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01183/1.001, allocations: 4.46 MB / 1.231 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01167/1.013, allocations: 4.576 MB / 1.236 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.002518/1.016, allocations: 260.5 kB / 1.236 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008088/1.024, allocations: 1.328 MB / 1.237 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.003512/1.027, allocations: 1.215 MB / 1.238 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.003806/1.031, allocations: 1.107 MB / 1.24 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.01273/1.044, allocations: 6.876 MB / 1.246 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/1.044, allocations: 0 / 1.246 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.396e-06/1.044, allocations: 1.062 kB / 1.246 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.00038/1.044, allocations: 1.656 kB / 1.246 GB, free: 19.75 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 832 * Number of variables: 832 Notification: Performance of Generate backend data structure: time 0.0206/1.065, allocations: 5.396 MB / 1.252 GB, free: 16.12 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.366e-05/1.065, allocations: 12.44 kB / 1.252 GB, free: 16.12 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007127/1.072, allocations: 0.837 MB / 1.252 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01856/1.091, allocations: 5.06 MB / 1.257 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003898/1.091, allocations: 257.2 kB / 1.258 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001771/1.093, allocations: 347.4 kB / 1.258 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.018/1.111, allocations: 5.718 MB / 1.263 GB, free: 7.789 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001248/1.111, allocations: 11.88 kB / 1.263 GB, free: 7.777 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001309/1.113, allocations: 144.9 kB / 1.264 GB, free: 7.637 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.446e-05/1.113, allocations: 84 kB / 1.264 GB, free: 7.555 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01691/1.13, allocations: 5.548 MB / 1.269 GB, free: 2.008 MB / 0.6198 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.06335/1.193, allocations: 24 MB / 1.293 GB, free: 9.035 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009154/1.202, allocations: 2.788 MB / 1.295 GB, free: 6.254 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005657/1.208, allocations: 1.909 MB / 1.297 GB, free: 4.348 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0227/1.231, allocations: 7.141 MB / 1.304 GB, free: 12.89 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006223/1.237, allocations: 1.953 MB / 1.306 GB, free: 10.92 MB / 0.6667 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008381/1.246, allocations: 1.247 MB / 1.307 GB, free: 9.672 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=154): time 1.285e-05/1.246, allocations: 0 / 1.307 GB, free: 9.672 MB / 0.6667 GB Notification: Performance of matching and sorting (n=154): time 0.04124/1.287, allocations: 7.632 MB / 1.315 GB, free: 1.961 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001284/1.287, allocations: 153.8 kB / 1.315 GB, free: 1.781 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01221/1.299, allocations: 4.836 MB / 1.32 GB, free: 12.96 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0007791/1.3, allocations: 69.7 kB / 1.32 GB, free: 12.88 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.003955/1.304, allocations: 2.455 MB / 1.322 GB, free: 10.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001447/1.306, allocations: 0.5549 MB / 1.323 GB, free: 9.84 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004123/1.306, allocations: 52 kB / 1.323 GB, free: 9.789 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002995/1.306, allocations: 415.4 kB / 1.323 GB, free: 9.379 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005229/1.312, allocations: 1.66 MB / 1.325 GB, free: 7.715 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006849/1.318, allocations: 2.885 MB / 1.327 GB, free: 4.27 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006271/1.325, allocations: 2.107 MB / 1.33 GB, free: 2.156 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.953e-05/1.325, allocations: 12 kB / 1.33 GB, free: 2.145 MB / 0.6823 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.02078/1.346, allocations: 6.025 MB / 1.335 GB, free: 12.09 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.00107/1.347, allocations: 1.1 MB / 1.336 GB, free: 10.52 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.642e-05/1.347, allocations: 32 kB / 1.337 GB, free: 10.49 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1411/1.488, allocations: 11.87 MB / 1.348 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00554/1.494, allocations: 0.6707 MB / 1.349 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01631/1.51, allocations: 5.047 MB / 1.354 GB, free: 8.801 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01163/1.522, allocations: 339.8 kB / 1.354 GB, free: 8.469 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00126/1.523, allocations: 167.9 kB / 1.354 GB, free: 8.305 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/1.523, allocations: 4 kB / 1.354 GB, free: 8.301 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02338/1.546, allocations: 5.356 MB / 1.359 GB, free: 2.926 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001404/1.547, allocations: 36.94 kB / 1.359 GB, free: 2.891 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1518/1.698, allocations: 11.68 MB / 1.371 GB, free: 7.191 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005195/1.704, allocations: 0.6513 MB / 1.371 GB, free: 6.539 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02087/1.725, allocations: 8.068 MB / 1.379 GB, free: 14.17 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007672/1.732, allocations: 331.9 kB / 1.38 GB, free: 13.85 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009901/1.733, allocations: 159.9 kB / 1.38 GB, free: 13.69 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 149 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (287): * Single equations (assignments): 280 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {11 13,10 11,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.004832/1.738, allocations: 1.538 MB / 1.381 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001913/1.74, allocations: 466.2 kB / 1.382 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0175/1.758, allocations: 4.878 MB / 1.387 GB, free: 6.785 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02325/1.781, allocations: 6.413 MB / 1.393 GB, free: 116 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.792e-05/1.781, allocations: 0 / 1.393 GB, free: 116 kB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005028/1.786, allocations: 1.057 MB / 1.394 GB, free: 15.03 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002396/1.788, allocations: 36.09 kB / 1.394 GB, free: 15 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007428/1.796, allocations: 275.2 kB / 1.394 GB, free: 14.73 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009672/1.797, allocations: 129.1 kB / 1.394 GB, free: 14.6 MB / 0.7605 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02499/1.822, allocations: 5.379 MB / 1.399 GB, free: 9.168 MB / 0.7605 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.02014/1.842, allocations: 6.078 MB / 1.405 GB, free: 3.062 MB / 0.7605 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005932/1.848, allocations: 1.958 MB / 1.407 GB, free: 1.105 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.009502/1.858, allocations: 3.305 MB / 1.411 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of Backend: time 8.02e-07/1.858, allocations: 0 / 1.411 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.03338/1.891, allocations: 6.204 MB / 1.417 GB, free: 7.566 MB / 0.7761 GB Notification: Performance of SimCode: time 0.04179/1.933, allocations: 12.91 MB / 1.429 GB, free: 10.66 MB / 0.7917 GB Notification: Performance of Templates: time 0.8565/2.79, allocations: 111.1 MB / 1.538 GB, free: 248.3 MB / 0.823 GB