Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.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.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001642/0.001642, allocations: 100.7 kB / 16.27 MB, free: 6.422 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.001916/0.001916, allocations: 190.1 kB / 17.2 MB, free: 5.949 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.356/1.356, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.735/1.735, allocations: 292.3 MB / 0.5495 GB, free: 17.78 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.001423/0.001423, allocations: 71.89 kB / 0.6721 GB, free: 6.523 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2201/0.2215, allocations: 114.6 MB / 0.784 GB, free: 3.855 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolume): time 0.6336/0.8551, allocations: 242.4 MB / 1.021 GB, free: 7.859 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0223/0.8775, allocations: 15.8 MB / 1.036 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002748/0.8803, allocations: 75.56 kB / 1.036 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.003472/0.8838, allocations: 1.173 MB / 1.037 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.009807/0.8937, allocations: 3.811 MB / 1.041 GB, free: 2.945 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.004999/0.8987, allocations: 1.793 MB / 1.043 GB, free: 1.16 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.007664/0.9063, allocations: 5.217 MB / 1.048 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002717/0.9091, allocations: 1.661 MB / 1.05 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006085/0.9152, allocations: 2.6 MB / 1.052 GB, free: 7.621 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003914/0.9192, allocations: 1.696 MB / 1.054 GB, free: 5.934 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0005905/0.9198, allocations: 176 kB / 1.054 GB, free: 5.762 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00596/0.9258, allocations: 2.709 MB / 1.057 GB, free: 3.047 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001218/0.927, allocations: 0.7713 MB / 1.057 GB, free: 2.273 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.002011/0.929, allocations: 1.139 MB / 1.058 GB, free: 1.129 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.006536/0.9356, allocations: 3.517 MB / 1.062 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.9356, allocations: 0 / 1.062 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.493e-06/0.9357, allocations: 0 / 1.062 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.155e-05/0.9357, allocations: 0 / 1.062 GB, free: 13.6 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 363 * Number of variables: 363 Notification: Performance of Generate backend data structure: time 0.004878/0.9406, allocations: 2.497 MB / 1.064 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.9407, allocations: 12.03 kB / 1.064 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003034/0.9437, allocations: 0.497 MB / 1.065 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002336/0.9461, allocations: 1.273 MB / 1.066 GB, free: 9.211 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001634/0.9463, allocations: 170.2 kB / 1.066 GB, free: 9.031 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002317/0.9465, allocations: 152 kB / 1.066 GB, free: 8.883 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002845/0.9494, allocations: 1.737 MB / 1.068 GB, free: 7.07 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.604e-05/0.9494, allocations: 7.844 kB / 1.068 GB, free: 7.062 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001408/0.9496, allocations: 60 kB / 1.068 GB, free: 7.004 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.412e-05/0.9497, allocations: 66.69 kB / 1.068 GB, free: 6.938 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002518/0.9522, allocations: 1.373 MB / 1.07 GB, free: 5.559 MB / 0.8575 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.01003/0.9622, allocations: 8.232 MB / 1.078 GB, free: 12.63 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001486/0.9638, allocations: 0.903 MB / 1.078 GB, free: 11.72 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008368/0.9646, allocations: 0.5419 MB / 1.079 GB, free: 11.18 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006147/0.9652, allocations: 320.5 kB / 1.079 GB, free: 10.81 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.527e-05/0.9653, allocations: 47.5 kB / 1.079 GB, free: 10.75 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=96): time 2.815e-06/0.9653, allocations: 4 kB / 1.079 GB, free: 10.75 MB / 0.8731 GB Notification: Performance of matching and sorting (n=102): time 0.007475/0.9728, allocations: 3.114 MB / 1.082 GB, free: 7.582 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.647e-05/0.9729, allocations: 60.41 kB / 1.082 GB, free: 7.512 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001536/0.9744, allocations: 1.25 MB / 1.084 GB, free: 6.254 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001263/0.9746, allocations: 53.69 kB / 1.084 GB, free: 6.195 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005768/0.9751, allocations: 0.8092 MB / 1.084 GB, free: 5.379 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003229/0.9755, allocations: 366.8 kB / 1.085 GB, free: 5.016 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003141/0.9758, allocations: 226.8 kB / 1.085 GB, free: 4.789 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.9759, allocations: 349.9 kB / 1.085 GB, free: 4.441 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008212/0.9768, allocations: 441.9 kB / 1.086 GB, free: 4.008 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001059/0.9778, allocations: 0.8274 MB / 1.087 GB, free: 3.012 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001898/0.9797, allocations: 1.256 MB / 1.088 GB, free: 1.629 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.912e-06/0.9798, allocations: 4 kB / 1.088 GB, free: 1.625 MB / 0.8731 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002589/0.9824, allocations: 1.406 MB / 1.089 GB, free: 216 kB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.868e-05/0.9824, allocations: 8.938 kB / 1.089 GB, free: 208 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.606e-05/0.9824, allocations: 12 kB / 1.089 GB, free: 196 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.949e-05/0.9825, allocations: 12 kB / 1.089 GB, free: 184 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001173/0.9836, allocations: 279.7 kB / 1.09 GB, free: 15.9 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.8e-05/0.9837, allocations: 19.94 kB / 1.09 GB, free: 15.88 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001498/0.9852, allocations: 78.34 kB / 1.09 GB, free: 15.81 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.69e-05/0.9853, allocations: 53.75 kB / 1.09 GB, free: 15.76 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001377/0.9867, allocations: 0.764 MB / 1.09 GB, free: 14.99 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001037/0.9877, allocations: 0.8196 MB / 1.091 GB, free: 14 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001834/0.9896, allocations: 1.229 MB / 1.092 GB, free: 12.65 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.462e-06/0.9896, allocations: 4 kB / 1.092 GB, free: 12.64 MB / 0.8887 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002472/0.9921, allocations: 1.39 MB / 1.094 GB, free: 11.25 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.9921, allocations: 8 kB / 1.094 GB, free: 11.24 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.9921, allocations: 12 kB / 1.094 GB, free: 11.23 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.9921, allocations: 16.06 kB / 1.094 GB, free: 11.21 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001105/0.9933, allocations: 275.6 kB / 1.094 GB, free: 10.94 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.05e-05/0.9933, allocations: 19.94 kB / 1.094 GB, free: 10.92 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001404/0.9947, allocations: 71.94 kB / 1.094 GB, free: 10.85 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.686e-05/0.9948, allocations: 48 kB / 1.094 GB, free: 10.8 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 4 (vol.regularFlow[1],vol.regularFlow[2],vol.inFlow[2],vol.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 150 * 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.0003616/0.9952, allocations: 275.8 kB / 1.094 GB, free: 10.53 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000296/0.9955, allocations: 169.9 kB / 1.095 GB, free: 10.36 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002201/0.9977, allocations: 1.149 MB / 1.096 GB, free: 9.207 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.859e-06/0.9977, allocations: 8 kB / 1.096 GB, free: 9.199 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.9977, allocations: 4 kB / 1.096 GB, free: 9.195 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001596/0.9993, allocations: 1.083 MB / 1.097 GB, free: 8.062 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004707/1.004, allocations: 2.766 MB / 1.1 GB, free: 5.215 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/1.004, allocations: 7.969 kB / 1.1 GB, free: 5.207 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001216/1.005, allocations: 243.7 kB / 1.1 GB, free: 4.969 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.612e-05/1.005, allocations: 15.92 kB / 1.1 GB, free: 4.953 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.267e-05/1.005, allocations: 20 kB / 1.1 GB, free: 4.934 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.051e-05/1.005, allocations: 8 kB / 1.1 GB, free: 4.926 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/1.005, allocations: 3.938 kB / 1.1 GB, free: 4.922 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003223/1.009, allocations: 1.812 MB / 1.102 GB, free: 3.07 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008778/1.01, allocations: 342.8 kB / 1.102 GB, free: 2.719 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002011/1.01, allocations: 20 kB / 1.102 GB, free: 2.699 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/1.011, allocations: 59.94 kB / 1.102 GB, free: 2.641 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001403/1.011, allocations: 60.91 kB / 1.102 GB, free: 2.582 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.061e-05/1.011, allocations: 39.98 kB / 1.102 GB, free: 2.543 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001152/1.012, allocations: 0.8345 MB / 1.103 GB, free: 1.711 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.6e-07/1.012, allocations: 0 / 1.103 GB, free: 1.711 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.002055/1.014, allocations: 0.7617 MB / 1.104 GB, free: 0.9492 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],vol.medium.Xi[1],vol.medium.T,vol.m,vol2.dynBal.U,vol2.dynBal.m,vol2.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 (102): * Single equations (assignments): 102 * 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 Backend phase and start with SimCode phase: time 0.0006062/1.015, allocations: 279.7 kB / 1.104 GB, free: 0.6797 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.004006/1.019, allocations: 1.993 MB / 1.106 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/1.019, allocations: 4 kB / 1.106 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0009145/1.02, allocations: 0.5181 MB / 1.106 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004387/1.024, allocations: 0.9257 MB / 1.107 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006304/1.031, allocations: 3.556 MB / 1.111 GB, free: 9.738 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001054/1.032, allocations: 1.424 MB / 1.112 GB, free: 8.281 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005742/1.032, allocations: 139.4 kB / 1.112 GB, free: 8.145 MB / 0.9044 GB Notification: Performance of SimCode: time 1.422e-06/1.032, allocations: 0 / 1.112 GB, free: 8.145 MB / 0.9044 GB Notification: Performance of Templates: time 0.4263/1.459, allocations: 26.48 MB / 1.138 GB, free: 304.2 MB / 0.92 GB make -j1 -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.makefile (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.sim & ./Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)