Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.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.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01053/0.01053, allocations: 223 kB / 15.17 MB, free: 5.93 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.001088/0.001088, allocations: 181.8 kB / 16.06 MB, free: 5.828 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.343/3.343, allocations: 389.1 MB / 405.9 MB, free: 67.62 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.035/4.035, allocations: 472.3 MB / 0.9018 GB, free: 13.4 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004813/0.0004815, allocations: 19.98 kB / 1.008 GB, free: 0.8398 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4859/0.4864, allocations: 98.71 MB / 1.104 GB, free: 183.9 MB / 0.6823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.165/0.6515, allocations: 171.3 MB / 1.271 GB, free: 12.82 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.009567/0.6611, allocations: 5.998 MB / 1.277 GB, free: 6.828 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001315/0.6624, allocations: 35.75 kB / 1.277 GB, free: 6.793 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001663/0.6641, allocations: 0.5202 MB / 1.278 GB, free: 6.27 MB / 0.6823 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Sources.mo:826:36-827:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Sources.mo:824:36-825:54: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/Modelica 3.2.2/Fluid/Sources.mo:826:36-827:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Sources.mo:824:36-825:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.005776/0.6699, allocations: 1.879 MB / 1.28 GB, free: 4.383 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.004297/0.6742, allocations: 1.219 MB / 1.281 GB, free: 3.195 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.4981/1.172, allocations: 3.187 MB / 1.284 GB, free: 7.883 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001122/1.174, allocations: 0.6828 MB / 1.285 GB, free: 7.836 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001493/1.175, allocations: 0.8448 MB / 1.285 GB, free: 7.832 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001135/1.176, allocations: 0.8062 MB / 1.286 GB, free: 7.832 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001451/1.176, allocations: 38.56 kB / 1.286 GB, free: 7.832 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002056/1.178, allocations: 0.7856 MB / 1.287 GB, free: 7.828 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0004042/1.179, allocations: 355.6 kB / 1.287 GB, free: 7.828 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002868/1.179, allocations: 242.4 kB / 1.288 GB, free: 7.797 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001623/1.181, allocations: 1.38 MB / 1.289 GB, free: 7.695 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/1.181, allocations: 0.9688 kB / 1.289 GB, free: 7.695 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.021e-06/1.181, allocations: 0 / 1.289 GB, free: 7.695 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.508e-05/1.181, allocations: 0 / 1.289 GB, free: 7.695 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.002102/1.183, allocations: 1.242 MB / 1.29 GB, free: 6.953 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/1.183, allocations: 9.375 kB / 1.29 GB, free: 6.953 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002966/1.186, allocations: 428.7 kB / 1.291 GB, free: 6.883 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001619/1.188, allocations: 0.7641 MB / 1.291 GB, free: 6.59 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003801/1.188, allocations: 125.9 kB / 1.291 GB, free: 6.578 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001516/1.188, allocations: 76.81 kB / 1.291 GB, free: 6.578 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002387/1.191, allocations: 1.022 MB / 1.292 GB, free: 6.48 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.791e-05/1.191, allocations: 0 / 1.292 GB, free: 6.48 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001211/1.191, allocations: 40.2 kB / 1.292 GB, free: 6.477 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-05/1.191, allocations: 32.64 kB / 1.293 GB, free: 6.473 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002369/1.193, allocations: 0.8999 MB / 1.293 GB, free: 6.457 MB / 0.6823 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.007358/1.201, allocations: 3.688 MB / 1.297 GB, free: 20.94 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001831/1.202, allocations: 0.6084 MB / 1.298 GB, free: 20.9 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009031/1.203, allocations: 330.7 kB / 1.298 GB, free: 20.88 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002114/1.204, allocations: 101.4 kB / 1.298 GB, free: 20.79 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/1.204, allocations: 41.38 kB / 1.298 GB, free: 20.75 MB / 0.698 GB Notification: Performance of pre-optimization done (n=39): time 4.207e-06/1.204, allocations: 2.953 kB / 1.298 GB, free: 20.75 MB / 0.698 GB Notification: Performance of matching and sorting (n=41): time 0.009109/1.213, allocations: 2.442 MB / 1.3 GB, free: 20.14 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.716e-05/1.213, allocations: 60.31 kB / 1.3 GB, free: 20.08 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001047/1.214, allocations: 0.7075 MB / 1.301 GB, free: 19.94 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.044e-05/1.214, allocations: 35.52 kB / 1.301 GB, free: 19.91 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003227/1.214, allocations: 470.4 kB / 1.302 GB, free: 19.69 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001357/1.215, allocations: 144.8 kB / 1.302 GB, free: 19.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.24e-05/1.215, allocations: 7.875 kB / 1.302 GB, free: 19.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002196/1.215, allocations: 389.2 kB / 1.302 GB, free: 19.29 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008978/1.216, allocations: 295.1 kB / 1.302 GB, free: 19.27 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001041/1.217, allocations: 0.5175 MB / 1.303 GB, free: 19 MB / 0.698 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.004448/1.221, allocations: 1.157 MB / 1.304 GB, free: 18.85 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.974e-06/1.221, allocations: 8.625 kB / 1.304 GB, free: 18.85 MB / 0.698 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.003755/1.225, allocations: 1.094 MB / 1.305 GB, free: 18.74 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/1.225, allocations: 7.969 kB / 1.305 GB, free: 18.74 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.476e-05/1.225, allocations: 10.14 kB / 1.305 GB, free: 18.73 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007129/1.226, allocations: 196.5 kB / 1.305 GB, free: 18.72 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008361/1.227, allocations: 183.3 kB / 1.306 GB, free: 18.71 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004953/1.232, allocations: 2.173 MB / 1.308 GB, free: 17.43 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001206/1.233, allocations: 98.39 kB / 1.308 GB, free: 17.41 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.82e-05/1.233, allocations: 32.14 kB / 1.308 GB, free: 17.41 MB / 0.698 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.0005946/1.234, allocations: 288.8 kB / 1.308 GB, free: 17.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001645/1.234, allocations: 90.58 kB / 1.308 GB, free: 17.25 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000207/1.234, allocations: 91.84 kB / 1.308 GB, free: 17.23 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.591e-06/1.234, allocations: 6.031 kB / 1.308 GB, free: 17.23 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/1.234, allocations: 2.625 kB / 1.308 GB, free: 17.23 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003225/1.237, allocations: 0.9161 MB / 1.309 GB, free: 17.03 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006541/1.244, allocations: 2.112 MB / 1.311 GB, free: 16.56 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.691e-06/1.244, allocations: 6.188 kB / 1.311 GB, free: 16.56 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009207/1.245, allocations: 141.6 kB / 1.311 GB, free: 16.55 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007445/1.246, allocations: 194.6 kB / 1.312 GB, free: 16.54 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.58e-05/1.246, allocations: 16.16 kB / 1.312 GB, free: 16.54 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004099/1.25, allocations: 2.034 MB / 1.314 GB, free: 15.26 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.592e-06/1.25, allocations: 4.703 kB / 1.314 GB, free: 15.26 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005043/1.255, allocations: 1.457 MB / 1.315 GB, free: 14.93 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000547/1.255, allocations: 222.4 kB / 1.315 GB, free: 14.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001353/1.256, allocations: 17.41 kB / 1.315 GB, free: 14.79 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001012/1.257, allocations: 92.41 kB / 1.315 GB, free: 14.79 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/1.257, allocations: 47.2 kB / 1.315 GB, free: 14.77 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.297e-05/1.257, allocations: 23.95 kB / 1.315 GB, free: 14.77 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007551/1.258, allocations: 495.1 kB / 1.316 GB, free: 14.68 MB / 0.698 GB Notification: Performance of sort global known variables: time 8.26e-07/1.258, allocations: 0 / 1.316 GB, free: 14.68 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001166/1.259, allocations: 245.7 kB / 1.316 GB, free: 14.68 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.U,volDyn.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004987/1.259, allocations: 201.5 kB / 1.316 GB, free: 14.58 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002922/1.262, allocations: 0.9129 MB / 1.317 GB, free: 14.43 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.725e-06/1.262, allocations: 2.969 kB / 1.317 GB, free: 14.43 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001128/1.263, allocations: 465.7 kB / 1.318 GB, free: 14.31 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002916/1.266, allocations: 483.2 kB / 1.318 GB, free: 14.28 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005091/1.271, allocations: 2.325 MB / 1.32 GB, free: 13.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008468/1.272, allocations: 1.073 MB / 1.321 GB, free: 12.49 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001133/1.273, allocations: 198.5 kB / 1.322 GB, free: 12.44 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002368/1.274, allocations: 63.38 kB / 1.322 GB, free: 12.43 MB / 0.698 GB Notification: Performance of SimCode: time 1.473e-06/1.274, allocations: 0 / 1.322 GB, free: 12.43 MB / 0.698 GB Notification: Performance of Templates: time 0.03824/1.312, allocations: 16.97 MB / 1.338 GB, free: 7.383 MB / 0.698 GB