Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 106.8 kB / 16.41 MB, free: 6.5 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.001238/0.001238, allocations: 185.6 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00219/0.00219, allocations: 284.2 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9547/0.9547, allocations: 169.2 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002043/0.002043, allocations: 99.84 kB / 0.6821 GB, free: 6.926 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4534/0.4554, allocations: 86.97 MB / 0.767 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.03257/0.488, allocations: 26.26 MB / 0.7927 GB, free: 9.551 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01138/0.4994, allocations: 7.139 MB / 0.7997 GB, free: 2.391 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001561/0.5011, allocations: 31.81 kB / 0.7997 GB, free: 2.359 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001326/0.5024, allocations: 389.5 kB / 0.8001 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003361/0.5058, allocations: 1.11 MB / 0.8011 GB, free: 0.8633 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00273/0.5086, allocations: 0.9618 MB / 0.8021 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003009/0.5116, allocations: 2.092 MB / 0.8041 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001062/0.5127, allocations: 0.6249 MB / 0.8047 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002163/0.5149, allocations: 0.745 MB / 0.8055 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001136/0.516, allocations: 0.5405 MB / 0.806 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002208/0.5162, allocations: 56 kB / 0.806 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001973/0.5182, allocations: 0.8188 MB / 0.8068 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002957/0.5185, allocations: 167.4 kB / 0.807 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006224/0.5192, allocations: 382.1 kB / 0.8074 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002351/0.5215, allocations: 1.214 MB / 0.8085 GB, free: 9.262 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.5215, allocations: 0 / 0.8085 GB, free: 9.262 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5216, allocations: 0 / 0.8085 GB, free: 9.262 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.463e-05/0.5216, allocations: 0 / 0.8085 GB, free: 9.262 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.001847/0.5234, allocations: 1.055 MB / 0.8096 GB, free: 8.156 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.5235, allocations: 8.031 kB / 0.8096 GB, free: 8.148 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003999/0.5239, allocations: 87.98 kB / 0.8097 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001392/0.5253, allocations: 0.7451 MB / 0.8104 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.735e-05/0.5254, allocations: 36.94 kB / 0.8104 GB, free: 7.238 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.708e-05/0.5254, allocations: 47.94 kB / 0.8105 GB, free: 7.191 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008876/0.5263, allocations: 0.4962 MB / 0.811 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/0.5264, allocations: 3.938 kB / 0.811 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.508e-05/0.5264, allocations: 23.98 kB / 0.811 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.049e-05/0.5265, allocations: 16 kB / 0.811 GB, free: 6.625 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005583/0.527, allocations: 315.7 kB / 0.8113 GB, free: 6.312 MB / 0.5762 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.003182/0.5302, allocations: 2.748 MB / 0.814 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003315/0.5306, allocations: 202.4 kB / 0.8142 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001453/0.5307, allocations: 97.75 kB / 0.8143 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003505/0.5311, allocations: 344.5 kB / 0.8146 GB, free: 2.605 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.759e-05/0.5311, allocations: 42.88 kB / 0.8146 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=22): time 3.025e-06/0.5311, allocations: 0 / 0.8146 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of matching and sorting (n=22): time 0.0006538/0.5318, allocations: 302.8 kB / 0.8149 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/0.5318, allocations: 55.41 kB / 0.815 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006561/0.5325, allocations: 0.5341 MB / 0.8155 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.726e-05/0.5326, allocations: 37.64 kB / 0.8155 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002623/0.5328, allocations: 339.4 kB / 0.8159 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.632e-05/0.5329, allocations: 78.91 kB / 0.8159 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001254/0.5331, allocations: 77.61 kB / 0.816 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.5332, allocations: 358.8 kB / 0.8164 GB, free: 0.7422 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001702/0.5334, allocations: 100.8 kB / 0.8165 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002673/0.5337, allocations: 229.9 kB / 0.8167 GB, free: 360 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004594/0.5341, allocations: 342.3 kB / 0.817 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.5341, allocations: 4 kB / 0.817 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0006663/0.5348, allocations: 399.7 kB / 0.8174 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.5349, allocations: 8 kB / 0.8174 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.5349, allocations: 4 kB / 0.8174 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/0.5349, allocations: 4 kB / 0.8174 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002919/0.5352, allocations: 71.91 kB / 0.8175 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.825e-05/0.5352, allocations: 12.47 kB / 0.8175 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004076/0.5356, allocations: 51.52 kB / 0.8175 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.476e-05/0.5357, allocations: 20 kB / 0.8176 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000324/0.536, allocations: 244 kB / 0.8178 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002675/0.5363, allocations: 239.3 kB / 0.818 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004194/0.5367, allocations: 335.2 kB / 0.8183 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.317e-06/0.5367, allocations: 0 / 0.8183 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0006126/0.5373, allocations: 388.5 kB / 0.8187 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.5374, allocations: 8 kB / 0.8187 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.5374, allocations: 4 kB / 0.8187 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.443e-06/0.5374, allocations: 4.562 kB / 0.8187 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002305/0.5376, allocations: 79.84 kB / 0.8188 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.454e-05/0.5376, allocations: 15.88 kB / 0.8188 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003642/0.538, allocations: 31.83 kB / 0.8188 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.778e-05/0.5381, allocations: 16 kB / 0.8189 GB, free: 13.93 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (44): * Single equations (assignments): 44 * 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.0001344/0.5382, allocations: 204.1 kB / 0.819 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001278/0.5383, allocations: 59.25 kB / 0.8191 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000466/0.5388, allocations: 279.9 kB / 0.8194 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.387e-06/0.5388, allocations: 7.938 kB / 0.8194 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.5388, allocations: 0 / 0.8194 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003524/0.5392, allocations: 384 kB / 0.8197 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001466/0.5407, allocations: 1.067 MB / 0.8208 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.5407, allocations: 7.938 kB / 0.8208 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002081/0.5409, allocations: 47.98 kB / 0.8208 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.105e-05/0.5409, allocations: 7.984 kB / 0.8208 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.127e-05/0.5409, allocations: 4 kB / 0.8209 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.145e-06/0.541, allocations: 7.938 kB / 0.8209 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.541, allocations: 0 / 0.8209 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000667/0.5416, allocations: 0.5185 MB / 0.8214 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002241/0.5419, allocations: 168.4 kB / 0.8215 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.89e-05/0.542, allocations: 8 kB / 0.8215 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003759/0.5423, allocations: 23.89 kB / 0.8216 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.284e-05/0.5424, allocations: 24 kB / 0.8216 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.784e-05/0.5424, allocations: 20.05 kB / 0.8216 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004496/0.5429, allocations: 411.1 kB / 0.822 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5429, allocations: 0 / 0.822 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001052/0.544, allocations: 351.3 kB / 0.8223 GB, free: 10.14 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (vol.dynBal.U,vol1.dynBal.U) * 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 (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.000678/0.5446, allocations: 312 kB / 0.8226 GB, free: 9.84 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006609/0.5453, allocations: 412.8 kB / 0.823 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.5453, allocations: 3.938 kB / 0.823 GB, free: 9.438 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001581/0.5455, allocations: 103.8 kB / 0.8231 GB, free: 9.336 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001752/0.5473, allocations: 369.1 kB / 0.8235 GB, free: 8.984 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001719/0.549, allocations: 1.109 MB / 0.8246 GB, free: 7.812 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000467/0.5495, allocations: 0.8902 MB / 0.8254 GB, free: 6.895 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001567/0.5496, allocations: 63.42 kB / 0.8255 GB, free: 6.832 MB / 0.5919 GB Notification: Performance of SimCode: time 7.52e-07/0.5496, allocations: 3.938 kB / 0.8255 GB, free: 6.828 MB / 0.5919 GB Notification: Performance of Templates: time 0.01816/0.5678, allocations: 10.91 MB / 0.8361 GB, free: 12.05 MB / 0.6075 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe 2>&1)