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.001211/0.001211, allocations: 102.9 kB / 16.29 MB, free: 6.43 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.001309/0.00131, allocations: 187.9 kB / 17.22 MB, free: 5.934 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.52/1.52, allocations: 205.1 MB / 223.1 MB, free: 12.32 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.856/1.856, allocations: 292.3 MB / 0.5495 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.001419/0.001419, allocations: 71.89 kB / 0.6722 GB, free: 6.57 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2561/0.2576, allocations: 114.5 MB / 0.7841 GB, free: 3.902 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass): time 0.6484/0.906, allocations: 177.1 MB / 0.957 GB, free: 9.441 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.008776/0.9148, allocations: 4.366 MB / 0.9613 GB, free: 5.07 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009621/0.9158, allocations: 27.81 kB / 0.9613 GB, free: 5.043 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001137/0.917, allocations: 365.8 kB / 0.9617 GB, free: 4.684 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.003102/0.9201, allocations: 1.245 MB / 0.9629 GB, free: 3.434 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001903/0.9221, allocations: 0.6967 MB / 0.9636 GB, free: 2.742 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.002132/0.9242, allocations: 1.608 MB / 0.9651 GB, free: 1.133 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007453/0.925, allocations: 0.5136 MB / 0.9656 GB, free: 0.6172 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001274/0.9262, allocations: 0.681 MB / 0.9663 GB, free: 15.93 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001086/0.9273, allocations: 496.1 kB / 0.9668 GB, free: 15.45 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 9.861e-05/0.9275, allocations: 56 kB / 0.9668 GB, free: 15.4 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002415/0.9299, allocations: 1.295 MB / 0.9681 GB, free: 14.1 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0002453/0.9301, allocations: 231.4 kB / 0.9683 GB, free: 13.88 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0003585/0.9305, allocations: 346.4 kB / 0.9686 GB, free: 13.54 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.001793/0.9323, allocations: 1.285 MB / 0.9699 GB, free: 12.25 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.9323, allocations: 0 / 0.9699 GB, free: 12.25 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.423e-06/0.9323, allocations: 4 kB / 0.9699 GB, free: 12.24 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 9.368e-06/0.9323, allocations: 0 / 0.9699 GB, free: 12.24 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.001532/0.9339, allocations: 0.9997 MB / 0.9709 GB, free: 11.2 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.9339, allocations: 8.031 kB / 0.9709 GB, free: 11.19 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00105/0.935, allocations: 175 kB / 0.9711 GB, free: 11.02 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007827/0.9358, allocations: 0.5206 MB / 0.9716 GB, free: 10.45 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.027e-05/0.9358, allocations: 40.98 kB / 0.9716 GB, free: 10.41 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.33e-05/0.9359, allocations: 40 kB / 0.9716 GB, free: 10.38 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008149/0.9367, allocations: 470.3 kB / 0.9721 GB, free: 9.91 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.9368, allocations: 0 / 0.9721 GB, free: 9.91 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.753e-05/0.9368, allocations: 18.25 kB / 0.9721 GB, free: 9.895 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.022e-05/0.9369, allocations: 17 kB / 0.9721 GB, free: 9.875 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007736/0.9376, allocations: 419.7 kB / 0.9725 GB, free: 9.469 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.002629/0.9403, allocations: 2.024 MB / 0.9745 GB, free: 7.262 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004702/0.9408, allocations: 275.4 kB / 0.9748 GB, free: 6.984 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003118/0.9411, allocations: 184.8 kB / 0.9749 GB, free: 6.801 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002808/0.9414, allocations: 194.1 kB / 0.9751 GB, free: 6.574 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.382e-05/0.9414, allocations: 38.56 kB / 0.9752 GB, free: 6.527 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=30): time 1.543e-06/0.9414, allocations: 0 / 0.9752 GB, free: 6.527 MB / 0.7637 GB Notification: Performance of matching and sorting (n=30): time 0.001545/0.943, allocations: 0.6399 MB / 0.9758 GB, free: 5.863 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.193e-05/0.943, allocations: 59.34 kB / 0.9758 GB, free: 5.793 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004909/0.9435, allocations: 433.8 kB / 0.9763 GB, free: 5.355 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 3.729e-05/0.9436, allocations: 37.7 kB / 0.9763 GB, free: 5.312 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002091/0.9438, allocations: 280.2 kB / 0.9766 GB, free: 5.035 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 9.146e-05/0.9439, allocations: 102.5 kB / 0.9767 GB, free: 4.934 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001208/0.944, allocations: 69.69 kB / 0.9767 GB, free: 4.859 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001707/0.9442, allocations: 354.8 kB / 0.9771 GB, free: 4.504 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000262/0.9445, allocations: 133.7 kB / 0.9772 GB, free: 4.371 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003169/0.9448, allocations: 203.4 kB / 0.9774 GB, free: 4.145 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005664/0.9454, allocations: 335.5 kB / 0.9777 GB, free: 3.801 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.9454, allocations: 0 / 0.9777 GB, free: 3.801 MB / 0.7637 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006837/0.9461, allocations: 404.8 kB / 0.9781 GB, free: 3.398 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.9461, allocations: 8 kB / 0.9781 GB, free: 3.391 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.9461, allocations: 5.656 kB / 0.9781 GB, free: 3.387 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.9461, allocations: 4 kB / 0.9781 GB, free: 3.383 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003361/0.9465, allocations: 67.91 kB / 0.9782 GB, free: 3.316 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.006e-05/0.9465, allocations: 7.984 kB / 0.9782 GB, free: 3.309 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003932/0.9469, allocations: 35.67 kB / 0.9782 GB, free: 3.273 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.528e-05/0.9469, allocations: 13.62 kB / 0.9782 GB, free: 3.262 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003939/0.9474, allocations: 291.8 kB / 0.9785 GB, free: 2.977 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003012/0.9477, allocations: 212.2 kB / 0.9787 GB, free: 2.742 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005084/0.9482, allocations: 328.9 kB / 0.979 GB, free: 2.402 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.163e-06/0.9482, allocations: 0 / 0.979 GB, free: 2.402 MB / 0.7637 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0006578/0.9489, allocations: 405.1 kB / 0.9794 GB, free: 2 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 9.308e-06/0.9489, allocations: 12.09 kB / 0.9794 GB, free: 1.988 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.384e-06/0.9489, allocations: 0 / 0.9794 GB, free: 1.988 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.38e-06/0.9489, allocations: 4 kB / 0.9794 GB, free: 1.984 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003182/0.9492, allocations: 71.89 kB / 0.9795 GB, free: 1.914 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.9492, allocations: 7.375 kB / 0.9795 GB, free: 1.91 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003814/0.9496, allocations: 29.08 kB / 0.9795 GB, free: 1.883 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.716e-05/0.9497, allocations: 12 kB / 0.9795 GB, free: 1.871 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.0001532/0.9498, allocations: 196.2 kB / 0.9797 GB, free: 1.672 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.556e-05/0.9499, allocations: 59.28 kB / 0.9798 GB, free: 1.613 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008186/0.9507, allocations: 419.5 kB / 0.9802 GB, free: 1.195 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.251e-06/0.9507, allocations: 4 kB / 0.9802 GB, free: 1.191 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.9508, allocations: 0 / 0.9802 GB, free: 1.191 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006875/0.9515, allocations: 456.3 kB / 0.9806 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001729/0.9532, allocations: 1.118 MB / 0.9817 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.738e-06/0.9532, allocations: 4 kB / 0.9817 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002831/0.9535, allocations: 59.91 kB / 0.9818 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002516/0.9538, allocations: 48.81 kB / 0.9818 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.747e-05/0.9538, allocations: 8.219 kB / 0.9818 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00139/0.9552, allocations: 1.547 MB / 0.9833 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.213e-06/0.9552, allocations: 11.61 kB / 0.9833 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001107/0.9563, allocations: 0.7084 MB / 0.984 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002014/0.9565, allocations: 156.4 kB / 0.9842 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.989e-05/0.9566, allocations: 8 kB / 0.9842 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004022/0.957, allocations: 19.98 kB / 0.9842 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.949e-05/0.9571, allocations: 27.97 kB / 0.9842 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-05/0.9571, allocations: 16 kB / 0.9843 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003909/0.9575, allocations: 311.1 kB / 0.9846 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.2e-07/0.9575, allocations: 0 / 0.9846 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000866/0.9584, allocations: 299.3 kB / 0.9848 GB, free: 12.12 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.000455/0.9589, allocations: 201 kB / 0.985 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0009133/0.9598, allocations: 496.6 kB / 0.9855 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.9598, allocations: 0 / 0.9855 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0004783/0.9603, allocations: 287.6 kB / 0.9858 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0013/0.9616, allocations: 313.3 kB / 0.9861 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001638/0.9633, allocations: 1.049 MB / 0.9871 GB, free: 9.785 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005017/0.9638, allocations: 0.9014 MB / 0.988 GB, free: 8.855 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0004473/0.9642, allocations: 162.8 kB / 0.9881 GB, free: 8.695 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.9644, allocations: 39.44 kB / 0.9882 GB, free: 8.656 MB / 0.7794 GB Notification: Performance of SimCode: time 3.61e-07/0.9644, allocations: 3.938 kB / 0.9882 GB, free: 8.652 MB / 0.7794 GB Notification: Performance of Templates: time 0.01887/0.9832, allocations: 10.23 MB / 0.9982 GB, free: 14.67 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 cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe 2>&1)