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.001327/0.001327, allocations: 102.2 kB / 16.27 MB, free: 6 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.001914/0.001914, allocations: 191 kB / 17.2 MB, free: 5.609 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.316/1.316, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002144/0.002144, allocations: 283.5 kB / 291.3 MB, free: 14.54 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.935/0.935, allocations: 169.3 MB / 0.4988 GB, free: 4.469 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002083/0.002083, allocations: 90.77 kB / 0.5959 GB, free: 15.15 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1664/0.1685, allocations: 86.98 MB / 0.6808 GB, free: 8.172 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.3022/0.4708, allocations: 26.25 MB / 0.7065 GB, free: 3.055 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01024/0.4811, allocations: 7.133 MB / 0.7134 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001411/0.4825, allocations: 35.69 kB / 0.7135 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001152/0.4837, allocations: 388.2 kB / 0.7138 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003345/0.4871, allocations: 1.107 MB / 0.7149 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002771/0.4899, allocations: 0.9491 MB / 0.7158 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003207/0.4931, allocations: 2.091 MB / 0.7179 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001201/0.4943, allocations: 0.6117 MB / 0.7185 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00213/0.4964, allocations: 0.726 MB / 0.7192 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00114/0.4976, allocations: 0.5352 MB / 0.7197 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002038/0.4978, allocations: 58.59 kB / 0.7198 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002212/0.5, allocations: 0.8075 MB / 0.7206 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003041/0.5004, allocations: 166 kB / 0.7207 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007626/0.5011, allocations: 386.1 kB / 0.7211 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002785/0.5039, allocations: 1.202 MB / 0.7223 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.5039, allocations: 0.9844 kB / 0.7223 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.465e-06/0.5039, allocations: 5.531 kB / 0.7223 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.378e-05/0.504, allocations: 0 / 0.7223 GB, free: 9.688 MB / 0.4981 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.002638/0.5066, allocations: 1.051 MB / 0.7233 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.5067, allocations: 9.625 kB / 0.7233 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000429/0.5071, allocations: 86.36 kB / 0.7234 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001403/0.5085, allocations: 0.6931 MB / 0.7241 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.679e-05/0.5086, allocations: 40.61 kB / 0.7241 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.52e-05/0.5087, allocations: 49.67 kB / 0.7241 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009052/0.5096, allocations: 0.4952 MB / 0.7246 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.381e-05/0.5096, allocations: 13.06 kB / 0.7246 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.151e-05/0.5097, allocations: 17.75 kB / 0.7247 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.043e-05/0.5097, allocations: 20.39 kB / 0.7247 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006113/0.5103, allocations: 323.3 kB / 0.725 GB, free: 7.984 MB / 0.4981 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.003205/0.5135, allocations: 2.763 MB / 0.7277 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003268/0.5139, allocations: 191.6 kB / 0.7279 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001471/0.514, allocations: 98.78 kB / 0.728 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003223/0.5144, allocations: 340 kB / 0.7283 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.997e-05/0.5144, allocations: 41.34 kB / 0.7283 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=22): time 2.184e-06/0.5144, allocations: 4 kB / 0.7283 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of matching and sorting (n=22): time 0.0006365/0.5151, allocations: 305.3 kB / 0.7286 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/0.5151, allocations: 53.53 kB / 0.7287 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007298/0.5159, allocations: 0.5274 MB / 0.7292 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.589e-05/0.5159, allocations: 32.42 kB / 0.7292 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003529/0.5163, allocations: 350 kB / 0.7296 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/0.5164, allocations: 82.81 kB / 0.7296 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001789/0.5166, allocations: 78.12 kB / 0.7297 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002092/0.5168, allocations: 365.4 kB / 0.7301 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000179/0.517, allocations: 95.05 kB / 0.7301 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002761/0.5173, allocations: 223.8 kB / 0.7304 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004294/0.5177, allocations: 339.2 kB / 0.7307 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.561e-06/0.5177, allocations: 1.594 kB / 0.7307 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.000678/0.5184, allocations: 389.5 kB / 0.7311 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.5185, allocations: 7.344 kB / 0.7311 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.5185, allocations: 4.531 kB / 0.7311 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/0.5185, allocations: 6 kB / 0.7311 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002855/0.5188, allocations: 81.23 kB / 0.7312 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.678e-05/0.5188, allocations: 11.5 kB / 0.7312 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004529/0.5193, allocations: 43.95 kB / 0.7312 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.704e-05/0.5193, allocations: 14.64 kB / 0.7312 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003524/0.5197, allocations: 247.7 kB / 0.7315 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000254/0.5199, allocations: 243 kB / 0.7317 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004032/0.5204, allocations: 338.5 kB / 0.732 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.406e-06/0.5204, allocations: 1.469 kB / 0.732 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0006468/0.521, allocations: 383.6 kB / 0.7324 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.521, allocations: 10.84 kB / 0.7324 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.521, allocations: 4.844 kB / 0.7324 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.416e-06/0.5211, allocations: 6.875 kB / 0.7324 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002449/0.5213, allocations: 79.12 kB / 0.7325 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.263e-05/0.5213, allocations: 11.11 kB / 0.7325 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004163/0.5218, allocations: 35.22 kB / 0.7325 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.046e-05/0.5218, allocations: 18.83 kB / 0.7325 GB, free: 2.32 MB / 0.4981 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.0001804/0.522, allocations: 215.4 kB / 0.7327 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001441/0.5221, allocations: 57.88 kB / 0.7328 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005322/0.5227, allocations: 280.6 kB / 0.7331 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.227e-06/0.5227, allocations: 2.562 kB / 0.7331 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.5227, allocations: 4.875 kB / 0.7331 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003749/0.5231, allocations: 387.2 kB / 0.7334 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001666/0.5248, allocations: 1.062 MB / 0.7345 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.8e-06/0.5248, allocations: 2.312 kB / 0.7345 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002124/0.525, allocations: 50.12 kB / 0.7345 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.367e-06/0.525, allocations: 7.031 kB / 0.7345 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.27e-05/0.525, allocations: 8.875 kB / 0.7345 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.384e-06/0.5251, allocations: 7.969 kB / 0.7345 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.5251, allocations: 2.531 kB / 0.7346 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007089/0.5258, allocations: 0.5264 MB / 0.7351 GB, free: 280 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002757/0.5261, allocations: 172.2 kB / 0.7352 GB, free: 116 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001225/0.5262, allocations: 8.594 kB / 0.7352 GB, free: 112 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003884/0.5266, allocations: 18.77 kB / 0.7353 GB, free: 100 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.499e-05/0.5266, allocations: 20.98 kB / 0.7353 GB, free: 88 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-05/0.5267, allocations: 19.98 kB / 0.7353 GB, free: 80 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005658/0.5273, allocations: 412.3 kB / 0.7357 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.563e-06/0.5273, allocations: 0 / 0.7357 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001285/0.5286, allocations: 351.2 kB / 0.736 GB, free: 15.75 MB / 0.5137 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.0008309/0.5294, allocations: 310.2 kB / 0.7363 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007984/0.5302, allocations: 423.1 kB / 0.7367 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.5302, allocations: 0 / 0.7367 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001656/0.5304, allocations: 108.5 kB / 0.7368 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001875/0.5323, allocations: 383.7 kB / 0.7372 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001954/0.5342, allocations: 1.124 MB / 0.7383 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005269/0.5348, allocations: 0.8905 MB / 0.7392 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001749/0.535, allocations: 59.42 kB / 0.7392 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of SimCode: time 3.4e-07/0.535, allocations: 3.938 kB / 0.7392 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of Templates: time 0.01899/0.554, allocations: 10.84 MB / 0.7498 GB, free: 7.941 MB / 0.5137 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)