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.001225/0.001225, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001466/0.001467, allocations: 194.6 kB / 16.53 MB, free: 6.391 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.508/1.508, allocations: 205.1 MB / 222.4 MB, free: 4.59 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.77/1.77, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.00181/0.00181, allocations: 66.3 kB / 0.6715 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2808/0.2827, allocations: 114.5 MB / 0.7834 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolume): time 0.8759/1.159, allocations: 242.4 MB / 1.02 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02591/1.185, allocations: 15.81 MB / 1.036 GB, free: 15.06 MB / 0.7638 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00516/1.19, allocations: 73.28 kB / 1.036 GB, free: 15.04 MB / 0.7638 GB Notification: Performance of NFTyping.typeComponents: time 0.004745/1.195, allocations: 1.181 MB / 1.037 GB, free: 14.06 MB / 0.7638 GB Notification: Performance of NFTyping.typeBindings: time 0.01342/1.208, allocations: 3.805 MB / 1.04 GB, free: 11.11 MB / 0.7638 GB Notification: Performance of NFTyping.typeClassSections: time 0.005922/1.214, allocations: 1.797 MB / 1.042 GB, free: 9.758 MB / 0.7638 GB Notification: Performance of NFFlatten.flatten: time 0.009322/1.223, allocations: 5.215 MB / 1.047 GB, free: 6.828 MB / 0.7638 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003596/1.227, allocations: 1.664 MB / 1.049 GB, free: 5.773 MB / 0.7638 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007436/1.234, allocations: 2.59 MB / 1.051 GB, free: 4.238 MB / 0.7638 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005438/1.24, allocations: 1.71 MB / 1.053 GB, free: 3.246 MB / 0.7638 GB Notification: Performance of NFPackage.collectConstants: time 0.0009984/1.241, allocations: 175.9 kB / 1.053 GB, free: 3.121 MB / 0.7638 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007806/1.249, allocations: 2.701 MB / 1.056 GB, free: 424 kB / 0.7638 GB Notification: Performance of NFScalarize.scalarize: time 0.001752/1.251, allocations: 0.7673 MB / 1.057 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.003982/1.255, allocations: 1.147 MB / 1.058 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.01055/1.265, allocations: 3.513 MB / 1.061 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.924e-06/1.265, allocations: 0 / 1.061 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.763e-06/1.265, allocations: 4 kB / 1.061 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0001369/1.265, allocations: 0 / 1.061 GB, free: 10.96 MB / 0.7794 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.007546/1.273, allocations: 2.503 MB / 1.064 GB, free: 8.406 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/1.273, allocations: 12.03 kB / 1.064 GB, free: 8.395 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003621/1.277, allocations: 0.497 MB / 1.064 GB, free: 7.895 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00298/1.28, allocations: 1.255 MB / 1.065 GB, free: 6.586 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002068/1.28, allocations: 182.2 kB / 1.066 GB, free: 6.395 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003715/1.28, allocations: 148 kB / 1.066 GB, free: 6.25 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003613/1.284, allocations: 1.744 MB / 1.067 GB, free: 4.434 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.729e-05/1.284, allocations: 7.938 kB / 1.067 GB, free: 4.426 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001715/1.284, allocations: 60 kB / 1.067 GB, free: 4.367 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.606e-05/1.284, allocations: 58.69 kB / 1.068 GB, free: 4.309 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002856/1.287, allocations: 1.377 MB / 1.069 GB, free: 2.926 MB / 0.7794 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.01117/1.298, allocations: 8.242 MB / 1.077 GB, free: 9.98 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001657/1.3, allocations: 0.9007 MB / 1.078 GB, free: 9.07 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000905/1.301, allocations: 0.5302 MB / 1.078 GB, free: 8.539 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007109/1.302, allocations: 328.5 kB / 1.079 GB, free: 8.164 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.099e-05/1.302, allocations: 47.5 kB / 1.079 GB, free: 8.109 MB / 0.795 GB Notification: Performance of pre-optimization done (n=96): time 4.408e-06/1.302, allocations: 0 / 1.079 GB, free: 8.109 MB / 0.795 GB Notification: Performance of matching and sorting (n=102): time 0.00779/1.31, allocations: 3.106 MB / 1.082 GB, free: 4.949 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.69e-05/1.31, allocations: 64.34 kB / 1.082 GB, free: 4.875 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002044/1.312, allocations: 1.254 MB / 1.083 GB, free: 3.613 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001307/1.312, allocations: 49.7 kB / 1.083 GB, free: 3.559 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.000658/1.312, allocations: 0.8092 MB / 1.084 GB, free: 2.742 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004589/1.313, allocations: 366.7 kB / 1.084 GB, free: 2.379 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004525/1.313, allocations: 218.8 kB / 1.084 GB, free: 2.16 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001964/1.314, allocations: 361.9 kB / 1.085 GB, free: 1.801 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009737/1.315, allocations: 441.8 kB / 1.085 GB, free: 1.367 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001353/1.316, allocations: 0.8313 MB / 1.086 GB, free: 376 kB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002286/1.318, allocations: 1.248 MB / 1.087 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.328e-06/1.318, allocations: 4 kB / 1.087 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.003094/1.321, allocations: 1.398 MB / 1.089 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.555e-05/1.321, allocations: 8 kB / 1.089 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.303e-05/1.321, allocations: 12 kB / 1.089 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.68e-05/1.321, allocations: 27.95 kB / 1.089 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0012/1.323, allocations: 271.6 kB / 1.089 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-05/1.323, allocations: 23.92 kB / 1.089 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001704/1.324, allocations: 67.89 kB / 1.089 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001184/1.325, allocations: 55.92 kB / 1.089 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001543/1.326, allocations: 0.7686 MB / 1.09 GB, free: 12.35 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001126/1.327, allocations: 0.8235 MB / 1.091 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00193/1.329, allocations: 1.233 MB / 1.092 GB, free: 10 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.376e-06/1.329, allocations: 4 kB / 1.092 GB, free: 9.996 MB / 0.8106 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002666/1.332, allocations: 1.386 MB / 1.093 GB, free: 8.602 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/1.332, allocations: 11.94 kB / 1.093 GB, free: 8.59 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.519e-05/1.332, allocations: 12.86 kB / 1.093 GB, free: 8.578 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/1.332, allocations: 17.88 kB / 1.093 GB, free: 8.562 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001113/1.333, allocations: 264.2 kB / 1.093 GB, free: 8.305 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.622e-05/1.333, allocations: 27.92 kB / 1.093 GB, free: 8.277 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001561/1.335, allocations: 78.69 kB / 1.094 GB, free: 8.203 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001155/1.335, allocations: 51.94 kB / 1.094 GB, free: 8.152 MB / 0.8106 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.000394/1.335, allocations: 263.8 kB / 1.094 GB, free: 7.887 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004047/1.336, allocations: 162 kB / 1.094 GB, free: 7.727 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00249/1.338, allocations: 1.148 MB / 1.095 GB, free: 6.566 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.261e-05/1.338, allocations: 12 kB / 1.095 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.28e-05/1.338, allocations: 1.688 kB / 1.095 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001816/1.34, allocations: 1.083 MB / 1.096 GB, free: 5.422 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005607/1.346, allocations: 2.777 MB / 1.099 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/1.346, allocations: 0 / 1.099 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001308/1.347, allocations: 251.9 kB / 1.099 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.378e-05/1.347, allocations: 15.88 kB / 1.099 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.721e-05/1.347, allocations: 27.98 kB / 1.099 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.344e-05/1.347, allocations: 8 kB / 1.099 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/1.347, allocations: 3.938 kB / 1.099 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003461/1.351, allocations: 1.797 MB / 1.101 GB, free: 440 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009424/1.352, allocations: 343 kB / 1.101 GB, free: 76 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003333/1.352, allocations: 31.92 kB / 1.101 GB, free: 44 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001188/1.353, allocations: 55.16 kB / 1.101 GB, free: 15.99 MB / 0.8263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001618/1.353, allocations: 64.91 kB / 1.101 GB, free: 15.93 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.474e-05/1.353, allocations: 35.98 kB / 1.101 GB, free: 15.89 MB / 0.8263 GB Notification: Performance of sorting global known variables: time 0.001403/1.355, allocations: 0.8423 MB / 1.102 GB, free: 15.05 MB / 0.8263 GB Notification: Performance of sort global known variables: time 2.6e-07/1.355, allocations: 0 / 1.102 GB, free: 15.05 MB / 0.8263 GB Notification: Performance of remove unused functions: time 0.002498/1.357, allocations: 0.7578 MB / 1.103 GB, free: 14.29 MB / 0.8263 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.0006709/1.358, allocations: 278.5 kB / 1.103 GB, free: 14.02 MB / 0.8263 GB Notification: Performance of simCode: created initialization part: time 0.004587/1.363, allocations: 1.994 MB / 1.105 GB, free: 12.04 MB / 0.8263 GB Notification: Performance of simCode: created event and clocks part: time 1.006e-05/1.363, allocations: 8.062 kB / 1.105 GB, free: 12.03 MB / 0.8263 GB Notification: Performance of simCode: created simulation system equations: time 0.0009649/1.364, allocations: 0.5132 MB / 1.106 GB, free: 11.52 MB / 0.8263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005113/1.369, allocations: 0.9196 MB / 1.107 GB, free: 10.62 MB / 0.8263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006595/1.375, allocations: 3.478 MB / 1.11 GB, free: 7.09 MB / 0.8263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001185/1.377, allocations: 1.445 MB / 1.111 GB, free: 5.609 MB / 0.8263 GB Notification: Performance of simCode: alias equations: time 0.002402/1.379, allocations: 0.5521 MB / 1.112 GB, free: 5.051 MB / 0.8263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000465/1.379, allocations: 127.4 kB / 1.112 GB, free: 4.926 MB / 0.8263 GB Notification: Performance of SimCode: time 1.343e-06/1.379, allocations: 0 / 1.112 GB, free: 4.926 MB / 0.8263 GB Notification: Performance of Templates: time 0.05657/1.436, allocations: 31.27 MB / 1.143 GB, free: 6.129 MB / 0.8575 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)