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.001082/0.001082, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001295/0.001295, allocations: 192.2 kB / 16.25 MB, free: 6.629 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.627/1.627, allocations: 205.1 MB / 222.1 MB, free: 4.672 MB / 174.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.721/1.721, allocations: 292.2 MB / 0.5485 GB, free: 13.67 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.002137/0.002137, allocations: 61.59 kB / 0.671 GB, free: 26.46 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2751/0.2772, allocations: 114.5 MB / 0.7828 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolume): time 0.8515/1.129, allocations: 239.8 MB / 1.017 GB, free: 2.207 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02835/1.157, allocations: 15.76 MB / 1.032 GB, free: 8.281 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005665/1.163, allocations: 71.62 kB / 1.032 GB, free: 8.25 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.004859/1.168, allocations: 1.051 MB / 1.033 GB, free: 7.68 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.01429/1.182, allocations: 3.586 MB / 1.037 GB, free: 5.262 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.006726/1.189, allocations: 1.635 MB / 1.039 GB, free: 4.082 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.01081/1.2, allocations: 5.236 MB / 1.044 GB, free: 1.129 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004691/1.205, allocations: 1.62 MB / 1.045 GB, free: 100 kB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009459/1.214, allocations: 2.599 MB / 1.048 GB, free: 14.57 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005924/1.22, allocations: 1.802 MB / 1.05 GB, free: 13.55 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.001184/1.221, allocations: 175 kB / 1.05 GB, free: 13.55 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008575/1.23, allocations: 2.831 MB / 1.052 GB, free: 12 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.001935/1.232, allocations: 0.7759 MB / 1.053 GB, free: 11.47 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.003668/1.236, allocations: 1.146 MB / 1.054 GB, free: 10.75 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.01083/1.246, allocations: 3.716 MB / 1.058 GB, free: 8.363 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 1.118e-05/1.247, allocations: 0 / 1.058 GB, free: 8.363 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.013e-06/1.247, allocations: 6.531 kB / 1.058 GB, free: 8.359 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0002148/1.247, allocations: 0 / 1.058 GB, free: 8.359 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: 363 * Number of variables: 363 Notification: Performance of Generate backend data structure: time 0.008609/1.255, allocations: 2.493 MB / 1.06 GB, free: 6.566 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.294e-05/1.255, allocations: 10.09 kB / 1.06 GB, free: 6.566 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003601/1.259, allocations: 0.4998 MB / 1.061 GB, free: 6.336 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003779/1.263, allocations: 1.254 MB / 1.062 GB, free: 5.27 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002989/1.263, allocations: 182.2 kB / 1.062 GB, free: 5.078 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003427/1.264, allocations: 148 kB / 1.062 GB, free: 4.934 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004173/1.268, allocations: 1.749 MB / 1.064 GB, free: 3.109 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.286e-05/1.268, allocations: 0 / 1.064 GB, free: 3.109 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001773/1.268, allocations: 64 kB / 1.064 GB, free: 3.047 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001043/1.268, allocations: 62.62 kB / 1.064 GB, free: 2.984 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002933/1.271, allocations: 1.377 MB / 1.066 GB, free: 1.602 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.01442/1.286, allocations: 8.16 MB / 1.074 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001729/1.287, allocations: 0.9068 MB / 1.074 GB, free: 7.824 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009477/1.288, allocations: 0.5302 MB / 1.075 GB, free: 7.293 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007049/1.289, allocations: 324.5 kB / 1.075 GB, free: 6.922 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.806e-05/1.289, allocations: 47.5 kB / 1.075 GB, free: 6.867 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=96): time 3.978e-06/1.289, allocations: 3.938 kB / 1.075 GB, free: 6.863 MB / 0.7794 GB Notification: Performance of matching and sorting (n=102): time 0.008841/1.298, allocations: 3.104 MB / 1.078 GB, free: 3.707 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.728e-05/1.298, allocations: 64.41 kB / 1.078 GB, free: 3.633 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002105/1.3, allocations: 1.25 MB / 1.08 GB, free: 2.371 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001677/1.3, allocations: 49.7 kB / 1.08 GB, free: 2.316 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007343/1.301, allocations: 0.8131 MB / 1.081 GB, free: 1.496 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004231/1.301, allocations: 362.7 kB / 1.081 GB, free: 1.137 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003688/1.302, allocations: 226.8 kB / 1.081 GB, free: 0.9102 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001967/1.302, allocations: 353.9 kB / 1.081 GB, free: 0.5586 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008656/1.303, allocations: 445.8 kB / 1.082 GB, free: 124 kB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001202/1.304, allocations: 0.8275 MB / 1.083 GB, free: 15.12 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002227/1.306, allocations: 1.252 MB / 1.084 GB, free: 13.74 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.546e-06/1.306, allocations: 4 kB / 1.084 GB, free: 13.73 MB / 0.795 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.003327/1.31, allocations: 1.401 MB / 1.085 GB, free: 12.33 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.715e-05/1.31, allocations: 10.66 kB / 1.085 GB, free: 12.32 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.19e-05/1.31, allocations: 8.875 kB / 1.085 GB, free: 12.31 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.287e-05/1.31, allocations: 16 kB / 1.085 GB, free: 12.3 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001253/1.311, allocations: 287.5 kB / 1.086 GB, free: 12.02 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.213e-05/1.311, allocations: 16.8 kB / 1.086 GB, free: 12 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002303/1.314, allocations: 166.5 kB / 1.086 GB, free: 11.84 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001078/1.314, allocations: 52 kB / 1.086 GB, free: 11.79 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001583/1.315, allocations: 0.764 MB / 1.087 GB, free: 11.02 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001259/1.317, allocations: 0.8235 MB / 1.087 GB, free: 10.03 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002131/1.319, allocations: 1.237 MB / 1.089 GB, free: 8.668 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.221e-05/1.319, allocations: 4 kB / 1.089 GB, free: 8.664 MB / 0.795 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002978/1.322, allocations: 1.382 MB / 1.09 GB, free: 7.27 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.6e-05/1.322, allocations: 11.98 kB / 1.09 GB, free: 7.258 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.941e-05/1.322, allocations: 14.48 kB / 1.09 GB, free: 7.246 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.326e-05/1.322, allocations: 12.81 kB / 1.09 GB, free: 7.234 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001149/1.323, allocations: 271.6 kB / 1.09 GB, free: 6.969 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.228e-05/1.323, allocations: 23.92 kB / 1.09 GB, free: 6.945 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002215/1.325, allocations: 163.6 kB / 1.09 GB, free: 6.785 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001284/1.325, allocations: 56 kB / 1.09 GB, free: 6.73 MB / 0.795 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.0004354/1.326, allocations: 270.6 kB / 1.091 GB, free: 6.461 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005083/1.326, allocations: 162 kB / 1.091 GB, free: 6.301 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002528/1.329, allocations: 1.144 MB / 1.092 GB, free: 5.148 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.54e-05/1.329, allocations: 16 kB / 1.092 GB, free: 5.133 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/1.329, allocations: 0.875 kB / 1.092 GB, free: 5.133 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001818/1.331, allocations: 1.079 MB / 1.093 GB, free: 4.004 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006199/1.337, allocations: 2.789 MB / 1.096 GB, free: 1.133 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.607e-06/1.337, allocations: 0 / 1.096 GB, free: 1.133 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001253/1.338, allocations: 247.7 kB / 1.096 GB, free: 0.8906 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.005e-05/1.338, allocations: 7.938 kB / 1.096 GB, free: 0.8828 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001032/1.338, allocations: 28.86 kB / 1.096 GB, free: 0.8555 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.525e-05/1.338, allocations: 11.94 kB / 1.096 GB, free: 0.8438 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/1.338, allocations: 0 / 1.096 GB, free: 0.8438 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003383/1.342, allocations: 1.812 MB / 1.098 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001106/1.343, allocations: 334.9 kB / 1.098 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004658/1.343, allocations: 27.98 kB / 1.098 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001771/1.345, allocations: 137.1 kB / 1.098 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001847/1.345, allocations: 64.91 kB / 1.098 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001015/1.345, allocations: 35.98 kB / 1.098 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001454/1.347, allocations: 0.8383 MB / 1.099 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/1.347, allocations: 0 / 1.099 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003029/1.35, allocations: 0.7617 MB / 1.1 GB, free: 12.79 MB / 0.8106 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.0008723/1.351, allocations: 275.1 kB / 1.1 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.004676/1.356, allocations: 1.997 MB / 1.102 GB, free: 10.53 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.324e-05/1.356, allocations: 4 kB / 1.102 GB, free: 10.53 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0009738/1.357, allocations: 0.5148 MB / 1.103 GB, free: 10.01 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005158/1.362, allocations: 0.9225 MB / 1.104 GB, free: 9.113 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008337/1.37, allocations: 4.153 MB / 1.108 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001549/1.372, allocations: 1.441 MB / 1.109 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.002829/1.375, allocations: 0.5521 MB / 1.11 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005683/1.375, allocations: 131.4 kB / 1.11 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of SimCode: time 7.11e-07/1.375, allocations: 0 / 1.11 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of Templates: time 0.0609/1.436, allocations: 30.98 MB / 1.14 GB, free: 4.227 MB / 0.8419 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)