Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 107.2 kB / 16.35 MB, free: 5.879 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 192.9 kB / 17.29 MB, free: 5.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.415/1.415, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.942/1.942, allocations: 292.3 MB / 0.5496 GB, free: 17.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001706/0.001706, allocations: 63.03 kB / 0.6729 GB, free: 5.867 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2644/0.2661, allocations: 114.6 MB / 0.7848 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass): time 0.648/0.9141, allocations: 177.1 MB / 0.9577 GB, free: 9.035 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.007782/0.9219, allocations: 4.359 MB / 0.962 GB, free: 4.672 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001111/0.9231, allocations: 23.88 kB / 0.962 GB, free: 4.648 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001106/0.9243, allocations: 357.8 kB / 0.9624 GB, free: 4.297 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.003444/0.9277, allocations: 1.252 MB / 0.9636 GB, free: 3.039 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.00199/0.9297, allocations: 0.6897 MB / 0.9643 GB, free: 2.355 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.002227/0.932, allocations: 1.606 MB / 0.9658 GB, free: 0.7461 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000717/0.9327, allocations: 0.5291 MB / 0.9663 GB, free: 220 kB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001271/0.934, allocations: 0.677 MB / 0.967 GB, free: 15.54 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001124/0.9351, allocations: 485.8 kB / 0.9675 GB, free: 15.06 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 9.604e-05/0.9352, allocations: 52 kB / 0.9675 GB, free: 15.01 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002606/0.9378, allocations: 1.29 MB / 0.9688 GB, free: 13.72 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0002634/0.9381, allocations: 235.4 kB / 0.969 GB, free: 13.49 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0003745/0.9385, allocations: 350.4 kB / 0.9693 GB, free: 13.14 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.002141/0.9406, allocations: 1.285 MB / 0.9706 GB, free: 11.86 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.9407, allocations: 4 kB / 0.9706 GB, free: 11.85 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.643e-06/0.9407, allocations: 0 / 0.9706 GB, free: 11.85 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.374e-05/0.9407, allocations: 0 / 0.9706 GB, free: 11.85 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001775/0.9425, allocations: 1.004 MB / 0.9716 GB, free: 10.8 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.9425, allocations: 8.031 kB / 0.9716 GB, free: 10.79 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001111/0.9436, allocations: 171 kB / 0.9718 GB, free: 10.62 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008146/0.9445, allocations: 0.5207 MB / 0.9723 GB, free: 10.06 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.367e-05/0.9445, allocations: 33 kB / 0.9723 GB, free: 10.03 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.597e-05/0.9446, allocations: 44 kB / 0.9723 GB, free: 9.988 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000792/0.9454, allocations: 467.5 kB / 0.9728 GB, free: 9.527 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.9454, allocations: 0 / 0.9728 GB, free: 9.527 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.447e-05/0.9455, allocations: 16 kB / 0.9728 GB, free: 9.512 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.289e-05/0.9455, allocations: 24.98 kB / 0.9728 GB, free: 9.484 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007445/0.9463, allocations: 411.7 kB / 0.9732 GB, free: 9.086 MB / 0.7637 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.002722/0.949, allocations: 2.031 MB / 0.9752 GB, free: 6.871 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004757/0.9495, allocations: 268.3 kB / 0.9755 GB, free: 6.602 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000308/0.9498, allocations: 189.4 kB / 0.9756 GB, free: 6.414 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002821/0.9501, allocations: 194.2 kB / 0.9758 GB, free: 6.188 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.329e-05/0.9501, allocations: 34.56 kB / 0.9758 GB, free: 6.145 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=30): time 1.914e-06/0.9501, allocations: 3.938 kB / 0.9759 GB, free: 6.141 MB / 0.7637 GB Notification: Performance of matching and sorting (n=30): time 0.001634/0.9518, allocations: 0.6437 MB / 0.9765 GB, free: 5.473 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.822e-05/0.9518, allocations: 55.41 kB / 0.9765 GB, free: 5.406 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004787/0.9523, allocations: 447.7 kB / 0.977 GB, free: 4.957 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 3.797e-05/0.9524, allocations: 33.7 kB / 0.977 GB, free: 4.918 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001979/0.9526, allocations: 272.2 kB / 0.9773 GB, free: 4.648 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 9.218e-05/0.9527, allocations: 106.5 kB / 0.9774 GB, free: 4.543 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000113/0.9528, allocations: 61.7 kB / 0.9774 GB, free: 4.477 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.9529, allocations: 354.8 kB / 0.9778 GB, free: 4.121 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002712/0.9532, allocations: 133.7 kB / 0.9779 GB, free: 3.988 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000325/0.9536, allocations: 211.4 kB / 0.9781 GB, free: 3.754 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005533/0.9541, allocations: 331.6 kB / 0.9784 GB, free: 3.414 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.9541, allocations: 0.6875 kB / 0.9784 GB, free: 3.414 MB / 0.7637 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007074/0.9548, allocations: 408.9 kB / 0.9788 GB, free: 3.008 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.9549, allocations: 4 kB / 0.9788 GB, free: 3.004 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.9549, allocations: 4 kB / 0.9788 GB, free: 3 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/0.9549, allocations: 4 kB / 0.9788 GB, free: 2.996 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003611/0.9553, allocations: 67.89 kB / 0.9789 GB, free: 2.93 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/0.9553, allocations: 7.938 kB / 0.9789 GB, free: 2.922 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004584/0.9558, allocations: 40.92 kB / 0.9789 GB, free: 2.883 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.3e-05/0.9558, allocations: 8 kB / 0.9789 GB, free: 2.875 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004309/0.9562, allocations: 292.1 kB / 0.9792 GB, free: 2.586 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002995/0.9566, allocations: 206.2 kB / 0.9794 GB, free: 2.359 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005187/0.9571, allocations: 325 kB / 0.9797 GB, free: 2.023 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.925e-06/0.9571, allocations: 7.75 kB / 0.9797 GB, free: 2.02 MB / 0.7637 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0006548/0.9578, allocations: 405.1 kB / 0.9801 GB, free: 1.617 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.9578, allocations: 11.94 kB / 0.9801 GB, free: 1.605 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.354e-06/0.9578, allocations: 0 / 0.9801 GB, free: 1.605 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.799e-06/0.9578, allocations: 4 kB / 0.9801 GB, free: 1.602 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003082/0.9581, allocations: 71.84 kB / 0.9802 GB, free: 1.531 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.9581, allocations: 4 kB / 0.9802 GB, free: 1.527 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004207/0.9586, allocations: 29.33 kB / 0.9802 GB, free: 1.5 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.875e-05/0.9586, allocations: 15.98 kB / 0.9802 GB, free: 1.484 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001466/0.9587, allocations: 204.3 kB / 0.9804 GB, free: 1.277 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.882e-05/0.9588, allocations: 55.28 kB / 0.9805 GB, free: 1.223 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008432/0.9597, allocations: 407.6 kB / 0.9809 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.253e-06/0.9597, allocations: 11.92 kB / 0.9809 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.9597, allocations: 0 / 0.9809 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006856/0.9604, allocations: 450.4 kB / 0.9813 GB, free: 340 kB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001754/0.9622, allocations: 1.134 MB / 0.9824 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.9622, allocations: 0 / 0.9824 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002954/0.9625, allocations: 63.89 kB / 0.9825 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002263/0.9627, allocations: 51.3 kB / 0.9825 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.759e-05/0.9628, allocations: 9.25 kB / 0.9825 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001263/0.964, allocations: 1.539 MB / 0.984 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.9641, allocations: 6.344 kB / 0.984 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00107/0.9651, allocations: 0.7045 MB / 0.9847 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002152/0.9654, allocations: 160.5 kB / 0.9849 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.509e-05/0.9654, allocations: 8 kB / 0.9849 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003745/0.9658, allocations: 24.05 kB / 0.9849 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.038e-05/0.9659, allocations: 31.84 kB / 0.9849 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.773e-05/0.9659, allocations: 19.98 kB / 0.985 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000346/0.9663, allocations: 307.1 kB / 0.9853 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.5e-07/0.9663, allocations: 0 / 0.9853 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000882/0.9672, allocations: 299.3 kB / 0.9855 GB, free: 11.73 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (vol.dynBal.U,vol.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 (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004621/0.9677, allocations: 194.2 kB / 0.9857 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0009543/0.9686, allocations: 492.1 kB / 0.9862 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.9686, allocations: 0 / 0.9862 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0004836/0.9691, allocations: 289 kB / 0.9865 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001328/0.9705, allocations: 304.6 kB / 0.9868 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001581/0.9721, allocations: 1.063 MB / 0.9878 GB, free: 9.391 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004256/0.9725, allocations: 0.8975 MB / 0.9887 GB, free: 8.465 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0004579/0.973, allocations: 163.8 kB / 0.9888 GB, free: 8.305 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/0.9731, allocations: 39.44 kB / 0.9889 GB, free: 8.266 MB / 0.7794 GB Notification: Performance of SimCode: time 8.52e-07/0.9731, allocations: 4 kB / 0.9889 GB, free: 8.262 MB / 0.7794 GB Notification: Performance of Templates: time 0.0172/0.9903, allocations: 10.23 MB / 0.9989 GB, free: 14.27 MB / 0.795 GB make -j1 -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.makefile (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.sim & ./Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe 2>&1)